public class JDKCVCertificateFactory extends CertificateFactorySpi
At the moment this will deal with binary encoded CVC certificates. Only one CVC certificate can be in the input stream passed. Bouncy Castle's JDKX509CertificateFactory was used as template for this class.
| Constructor and Description |
|---|
JDKCVCertificateFactory() |
| Modifier and Type | Method and Description |
|---|---|
Certificate |
engineGenerateCertificate(InputStream in)
Generates a certificate object and initializes it with the data
read from the input stream inStream.
|
Collection<Certificate> |
engineGenerateCertificates(InputStream inStream)
Returns a (possibly empty) collection view of the certificate
read from the given input stream inStream.
|
CRL |
engineGenerateCRL(InputStream inStream)
CRLs are not supported by CVC.
|
Collection<CRL> |
engineGenerateCRLs(InputStream inStream)
CRLs are not supported by CVC.
|
engineGenerateCertPath, engineGenerateCertPath, engineGenerateCertPath, engineGetCertPathEncodingspublic Certificate engineGenerateCertificate(InputStream in) throws CertificateException
engineGenerateCertificate in class CertificateFactorySpiCertificateExceptionpublic Collection<Certificate> engineGenerateCertificates(InputStream inStream) throws CertificateException
engineGenerateCertificates in class CertificateFactorySpiCertificateExceptionpublic CRL engineGenerateCRL(InputStream inStream) throws CRLException
engineGenerateCRL in class CertificateFactorySpiCRLExceptionpublic Collection<CRL> engineGenerateCRLs(InputStream inStream) throws CRLException
engineGenerateCRLs in class CertificateFactorySpiCRLExceptionCopyright © 2021. All rights reserved.