public class StaticPKIXValidationInformationResolver extends Object implements PKIXValidationInformationResolver
PKIXValidationInformationResolver which always returns a static, fixed set of
information.| コンストラクタと説明 |
|---|
StaticPKIXValidationInformationResolver(List<PKIXValidationInformation> info,
Set<String> names)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Iterable<PKIXValidationInformation> |
resolve(CriteriaSet criteria)
Process the specified criteria and return the resulting instances the the product type
which satisfy the criteria.
|
PKIXValidationInformation |
resolveSingle(CriteriaSet criteria)
Process the specified criteria and return a single instance of the product type
which satisfies the criteria.
|
Set<String> |
resolveTrustedNames(CriteriaSet criteriaSet)
Resolve a set of trusted names associated with the entity indicated by the criteria.
|
boolean |
supportsTrustedNameResolution()
Check whether resolution of trusted names is supported.
|
public StaticPKIXValidationInformationResolver(List<PKIXValidationInformation> info, Set<String> names)
info - list of PKIX validation information to returnnames - set of trusted names to returnpublic Set<String> resolveTrustedNames(CriteriaSet criteriaSet) throws SecurityException, UnsupportedOperationException
resolveTrustedNames インタフェース内 PKIXValidationInformationResolvercriteriaSet - set of criteria used to determine or resolve the trusted namesSecurityException - thrown if there is an error resolving the trusted namesUnsupportedOperationException - thrown if this optional method is not supported by the implementationpublic boolean supportsTrustedNameResolution()
supportsTrustedNameResolution インタフェース内 PKIXValidationInformationResolverpublic Iterable<PKIXValidationInformation> resolve(CriteriaSet criteria) throws SecurityException
resolve インタフェース内 Resolver<PKIXValidationInformation,CriteriaSet>criteria - the criteria to evaluate or processSecurityException - thrown if there is an error processing the specified criteriapublic PKIXValidationInformation resolveSingle(CriteriaSet criteria) throws SecurityException
resolveSingle インタフェース内 Resolver<PKIXValidationInformation,CriteriaSet>criteria - the criteria to evaluate or processSecurityException - thrown if there is an error processing the specified criteriaCopyright © 2012. All Rights Reserved.