public static interface X509CertificateValidator.Factory
X509CertificateValidator
.
An instance of this factory type can be used to allow the validator configuration to be determined from public key search criteria and the certificate chain derived for those criteria.
Modifier and Type | Method and Description |
---|---|
X509CertificateValidator |
getValidator(PublicKeyLocator.Criteria criteria,
List<X509Certificate> certificateChain)
Gets a validator appropriate to the given public key criteria and
the certificate chain derived from it.
|
X509CertificateValidator getValidator(PublicKeyLocator.Criteria criteria, List<X509Certificate> certificateChain) throws CertificateValidationException
criteria
- public key criteriacertificateChain
- certificate chainCertificateValidationException
- if a validator cannot be
produced due to an unexpected errorCopyright © 2019. All rights reserved.