Package org.bouncycastle.dvcs
Class VPKCRequestBuilder
java.lang.Object
org.bouncycastle.dvcs.DVCSRequestBuilder
org.bouncycastle.dvcs.VPKCRequestBuilder
Builder of DVC requests to VPKC service (Verify Public Key Certificates).
-
Field Summary
Fields inherited from class org.bouncycastle.dvcs.DVCSRequestBuilder
requestInformationBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTargetChain
(org.bouncycastle.asn1.x509.Extension extension) Adds a TargetChain representing a single X.509 Extension to the requestvoid
Adds a TargetChain representing a X.509 certificate to the request.void
addTargetChain
(TargetChain targetChain) Adds a X.509 certificate to the request.build()
Build DVCS request to VPKC service.void
setRequestTime
(Date requestTime) Methods inherited from class org.bouncycastle.dvcs.DVCSRequestBuilder
addExtension, createDVCRequest, setDataLocations, setDataLocations, setDVCS, setDVCS, setNonce, setRequester
-
Constructor Details
-
VPKCRequestBuilder
public VPKCRequestBuilder()
-
-
Method Details
-
addTargetChain
Adds a TargetChain representing a X.509 certificate to the request.- Parameters:
cert
- the certificate to be added
-
addTargetChain
public void addTargetChain(org.bouncycastle.asn1.x509.Extension extension) Adds a TargetChain representing a single X.509 Extension to the request- Parameters:
extension
- the extension to be added.
-
addTargetChain
Adds a X.509 certificate to the request.- Parameters:
targetChain
- the CertChain object to be added.
-
setRequestTime
-
build
Build DVCS request to VPKC service.- Returns:
- a new DVCSRequest based on the state of this builder.
- Throws:
DVCSException
- if an issue occurs during construction.
-