xades4j.providers
Class ValidationData

java.lang.Object
  extended by xades4j.providers.ValidationData

public class ValidationData
extends Object

Container of validation data (certificates and corresponding CRLs).

Contains the full certification chain, starting with the signing certificate and endind with the trust-anchor.

Author:
Luís

Constructor Summary
ValidationData(List<X509Certificate> certs)
           
ValidationData(List<X509Certificate> certs, Collection<X509CRL> crls)
           
 
Method Summary
 List<X509Certificate> getCerts()
           
 Collection<X509CRL> getCrls()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationData

public ValidationData(List<X509Certificate> certs,
                      Collection<X509CRL> crls)
Parameters:
crls - the CRLs used to validate the certificates in certs. Might be null.
Throws:
NullPointerException - if certs is null
IllegalArgumentException - if certs is empty

ValidationData

public ValidationData(List<X509Certificate> certs)
Method Detail

getCerts

public List<X509Certificate> getCerts()

getCrls

public Collection<X509CRL> getCrls()


Copyright © 2012. All Rights Reserved.