Interface IJcaX509v3CertificateBuilder

All Known Implementing Classes:
JcaX509v3CertificateBuilderBC, JcaX509v3CertificateBuilderBCFips

public interface IJcaX509v3CertificateBuilder
This interface represents the wrapper for JcaX509v3CertificateBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Details

    • build

      IX509CertificateHolder build (IContentSigner contentSigner)
      Calls actual build method for the wrapped JcaX509v3CertificateBuilder object.
      Parameters:
      contentSigner - ContentSigner wrapper
      Returns:
      {IX509CertificateHolder} wrapper for built X509CertificateHolder object.
    • addExtension

      IJcaX509v3CertificateBuilder addExtension (IASN1ObjectIdentifier extensionOID, boolean critical, IASN1Encodable extensionValue) throws AbstractCertIOException
      Calls actual addExtension method for the wrapped JcaX509v3CertificateBuilder object.
      Parameters:
      extensionOID - wrapper for the OID defining the extension type
      critical - true if the extension is critical, false otherwise
      extensionValue - wrapped ASN.1 structure that forms the extension's value
      Returns:
      IJcaX509v3CertificateBuilder this wrapper object.
      Throws:
      AbstractCertIOException - CertIOException wrapper.