Top Description Fields Constructors Methods
org.bouncycastle.dvcs

public Class VPKCRequestBuilder

extends DVCSRequestBuilder
Class Inheritance
Imports
java.util.ArrayList, .Date, .List, org.bouncycastle.asn1.dvcs.CertEtcToken, .DVCSRequestInformationBuilder, .DVCSTime, .Data, .ServiceType, .TargetEtcChain, org.bouncycastle.asn1.x509.Extension, org.bouncycastle.cert.X509CertificateHolder

Builder of DVC requests to VPKC service (Verify Public Key Certificates).

Field Summary

Modifier and TypeField and Description
private List<E>
Inherited from org.bouncycastle.dvcs.DVCSRequestBuilder:
requestInformationBuilder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addTargetChain(X509CertificateHolder
the certificate to be added
cert
)

Adds a TargetChain representing a X.509 certificate to the request.

public void
addTargetChain(Extension
the extension to be added.
extension
)

Adds a TargetChain representing a single X.509 Extension to the request

public void
addTargetChain(TargetChain
the CertChain object to be added.
targetChain
)

Adds a X.509 certificate to the request.

public DVCSRequest

Returns:

a new DVCSRequest based on the state of this builder.
build
()

Build DVCS request to VPKC service.

public void
setRequestTime(Date requestTime)

Inherited from org.bouncycastle.dvcs.DVCSRequestBuilder:
addExtensioncreateDVCRequestsetDataLocationssetDataLocationssetDVCSsetDVCSsetNoncesetRequester

Field Detail

chainsback to summary
private List<E> chains

Constructor Detail

VPKCRequestBuilderback to summary
public VPKCRequestBuilder()

Method Detail

addTargetChainback to summary
public void addTargetChain(X509CertificateHolder cert)

Adds a TargetChain representing a X.509 certificate to the request.

Parameters
cert:X509CertificateHolder

the certificate to be added

addTargetChainback to summary
public void addTargetChain(Extension extension)

Adds a TargetChain representing a single X.509 Extension to the request

Parameters
extension:Extension

the extension to be added.

addTargetChainback to summary
public void addTargetChain(TargetChain targetChain)

Adds a X.509 certificate to the request.

Parameters
targetChain:TargetChain

the CertChain object to be added.

buildback to summary
public DVCSRequest build() throws DVCSException

Build DVCS request to VPKC service.

Returns:DVCSRequest

a new DVCSRequest based on the state of this builder.

Exceptions
DVCSException:
if an issue occurs during construction.
setRequestTimeback to summary
public void setRequestTime(Date requestTime)