VSDRequestBuilder (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

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 and Description
    `VSDRequestBuilder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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`

    - ### 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.