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 Object
implements PKIXValidationInformation

Basic implementation of PKIXValidationInformation.


Field Summary
private  Collection<X509Certificate> trustAnchors
          Certs used as the trust anchors.
private  Collection<X509CRL> trustedCRLs
          CRLs used during validation.
private  Integer verificationDepth
          Max verification depth during PKIX validation.
 
Constructor Summary
BasicPKIXValidationInformation(Collection<X509Certificate> anchors, Collection<X509CRL> crls, Integer depth)
          Constructor.
 
Method Summary
 Collection<X509Certificate> getCertificates()
          Gets the certificate trust anchors used during PKIX validation.
 Collection<X509CRL> getCRLs()
          Gets the CRLs used during PKIX validation.
 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
 

Field Detail

trustAnchors

private Collection<X509Certificate> trustAnchors
Certs used as the trust anchors.


trustedCRLs

private Collection<X509CRL> trustedCRLs
CRLs used during validation.


verificationDepth

private Integer verificationDepth
Max verification depth during PKIX validation.

Constructor Detail

BasicPKIXValidationInformation

public BasicPKIXValidationInformation(Collection<X509Certificate> anchors,
                                      Collection<X509CRL> crls,
                                      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 Collection<X509CRL> getCRLs()
Gets the CRLs used during PKIX validation.

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

getCertificates

public Collection<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 Integer getVerificationDepth()
Gets the maximum allowable trust chain verification depth.

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


Copyright © 1999-2013. All Rights Reserved.