Class VPKCRequestBuilder

java.lang.Object
org.bouncycastle.dvcs.DVCSRequestBuilder
org.bouncycastle.dvcs.VPKCRequestBuilder

public class VPKCRequestBuilder extends DVCSRequestBuilder
Builder of DVC requests to VPKC service (Verify Public Key Certificates).
  • Constructor Details

    • VPKCRequestBuilder

      public VPKCRequestBuilder()
  • Method Details

    • addTargetChain

      public void addTargetChain(X509CertificateHolder cert)
      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

      public void addTargetChain(TargetChain targetChain)
      Adds a X.509 certificate to the request.
      Parameters:
      targetChain - the CertChain object to be added.
    • setRequestTime

      public void setRequestTime(Date requestTime)
    • build

      public DVCSRequest build() throws DVCSException
      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.