public class VPKCRequestBuilder extends DVCSRequestBuilder
requestInformationBuilder| Constructor and Description |
|---|
VPKCRequestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTargetChain(org.bouncycastle.asn1.x509.Extension extension)
Adds a TargetChain representing a single X.509 Extension to the request
|
void |
addTargetChain(TargetChain targetChain)
Adds a X.509 certificate to the request.
|
void |
addTargetChain(X509CertificateHolder cert)
Adds a TargetChain representing a X.509 certificate to the request.
|
DVCSRequest |
build()
Build DVCS request to VPKC service.
|
void |
setRequestTime(java.util.Date requestTime) |
addExtension, createDVCRequest, setDataLocations, setDataLocations, setDVCS, setDVCS, setNonce, setRequesterpublic void addTargetChain(X509CertificateHolder cert)
cert - the certificate to be addedpublic void addTargetChain(org.bouncycastle.asn1.x509.Extension extension)
extension - the extension to be added.public void addTargetChain(TargetChain targetChain)
targetChain - the CertChain object to be added.public void setRequestTime(java.util.Date requestTime)
public DVCSRequest build() throws DVCSException
DVCSException - if an issue occurs during construction.