Interface IJcaX509v3CertificateBuilder
- All Known Implementing Classes:
JcaX509v3CertificateBuilderBC
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 Summary
Modifier and TypeMethodDescriptionaddExtension(IASN1ObjectIdentifier extensionOID, boolean critical, IASN1Encodable extensionValue) Calls actualaddExtensionmethod for the wrapped JcaX509v3CertificateBuilder object.build(IContentSigner contentSigner) Calls actualbuildmethod for the wrapped JcaX509v3CertificateBuilder object.
-
Method Details
-
build
Calls actualbuildmethod 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 actualaddExtensionmethod for the wrapped JcaX509v3CertificateBuilder object.- Parameters:
extensionOID- wrapper for the OID defining the extension typecritical- true if the extension is critical, false otherwiseextensionValue- wrapped ASN.1 structure that forms the extension's value- Returns:
IJcaX509v3CertificateBuilderthis wrapper object.- Throws:
AbstractCertIOException- CertIOException wrapper.
-