public class ExplicitX509CertificateTrustEvaluator extends Object
X509Credential.getEntityCertificate()) matches one of the trusted certificates
supplied.| Constructor and Description |
|---|
ExplicitX509CertificateTrustEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(X509Certificate untrustedCertificate,
Iterable<X509Certificate> trustedCertificates)
Evaluate trust.
|
boolean |
validate(X509Certificate untrustedCertificate,
X509Certificate trustedCertificate)
Evaluate trust.
|
boolean |
validate(X509Credential untrustedCredential,
Iterable<Credential> trustedCredentials)
Evaluate trust.
|
boolean |
validate(X509Credential untrustedCredential,
X509Credential trustedCredential)
Evaluate trust.
|
private final Logger log
public ExplicitX509CertificateTrustEvaluator()
public boolean validate(@Nonnull X509Certificate untrustedCertificate, @Nonnull X509Certificate trustedCertificate)
untrustedCertificate - the untrusted certificate to evaluatetrustedCertificate - basis for trustpublic boolean validate(@Nonnull X509Certificate untrustedCertificate, @Nonnull Iterable<X509Certificate> trustedCertificates)
untrustedCertificate - the untrusted certificate to evaluatetrustedCertificates - basis for trustpublic boolean validate(@Nonnull X509Credential untrustedCredential, @Nonnull X509Credential trustedCredential)
untrustedCredential - the untrusted X509Credential to evaluatetrustedCredential - basis for trustpublic boolean validate(@Nonnull X509Credential untrustedCredential, @Nonnull Iterable<Credential> trustedCredentials)
untrustedCredential - the untrusted X509Credential to evaluatetrustedCredentials - basis for trustCopyright © 1999–2015. All rights reserved.