Class JcaX509CertificateConverterBC
java.lang.Object
com.itextpdf.bouncycastle.cert.jcajce.JcaX509CertificateConverterBC
- All Implemented Interfaces:
-
IJcaX509CertificateConverter
Wrapper class for
JcaX509CertificateConverter
.
-
Constructor Summary
ConstructorDescriptionJcaX509CertificateConverterBC
(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
-
JcaX509CertificateConverterBC
public JcaX509CertificateConverterBC(org.bouncycastle.cert.jcajce.JcaX509CertificateConverter certificateConverter) Creates new wrapper instance forJcaX509CertificateConverter
.- Parameters:
-
certificateConverter
-JcaX509CertificateConverter
to be wrapped
-
-
Method Details
-
getJsaX509CertificateConverter
public org.bouncycastle.cert.jcajce.JcaX509CertificateConverter getJsaX509CertificateConverter()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.
-