org.opensaml.xml.security.x509
Class BasicPKIXValdiationInformation

java.lang.Object
  extended by org.opensaml.xml.security.x509.BasicPKIXValdiationInformation
All Implemented Interfaces:
PKIXValidationInformation

public class BasicPKIXValdiationInformation
extends java.lang.Object
implements PKIXValidationInformation

Basic implementation of PKIXValidationInformation.


Constructor Summary
BasicPKIXValdiationInformation(java.util.Collection<java.security.cert.X509Certificate> anchors, java.util.Collection<java.security.cert.X509CRL> crls, java.lang.Integer depth)
          Constructor.
 
Method Summary
 java.util.Collection<java.security.cert.X509CRL> getCRLs()
          Gets the CRLs used during PKIX validation.
 java.util.Collection<java.security.cert.X509Certificate> getTrustChain()
          Gets the trust anchors used during PKIX validation.
 java.lang.Integer getVerificationDepth()
          Gets the maximum allowable trust chain verification depth.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPKIXValdiationInformation

public BasicPKIXValdiationInformation(java.util.Collection<java.security.cert.X509Certificate> anchors,
                                      java.util.Collection<java.security.cert.X509CRL> crls,
                                      java.lang.Integer depth)
Constructor.

Parameters:
anchors - certs used as trust anchors during validation
crls - CRLs used during validation
depth - max verification path depth
Method Detail

getCRLs

public java.util.Collection<java.security.cert.X509CRL> getCRLs()
Gets the CRLs used during PKIX validation.

Specified by:
getCRLs in interface PKIXValidationInformation
Returns:
CRLs used during PKIX validation

getTrustChain

public java.util.Collection<java.security.cert.X509Certificate> getTrustChain()
Gets the trust anchors used during PKIX validation.

Specified by:
getTrustChain in interface PKIXValidationInformation
Returns:
trust anchors used during PKIX validation

getVerificationDepth

public java.lang.Integer getVerificationDepth()
Gets the maximum allowable trust chain verification depth.

Specified by:
getVerificationDepth in interface PKIXValidationInformation
Returns:
maximum allowable trust chain verification depth