public class CertPathPKIXTrustEvaluator
extends org.opensaml.xml.security.x509.CertPathPKIXTrustEvaluator
Constructor and Description |
---|
CertPathPKIXTrustEvaluator() |
CertPathPKIXTrustEvaluator(org.opensaml.xml.security.x509.PKIXValidationOptions newOptions) |
Modifier and Type | Method and Description |
---|---|
void |
setSecurityProvider(String provider)
Sets security provider used to instantiate CertPathBuilder and CertPathValidator instances from the
CertPathBuilder and CertPathValidator factories.
|
void |
setValidateCertPath(boolean validateCertPath)
Flag indicating whether to execute additional certificate path validation using the java.security.cert.CertPathValidator
factory.
|
boolean |
validate(org.opensaml.xml.security.x509.PKIXValidationInformation validationInfo,
org.opensaml.xml.security.x509.X509Credential untrustedCredential) |
addCRLsToStoreMaterial, buildCertStore, buildTrustAnchor, getEffectiveVerificationDepth, getPKIXBuilderParameters, getPKIXValidationOptions, getTrustAnchors, getX500DNHandler, setPKIXValidationOptions, setX500DNHandler, storeContainsCRLs
public CertPathPKIXTrustEvaluator()
public CertPathPKIXTrustEvaluator(org.opensaml.xml.security.x509.PKIXValidationOptions newOptions)
public boolean validate(org.opensaml.xml.security.x509.PKIXValidationInformation validationInfo, org.opensaml.xml.security.x509.X509Credential untrustedCredential) throws org.opensaml.xml.security.SecurityException
validate
in interface org.opensaml.xml.security.x509.PKIXTrustEvaluator
validate
in class org.opensaml.xml.security.x509.CertPathPKIXTrustEvaluator
org.opensaml.xml.security.SecurityException
public void setSecurityProvider(String provider)
provider
- name of the security provider (e.g. BC for BouncyCastle)public void setValidateCertPath(boolean validateCertPath)
validateCertPath
- flag indicating usage of the CertPathValidator.