Package com.itextpdf.bouncycastle.cert
Class X509CRLHolderBC
java.lang.Object
com.itextpdf.bouncycastle.cert.X509CRLHolderBC
- All Implemented Interfaces:
-
IX509CRLHolder
Wrapper class for
X509CRLHolder
.
-
Constructor Summary
ConstructorDescriptionX509CRLHolderBC
(org.bouncycastle.cert.X509CRLHolder x509CRLHolder) Creates new wrapper instance forX509CRLHolder
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.byte[]
Calls actualgetEncoded
method for the wrapped X509CRLHolder object.org.bouncycastle.cert.X509CRLHolder
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
X509CRLHolderBC
public X509CRLHolderBC(org.bouncycastle.cert.X509CRLHolder x509CRLHolder) Creates new wrapper instance forX509CRLHolder
.- Parameters:
-
x509CRLHolder
-X509CRLHolder
to be wrapped
-
-
Method Details
-
getX509CRLHolder
public org.bouncycastle.cert.X509CRLHolder getX509CRLHolder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
X509CRLHolder
.
-
getEncoded
Calls actualgetEncoded
method for the wrapped X509CRLHolder object.- Specified by:
-
getEncoded
in interfaceIX509CRLHolder
- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-
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.
-