public class OpenSSLX509CertificateFactory extends CertificateFactorySpi
| Constructor and Description |
|---|
OpenSSLX509CertificateFactory() |
| Modifier and Type | Method and Description |
|---|---|
Certificate |
engineGenerateCertificate(InputStream inStream)
Generates and initializes a
Certificate from the provided input
stream. |
Collection<? extends Certificate> |
engineGenerateCertificates(InputStream inStream)
Generates and initializes a collection of certificates from the provided
input stream.
|
CertPath |
engineGenerateCertPath(InputStream inStream)
Generates a
CertPath from the provided InputStream. |
CertPath |
engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a
CertPath (a certificate chain) from the given
inputStream, assuming the given encoding from
CertificateFactorySpi.engineGetCertPathEncodings(). |
CertPath |
engineGenerateCertPath(List<? extends Certificate> certificates)
Generates a
CertPath from the provided list of certificates. |
CRL |
engineGenerateCRL(InputStream inStream)
Generates and initializes a Certificate Revocation List (CRL) from
the provided input stream.
|
Collection<? extends CRL> |
engineGenerateCRLs(InputStream inStream)
Generates and initializes a collection of Certificate Revocation
List (CRL) from the provided input stream.
|
Iterator<String> |
engineGetCertPathEncodings()
Returns an
Iterator over the supported CertPath encodings
(as Strings). |
public Certificate engineGenerateCertificate(InputStream inStream) throws CertificateException
CertificateFactorySpiCertificate from the provided input
stream.engineGenerateCertificate in class CertificateFactorySpiinStream - the stream from which the data is read to create the
certificate.CertificateException - if parsing problems are detected.public Collection<? extends Certificate> engineGenerateCertificates(InputStream inStream) throws CertificateException
CertificateFactorySpiengineGenerateCertificates in class CertificateFactorySpiinStream - the stream from where data is read to create the certificates.CertificateException - if parsing problems are detected.public CRL engineGenerateCRL(InputStream inStream) throws CRLException
CertificateFactorySpiengineGenerateCRL in class CertificateFactorySpiinStream - the stream from where data is read to create the CRL.CRLException - if parsing problems are detected.public Collection<? extends CRL> engineGenerateCRLs(InputStream inStream) throws CRLException
CertificateFactorySpiengineGenerateCRLs in class CertificateFactorySpiinStream - the stream from which the data is read to create the CRLs.CRLException - if parsing problems are detected.public Iterator<String> engineGetCertPathEncodings()
CertificateFactorySpiIterator over the supported CertPath encodings
(as Strings). The first element is the default encoding.engineGetCertPathEncodings in class CertificateFactorySpiCertPath encodings (as
Strings).public CertPath engineGenerateCertPath(InputStream inStream) throws CertificateException
CertificateFactorySpiCertPath from the provided InputStream. The
default encoding scheme is applied.engineGenerateCertPath in class CertificateFactorySpiinStream - an input stream with encoded data.CertPath initialized from the provided data.CertificateException - if parsing problems are detected.public CertPath engineGenerateCertPath(InputStream inStream, String encoding) throws CertificateException
CertificateFactorySpiCertPath (a certificate chain) from the given
inputStream, assuming the given encoding from
CertificateFactorySpi.engineGetCertPathEncodings().engineGenerateCertPath in class CertificateFactorySpiCertificateException - if parsing problems are detected.public CertPath engineGenerateCertPath(List<? extends Certificate> certificates) throws CertificateException
CertificateFactorySpiCertPath from the provided list of certificates. The
encoding is the default encoding.engineGenerateCertPath in class CertificateFactorySpicertificates - the list containing certificates in a format supported by the
CertificateFactory.CertPath initialized from the provided data.CertificateException - if parsing problems are detected.