Class X509v2CRLBuilderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.X509v2CRLBuilderBCFips
- All Implemented Interfaces:
-
IX509v2CRLBuilder
Wrapper class for
X509v2CRLBuilder
.
-
Constructor Summary
ConstructorDescriptionX509v2CRLBuilderBCFips
(IX500Name x500Name, Date date) Creates new wrapper instance forX509v2CRLBuilder
.X509v2CRLBuilderBCFips
(org.bouncycastle.cert.X509v2CRLBuilder builder) Creates new wrapper instance forX509v2CRLBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionaddCRLEntry
(BigInteger bigInteger, Date date, int i) Calls actualaddCRLEntry
method for the wrapped X509v2CRLBuilder object.build
(IContentSigner signer) Calls actualbuild
method for the wrapped X509v2CRLBuilder object.boolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.X509v2CRLBuilder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.setNextUpdate
(Date nextUpdate) Calls actualsetNextUpdate
method for the wrapped X509v2CRLBuilder object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
X509v2CRLBuilderBCFips
public X509v2CRLBuilderBCFips(org.bouncycastle.cert.X509v2CRLBuilder builder) Creates new wrapper instance forX509v2CRLBuilder
.- Parameters:
-
builder
-X509v2CRLBuilder
to be wrapped
-
X509v2CRLBuilderBCFips
Creates new wrapper instance forX509v2CRLBuilder
.- Parameters:
-
x500Name
- X500Name wrapper to createX509v2CRLBuilder
-
date
- Date to createX509v2CRLBuilder
-
-
Method Details
-
getBuilder
public org.bouncycastle.cert.X509v2CRLBuilder getBuilder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
X509v2CRLBuilder
.
-
addCRLEntry
Calls actualaddCRLEntry
method for the wrapped X509v2CRLBuilder object.- Specified by:
-
addCRLEntry
in interfaceIX509v2CRLBuilder
- 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.
-
setNextUpdate
Calls actualsetNextUpdate
method for the wrapped X509v2CRLBuilder object.- Specified by:
-
setNextUpdate
in interfaceIX509v2CRLBuilder
- Parameters:
-
nextUpdate
- date of next CRL update - Returns:
-
IX509v2CRLBuilder
the current wrapper object.
-
build
Calls actualbuild
method for the wrapped X509v2CRLBuilder object.- Specified by:
-
build
in interfaceIX509v2CRLBuilder
- Parameters:
-
signer
- ContentSigner wrapper - Returns:
-
IX509CRLHolder
the wrapper for built X509CRLHolder object.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-