org.opensaml.xml.security.x509
Interface PKIXTrustEvaluator
- All Known Implementing Classes:
- CertPathPKIXTrustEvaluator
public interface PKIXTrustEvaluator
An interface for classes which evaluate an X509Credential
against a set of trusted
PKIXValidationInformation
, using PKIX validation rules.
validate
boolean validate(PKIXValidationInformation validationInfo,
X509Credential untrustedCredential)
throws SecurityException
- Validate the specified credential against the specified set of trusted validation information.
- Parameters:
validationInfo
- the set of trusted validation informationuntrustedCredential
- the credential being evaluated
- Returns:
- true if the credential can be successfully evaluated, false otherwise
- Throws:
SecurityException
- thrown if there is an error evaluating the credential
Copyright © 2006-2008 Internet2. All Rights Reserved.