xades4j.providers.impl
Class ValidationDataFromCertValidationProvider

java.lang.Object
  extended by xades4j.providers.impl.ValidationDataFromCertValidationProvider
All Implemented Interfaces:
ValidationDataProvider

public class ValidationDataFromCertValidationProvider
extends Object
implements ValidationDataProvider

An implementation of ValidationDataProvider that obtains the validation data by validating the certificate.

Author:
Luís

Constructor Summary
ValidationDataFromCertValidationProvider(CertificateValidationProvider certificateValidationProvider)
           
 
Method Summary
 ValidationData getValidationData(List<X509Certificate> certChainFragment)
          Gets the validation data that should be used to validate a certificate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationDataFromCertValidationProvider

public ValidationDataFromCertValidationProvider(CertificateValidationProvider certificateValidationProvider)
Method Detail

getValidationData

public ValidationData getValidationData(List<X509Certificate> certChainFragment)
                                 throws ValidationDataException
Description copied from interface: ValidationDataProvider
Gets the validation data that should be used to validate a certificate.

Specified by:
getValidationData in interface ValidationDataProvider
Parameters:
certChainFragment - the certificate that should be validated and possibly other certificates that are known to belong to the certification path
Returns:
the validation data
Throws:
ValidationDataException - if the validation data cannot be obtained


Copyright © 2012. All Rights Reserved.