Package com.itextpdf.bouncycastle.cert
Class X509CertificateHolderBC
java.lang.Object
com.itextpdf.bouncycastle.cert.X509CertificateHolderBC
- All Implemented Interfaces:
-
IX509CertificateHolder
- Direct Known Subclasses:
-
JcaX509CertificateHolderBC
Wrapper class for
X509CertificateHolder
.
-
Constructor Summary
ConstructorDescriptionX509CertificateHolderBC
(byte[] bytes) Creates new wrapper instance forX509CertificateHolder
.X509CertificateHolderBC
(org.bouncycastle.cert.X509CertificateHolder certificateHolder) Creates new wrapper instance forX509CertificateHolder
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.X509CertificateHolder
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
-
X509CertificateHolderBC
public X509CertificateHolderBC(org.bouncycastle.cert.X509CertificateHolder certificateHolder) Creates new wrapper instance forX509CertificateHolder
.- Parameters:
-
certificateHolder
-X509CertificateHolder
to be wrapped
-
X509CertificateHolderBC
Creates new wrapper instance forX509CertificateHolder
.- Parameters:
-
bytes
- bytes array to createX509CertificateHolder
to be wrapped - Throws:
-
IOException
-X509CertificateHolder
object cannot be created from byte array.
-
-
Method Details
-
getCertificateHolder
public org.bouncycastle.cert.X509CertificateHolder getCertificateHolder()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
X509CertificateHolder
.
-
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.
-