public class ExplicitX509CertificateTrustEvaluator extends Object
X509Credential.getEntityCertificate()
) matches one of the trusted certificates
supplied.コンストラクタと説明 |
---|
ExplicitX509CertificateTrustEvaluator() |
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
public boolean validate(X509Certificate untrustedCertificate, X509Certificate trustedCertificate)
untrustedCertificate
- the untrusted certificate to evaluatetrustedCertificate
- basis for trustpublic boolean validate(X509Certificate untrustedCertificate, Iterable<X509Certificate> trustedCertificates)
untrustedCertificate
- the untrusted certificate to evaluatetrustedCertificates
- basis for trustpublic boolean validate(X509Credential untrustedCredential, X509Credential trustedCredential)
untrustedCredential
- the untrusted X509Credential to evaluatetrustedCredential
- basis for trustpublic boolean validate(X509Credential untrustedCredential, Iterable<Credential> trustedCredentials)
untrustedCredential
- the untrusted X509Credential to evaluatetrustedCredentials
- basis for trustCopyright © 2012. All Rights Reserved.