|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.trust.ExplicitX509CertificateTrustEvaluator
public class ExplicitX509CertificateTrustEvaluator
Auxillary trust evaluator for evaluating an untrusted X509 certificate or credential against a trusted certificate or
credential. Trust is established if the untrusted certificate supplied (or the certificate obtained from the
untrusted credential's X509Credential.getEntityCertificate()
) matches one of the trusted certificates
supplied.
Constructor Summary | |
---|---|
ExplicitX509CertificateTrustEvaluator()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExplicitX509CertificateTrustEvaluator()
Method Detail |
---|
public boolean validate(X509Certificate untrustedCertificate, X509Certificate trustedCertificate)
untrustedCertificate
- the untrusted certificate to evaluatetrustedCertificate
- basis for trust
public boolean validate(X509Certificate untrustedCertificate, Iterable<X509Certificate> trustedCertificates)
untrustedCertificate
- the untrusted certificate to evaluatetrustedCertificates
- basis for trust
public boolean validate(X509Credential untrustedCredential, X509Credential trustedCredential)
untrustedCredential
- the untrusted X509Credential to evaluatetrustedCredential
- basis for trust
public boolean validate(X509Credential untrustedCredential, Iterable<Credential> trustedCredentials)
untrustedCredential
- the untrusted X509Credential to evaluatetrustedCredentials
- basis for trust
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |