Class CPDRequestBuilder

java.lang.Object
org.bouncycastle.dvcs.DVCSRequestBuilder
org.bouncycastle.dvcs.CPDRequestBuilder

public class CPDRequestBuilder extends DVCSRequestBuilder
Builder of DVCSRequests to CPD service (Certify Possession of Data).
  • Constructor Details

    • CPDRequestBuilder

      public CPDRequestBuilder()
  • Method Details

    • build

      public DVCSRequest build(byte[] messageBytes) throws DVCSException
      Build CPD request.
      Parameters:
      messageBytes - - data to be certified
      Returns:
      a DVSCRequest based on the builder's current state and messageBytes.
      Throws:
      DVCSException - on a build issue.