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).
  • Constructor Details

    • VSDRequestBuilder

      public VSDRequestBuilder()
  • Method Details

    • setRequestTime

      public void setRequestTime(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.