Interface IX509v2CRLBuilder
-
- All Known Implementing Classes:
X509v2CRLBuilderBC
public interface IX509v2CRLBuilderThis interface represents the wrapper for X509v2CRLBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IX509v2CRLBuilderaddCRLEntry(java.math.BigInteger bigInteger, java.util.Date date, int i)Calls actualaddCRLEntrymethod for the wrapped X509v2CRLBuilder object.IX509v2CRLBuilderaddExtension(IASN1ObjectIdentifier objectIdentifier, boolean isCritical, IASN1Encodable extension)Calls actualaddExtensionmethod for the wrapped X509v2CRLBuilder object.IX509CRLHolderbuild(IContentSigner signer)Calls actualbuildmethod for the wrapped X509v2CRLBuilder object.IX509v2CRLBuildersetNextUpdate(java.util.Date nextUpdate)Calls actualsetNextUpdatemethod for the wrapped X509v2CRLBuilder object.
-
-
-
Method Detail
-
addCRLEntry
IX509v2CRLBuilder addCRLEntry(java.math.BigInteger bigInteger, java.util.Date date, int i)
Calls actualaddCRLEntrymethod for the wrapped X509v2CRLBuilder object.- Parameters:
bigInteger- serial number of revoked certificatedate- date of certificate revocationi- the reason code, as indicated in CRLReason, i.e CRLReason.keyCompromise, or 0 if not to be used- Returns:
IX509v2CRLBuilderthe current wrapper object.
-
addExtension
IX509v2CRLBuilder addExtension(IASN1ObjectIdentifier objectIdentifier, boolean isCritical, IASN1Encodable extension) throws java.io.IOException
Calls actualaddExtensionmethod for the wrapped X509v2CRLBuilder object.- Parameters:
objectIdentifier- extension object identifierisCritical- specifies if extension is critical or notextension- encoded extension value- Returns:
IX509v2CRLBuilderthe current wrapper object.- Throws:
java.io.IOException- if an I/O error occurs.
-
setNextUpdate
IX509v2CRLBuilder setNextUpdate(java.util.Date nextUpdate)
Calls actualsetNextUpdatemethod for the wrapped X509v2CRLBuilder object.- Parameters:
nextUpdate- date of next CRL update- Returns:
IX509v2CRLBuilderthe current wrapper object.
-
build
IX509CRLHolder build(IContentSigner signer)
Calls actualbuildmethod for the wrapped X509v2CRLBuilder object.- Parameters:
signer- ContentSigner wrapper- Returns:
IX509CRLHolderthe wrapper for built X509CRLHolder object.
-
-