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 Summary
Modifier and TypeMethodDescriptionaddExtension
(IASN1ObjectIdentifier extensionOID, boolean critical, IASN1Encodable extensionValue) Calls actualaddExtension
method for the wrapped JcaX509v3CertificateBuilder object.build
(IContentSigner contentSigner) Calls actualbuild
method for the wrapped JcaX509v3CertificateBuilder object.
-
Method Details
-
build
Calls actualbuild
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 actualaddExtension
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.
-