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 DVCSRequestBuilder
requestInformationBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTargetChain(org.bouncycastle.asn1.x509.Extension extension) Adds a TargetChain representing a single X.509 Extension to the requestvoidAdds a TargetChain representing a X.509 certificate to the request.voidaddTargetChain(TargetChain targetChain) Adds a X.509 certificate to the request.build()Build DVCS request to VPKC service.voidsetRequestTime(Date requestTime) Methods inherited from class 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.
-