Package 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).
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.dvcs.DVCSRequestBuilder
requestInformationBuilder
-
-
Constructor Summary
Constructors Constructor Description VSDRequestBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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.
-
-