Class X509CertificateHolderBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.X509CertificateHolderBCFips
- All Implemented Interfaces:
-
IX509CertificateHolder
- Direct Known Subclasses:
-
JcaX509CertificateHolderBCFips
Wrapper class for
X509CertificateHolder.
-
Constructor Summary
ConstructorsConstructorDescriptionX509CertificateHolderBCFips(byte[] bytes) Creates new wrapper instance forX509CertificateHolder.X509CertificateHolderBCFips(org.bouncycastle.cert.X509CertificateHolder certificateHolder) Creates new wrapper instance forX509CertificateHolder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.X509CertificateHolderGets actual org.bouncycastle object being wrapped.Retrieves signature algorithm identifier from the certificate.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
X509CertificateHolderBCFips
public X509CertificateHolderBCFips(org.bouncycastle.cert.X509CertificateHolder certificateHolder) Creates new wrapper instance forX509CertificateHolder.- Parameters:
-
certificateHolder-X509CertificateHolderto be wrapped
-
X509CertificateHolderBCFips
Creates new wrapper instance forX509CertificateHolder.- Parameters:
-
bytes- bytes array to createX509CertificateHolderto be wrapped - Throws:
-
IOException-X509CertificateHolderobject 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.
-
getSignatureAlgorithm
Retrieves signature algorithm identifier from the certificate.- Specified by:
-
getSignatureAlgorithmin interfaceIX509CertificateHolder - Returns:
- signature algorithm.
-
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
DelegatestoStringmethod call to the wrapped object.
-