org.opensaml.xml.security.x509
Class BasicPKIXValidationInformation

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

public class BasicPKIXValidationInformation
extends java.lang.Object
implements PKIXValidationInformation

Basic implementation of PKIXValidationInformation.


Constructor Summary
BasicPKIXValidationInformation(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.X509Certificate> getCertificates()
          Gets the certificate trust anchors used during PKIX validation.
 java.util.Collection<java.security.cert.X509CRL> getCRLs()
          Gets the CRLs 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

BasicPKIXValidationInformation

public BasicPKIXValidationInformation(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

getCertificates

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

Specified by:
getCertificates 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


Copyright © 2006-2010 Internet2. All Rights Reserved.