org.apache.poi.poifs.crypt.dsig.services
Interface TimeStampServiceValidator


public interface TimeStampServiceValidator

Interface for trust validator of a TSP.

Author:
Frank Cornelis

Method Summary
 void validate(java.util.List<java.security.cert.X509Certificate> certificateChain, RevocationData revocationData)
          Validates the given certificate chain.
 

Method Detail

validate

void validate(java.util.List<java.security.cert.X509Certificate> certificateChain,
              RevocationData revocationData)
              throws java.lang.Exception
Validates the given certificate chain.

Parameters:
certificateChain -
revocationData - the optional data container that should be filled with revocation data that was used to validate the given certificate chain.
Throws:
java.lang.Exception - in case the certificate chain is invalid.


Copyright 2017 The Apache Software Foundation or its licensors, as applicable.