Interface IX509v2CRLBuilder
- All Known Implementing Classes:
-
X509v2CRLBuilderBC
,X509v2CRLBuilderBCFips
public interface IX509v2CRLBuilder
This interface represents the wrapper for X509v2CRLBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionaddCRLEntry
(BigInteger bigInteger, Date date, int i) Calls actualaddCRLEntry
method for the wrapped X509v2CRLBuilder object.addExtension
(IASN1ObjectIdentifier objectIdentifier, boolean isCritical, IASN1Encodable extension) Calls actualaddExtension
method for the wrapped X509v2CRLBuilder object.build
(IContentSigner signer) Calls actualbuild
method for the wrapped X509v2CRLBuilder object.setNextUpdate
(Date nextUpdate) Calls actualsetNextUpdate
method for the wrapped X509v2CRLBuilder object.
-
Method Details
-
addCRLEntry
Calls actualaddCRLEntry
method for the wrapped X509v2CRLBuilder object.- Parameters:
-
bigInteger
- serial number of revoked certificate -
date
- date of certificate revocation -
i
- the reason code, as indicated in CRLReason, i.e CRLReason.keyCompromise, or 0 if not to be used - Returns:
-
IX509v2CRLBuilder
the current wrapper object.
-
addExtension
IX509v2CRLBuilder addExtension(IASN1ObjectIdentifier objectIdentifier, boolean isCritical, IASN1Encodable extension) throws IOException Calls actualaddExtension
method for the wrapped X509v2CRLBuilder object.- Parameters:
-
objectIdentifier
- extension object identifier -
isCritical
- specifies if extension is critical or not -
extension
- encoded extension value - Returns:
-
IX509v2CRLBuilder
the current wrapper object. - Throws:
-
IOException
- if an I/O error occurs.
-
setNextUpdate
Calls actualsetNextUpdate
method for the wrapped X509v2CRLBuilder object.- Parameters:
-
nextUpdate
- date of next CRL update - Returns:
-
IX509v2CRLBuilder
the current wrapper object.
-
build
Calls actualbuild
method for the wrapped X509v2CRLBuilder object.- Parameters:
-
signer
- ContentSigner wrapper - Returns:
-
IX509CRLHolder
the wrapper for built X509CRLHolder object.
-