Top Description Fields Constructors Methods
org.bouncycastle.dvcs

public abstract Class DVCSRequestBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.dvcs.VPKCRequestBuilder, org.bouncycastle.dvcs.VSDRequestBuilder, org.bouncycastle.dvcs.CCPDRequestBuilder, org.bouncycastle.dvcs.CPDRequestBuilder
Imports
java.io.IOException, java.math.BigInteger, org.bouncycastle.asn1.ASN1Encodable, .ASN1ObjectIdentifier, org.bouncycastle.asn1.cms.ContentInfo, org.bouncycastle.asn1.dvcs.DVCSObjectIdentifiers, .DVCSRequestInformationBuilder, .Data, org.bouncycastle.asn1.x509.ExtensionsGenerator, .GeneralName, .GeneralNames, org.bouncycastle.cms.CMSSignedDataGenerator

Common base class for client DVCRequest builders. This class aims at DVCSRequestInformation and TransactionIdentifier construction, and its subclasses - for Data field construction (as it is specific for the requested service).

Field Summary

Modifier and TypeField and Description
private final ExtensionsGenerator
protected final DVCSRequestInformationBuilder
private final CMSSignedDataGenerator

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public void
addExtension(ASN1ObjectIdentifier
the OID defining the extension type.
oid
,
boolean
true if the extension is critical, false otherwise.
isCritical
,
ASN1Encodable
the ASN.1 structure that forms the extension's value.
value
)

Add a given extension field.

protected DVCSRequest
public void
setDataLocations(GeneralName dataLocation)

Set data location to generated requests.

public void
setDataLocations(GeneralNames dataLocations)

Set data location to generated requests.

public void
setDVCS(GeneralName dvcs)

Set DVCS name to generated requests.

public void
setDVCS(GeneralNames dvcs)

Set DVCS name to generated requests.

public void
setNonce(BigInteger nonce)

Set a nonce for this request,

public void
setRequester(GeneralName requester)

Set requester name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

extGeneratorback to summary
private final ExtensionsGenerator extGenerator
requestInformationBuilderback to summary
protected final DVCSRequestInformationBuilder requestInformationBuilder
signedDataGenback to summary
private final CMSSignedDataGenerator signedDataGen

Constructor Detail

DVCSRequestBuilderback to summary
protected DVCSRequestBuilder(DVCSRequestInformationBuilder requestInformationBuilder)

Method Detail

addExtensionback to summary
public void addExtension(ASN1ObjectIdentifier oid, boolean isCritical, ASN1Encodable value) throws DVCSException

Add a given extension field.

Parameters
oid:ASN1ObjectIdentifier

the OID defining the extension type.

isCritical:boolean

true if the extension is critical, false otherwise.

value:ASN1Encodable

the ASN.1 structure that forms the extension's value.

Exceptions
DVCSException:
if there is an issue encoding the extension for adding.
createDVCRequestback to summary
protected DVCSRequest createDVCRequest(Data data) throws DVCSException
setDataLocationsback to summary
public void setDataLocations(GeneralName dataLocation)

Set data location to generated requests.

setDataLocationsback to summary
public void setDataLocations(GeneralNames dataLocations)

Set data location to generated requests.

setDVCSback to summary
public void setDVCS(GeneralName dvcs)

Set DVCS name to generated requests.

setDVCSback to summary
public void setDVCS(GeneralNames dvcs)

Set DVCS name to generated requests.

setNonceback to summary
public void setNonce(BigInteger nonce)

Set a nonce for this request,

setRequesterback to summary
public void setRequester(GeneralName requester)

Set requester name.