Class X509CertificateHolderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.X509CertificateHolderBCFips
- All Implemented Interfaces:
-
IX509CertificateHolder
- Direct Known Subclasses:
-
JcaX509CertificateHolderBCFips
Wrapper class for
X509CertificateHolder
.
-
Constructor Summary
ConstructorDescriptionX509CertificateHolderBCFips
(byte[] bytes) Creates new wrapper instance forX509CertificateHolder
.X509CertificateHolderBCFips
(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
-
X509CertificateHolderBCFips
public X509CertificateHolderBCFips(org.bouncycastle.cert.X509CertificateHolder certificateHolder) Creates new wrapper instance forX509CertificateHolder
.- Parameters:
-
certificateHolder
-X509CertificateHolder
to be wrapped
-
X509CertificateHolderBCFips
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.
-