Package com.itextpdf.bouncycastle.cert
Class X509CRLHolderBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.cert.X509CRLHolderBC
-
- All Implemented Interfaces:
IX509CRLHolder
public class X509CRLHolderBC extends java.lang.Object implements IX509CRLHolder
Wrapper class forX509CRLHolder
.
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cert.X509CRLHolder
x509CRLHolder
-
Constructor Summary
Constructors Constructor Description X509CRLHolderBC(org.bouncycastle.cert.X509CRLHolder x509CRLHolder)
Creates new wrapper instance forX509CRLHolder
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.byte[]
getEncoded()
Calls actualgetEncoded
method for the wrapped X509CRLHolder object.org.bouncycastle.cert.X509CRLHolder
getX509CRLHolder()
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method call to the wrapped object.
-
-
-
Method Detail
-
getX509CRLHolder
public org.bouncycastle.cert.X509CRLHolder getX509CRLHolder()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
X509CRLHolder
.
-
getEncoded
public byte[] getEncoded() throws java.io.IOException
Calls actualgetEncoded
method for the wrapped X509CRLHolder object.- Specified by:
getEncoded
in interfaceIX509CRLHolder
- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException
- on encoding error.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-