public class JDKX509CertificateFactory extends CertificateFactorySpi
At the moment this will deal with "-----BEGIN CERTIFICATE-----" to "-----END CERTIFICATE-----" base 64 encoded certs, as well as the BER binaries of certificates and some classes of PKCS#7 objects.
Constructor and Description |
---|
JDKX509CertificateFactory() |
Modifier and Type | Method and Description |
---|---|
protected CRL |
createCRL(CertificateList c) |
Certificate |
engineGenerateCertificate(InputStream in)
Generates a certificate object and initializes it with the data
read from the input stream inStream.
|
Collection |
engineGenerateCertificates(InputStream inStream)
Returns a (possibly empty) collection view of the certificates
read from the given input stream inStream.
|
CertPath |
engineGenerateCertPath(InputStream inStream) |
CertPath |
engineGenerateCertPath(InputStream inStream,
String encoding) |
CertPath |
engineGenerateCertPath(List certificates) |
CRL |
engineGenerateCRL(InputStream inStream)
Generates a certificate revocation list (CRL) object and initializes
it with the data read from the input stream inStream.
|
Collection |
engineGenerateCRLs(InputStream inStream)
Returns a (possibly empty) collection view of the CRLs read from
the given input stream inStream.
|
Iterator |
engineGetCertPathEncodings() |
protected CRL createCRL(CertificateList c) throws CRLException
CRLException
public Certificate engineGenerateCertificate(InputStream in) throws CertificateException
engineGenerateCertificate
in class CertificateFactorySpi
CertificateException
public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException
engineGenerateCertificates
in class CertificateFactorySpi
CertificateException
public CRL engineGenerateCRL(InputStream inStream) throws CRLException
engineGenerateCRL
in class CertificateFactorySpi
CRLException
public Collection engineGenerateCRLs(InputStream inStream) throws CRLException
engineGenerateCRLs
in class CertificateFactorySpi
CRLException
public Iterator engineGetCertPathEncodings()
engineGetCertPathEncodings
in class CertificateFactorySpi
public CertPath engineGenerateCertPath(InputStream inStream) throws CertificateException
engineGenerateCertPath
in class CertificateFactorySpi
CertificateException
public CertPath engineGenerateCertPath(InputStream inStream, String encoding) throws CertificateException
engineGenerateCertPath
in class CertificateFactorySpi
CertificateException
public CertPath engineGenerateCertPath(List certificates) throws CertificateException
engineGenerateCertPath
in class CertificateFactorySpi
CertificateException
Copyright © 2015. All rights reserved.