xades4j.providers
Interface SignaturePolicyDocumentProvider


public interface SignaturePolicyDocumentProvider

Provider of signature policy documents. This is used to verify XAdES-EPES. By default, no policies are supported, which means that if a SignaturePolicyDocumentProvider is not supplied, the verification of XAdES-EPES (and only those) will fail.

Author:
Luís
See Also:
XadesVerificationProfile

Method Summary
 InputStream getSignaturePolicyDocumentStream(ObjectIdentifier sigPolicyId)
          Gets a stream to the a policy document
 

Method Detail

getSignaturePolicyDocumentStream

InputStream getSignaturePolicyDocumentStream(ObjectIdentifier sigPolicyId)
Gets a stream to the a policy document

Parameters:
sigPolicyId - the identifier of the signature policy
Returns:
the policy document stream or null if not available


Copyright © 2012. All Rights Reserved.