Bouncy Castle Cryptography Library 1.60

org.bouncycastle.dvcs
Class VSDRequestBuilder

java.lang.Object
  |
  +--org.bouncycastle.dvcs.DVCSRequestBuilder
        |
        +--org.bouncycastle.dvcs.VSDRequestBuilder

public class VSDRequestBuilder
extends DVCSRequestBuilder

Builder of DVCS requests to VSD service (Verify Signed Document).


Fields inherited from class org.bouncycastle.dvcs.DVCSRequestBuilder
requestInformationBuilder
 
Constructor Summary
VSDRequestBuilder()
           
 
Method Summary
 DVCSRequest build(CMSSignedData document)
          Build VSD request from CMS SignedData object.
 void setRequestTime(java.util.Date requestTime)
           
 
Methods inherited from class org.bouncycastle.dvcs.DVCSRequestBuilder
addExtension, createDVCRequest, setDataLocations, setDataLocations, setDVCS, setDVCS, setNonce, setRequester
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VSDRequestBuilder

public VSDRequestBuilder()
Method Detail

setRequestTime

public void setRequestTime(java.util.Date requestTime)

build

public DVCSRequest build(CMSSignedData document)
                  throws DVCSException
Build VSD request from CMS SignedData object.
Parameters:
document - the CMS SignedData to include in the request.
Returns:
a new DVCSRequest based on the state of this builder.
Throws:
DVCSException - if an issue occurs during construction.

Bouncy Castle Cryptography Library 1.60