Bouncy Castle Cryptography Library 1.60

org.bouncycastle.dvcs
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).


Fields inherited from class org.bouncycastle.dvcs.DVCSRequestBuilder
requestInformationBuilder
 
Constructor Summary
CPDRequestBuilder()
           
 
Method Summary
 DVCSRequest build(byte[] messageBytes)
          Build CPD request.
 
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

CPDRequestBuilder

public CPDRequestBuilder()
Method Detail

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.

Bouncy Castle Cryptography Library 1.60