xades4j.verification
Class SignatureSpecificVerificationOptions

java.lang.Object
  extended by xades4j.verification.SignatureSpecificVerificationOptions

public class SignatureSpecificVerificationOptions
extends Object

Represents verification options that are specific to a signature, i.e., options that are not profile-wide.

Defaults are:

Author:
Luís
See Also:
XadesVerifier

Constructor Summary
SignatureSpecificVerificationOptions()
           
 
Method Summary
 SignatureSpecificVerificationOptions useBaseUri(String baseUri)
          Sets the base URI to be used when resolving all/b> the relative references.
 SignatureSpecificVerificationOptions useDataForAnonymousReference(byte[] data)
          Sets the data to be used to resolve and verify a null URI ds:Reference, if present.
 SignatureSpecificVerificationOptions useDataForAnonymousReference(InputStream data)
          Sets the input stream to be used to resolve and verify a null URI ds:Reference, if present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureSpecificVerificationOptions

public SignatureSpecificVerificationOptions()
Method Detail

useBaseUri

public SignatureSpecificVerificationOptions useBaseUri(String baseUri)
Sets the base URI to be used when resolving all/b> the relative references. Fragment references (starting with '#') are not afected.

Parameters:
baseUri - the references' base uri
Returns:
the current instance

useDataForAnonymousReference

public SignatureSpecificVerificationOptions useDataForAnonymousReference(InputStream data)
Sets the input stream to be used to resolve and verify a null URI ds:Reference, if present. The stream is not closed.

Parameters:
data - the input stream
Returns:
the current instance

useDataForAnonymousReference

public SignatureSpecificVerificationOptions useDataForAnonymousReference(byte[] data)
Sets the data to be used to resolve and verify a null URI ds:Reference, if present.

Parameters:
data - the data
Returns:
the current instance


Copyright © 2012. All Rights Reserved.