Interface IJcaX509CertificateConverter
- All Known Implementing Classes:
-
JcaX509CertificateConverterBC
,JcaX509CertificateConverterBCFips
public interface IJcaX509CertificateConverter
This interface represents the wrapper for JcaX509CertificateConverter that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificate
(IX509CertificateHolder certificateHolder) Calls actualgetCertificate
method for the wrapped JcaX509CertificateConverter object.setProvider
(Provider provider) Calls actualsetProvider
method for the wrapped JcaX509CertificateConverter object.
-
Method Details
-
getCertificate
X509Certificate getCertificate(IX509CertificateHolder certificateHolder) throws CertificateException Calls actualgetCertificate
method for the wrapped JcaX509CertificateConverter object.- Parameters:
-
certificateHolder
- X509CertificateHolder wrapper - Returns:
- received X509Certificate.
- Throws:
-
CertificateException
- indicates certificate problems.
-
setProvider
Calls actualsetProvider
method for the wrapped JcaX509CertificateConverter object.- Parameters:
-
provider
- provider to set - Returns:
-
IJcaX509CertificateConverter
this wrapped object.
-