Class JcaX509CertificateConverterBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.jcajce.JcaX509CertificateConverterBCFips
- All Implemented Interfaces:
-
IJcaX509CertificateConverter
public class JcaX509CertificateConverterBCFips extends Object implements IJcaX509CertificateConverter
Wrapper class for
JcaX509CertificateConverter
.
-
Constructor Summary
ConstructorDescriptionJcaX509CertificateConverterBCFips
(org.bouncycastle.cert.jcajce.JcaX509CertificateConverter certificateConverter) Creates new wrapper instance forJcaX509CertificateConverter
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.getCertificate
(IX509CertificateHolder certificateHolder) Calls actualgetCertificate
method for the wrapped JcaX509CertificateConverter object.org.bouncycastle.cert.jcajce.JcaX509CertificateConverter
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.setProvider
(Provider provider) Calls actualsetProvider
method for the wrapped JcaX509CertificateConverter object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
JcaX509CertificateConverterBCFips
public JcaX509CertificateConverterBCFips(org.bouncycastle.cert.jcajce.JcaX509CertificateConverter certificateConverter) Creates new wrapper instance forJcaX509CertificateConverter
.- Parameters:
-
certificateConverter
-JcaX509CertificateConverter
to be wrapped
-
-
Method Details
-
getCertificateConverter
public org.bouncycastle.cert.jcajce.JcaX509CertificateConverter getCertificateConverter()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
JcaX509CertificateConverter
.
-
getCertificate
public X509Certificate getCertificate(IX509CertificateHolder certificateHolder) throws CertificateException Calls actualgetCertificate
method for the wrapped JcaX509CertificateConverter object.- Specified by:
-
getCertificate
in interfaceIJcaX509CertificateConverter
- Parameters:
-
certificateHolder
- X509CertificateHolder wrapper - Returns:
- received X509Certificate.
- Throws:
-
CertificateException
- indicates certificate problems.
-
setProvider
Calls actualsetProvider
method for the wrapped JcaX509CertificateConverter object.- Specified by:
-
setProvider
in interfaceIJcaX509CertificateConverter
- Parameters:
-
provider
- provider to set - Returns:
-
IJcaX509CertificateConverter
this wrapped object.
-
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.
-