public abstract class CertificateFactorySpi extends java.lang.Object
| Constructor and Description |
|---|
CertificateFactorySpi()
Constructs a new CertificateFactorySpi
|
| Modifier and Type | Method and Description |
|---|---|
abstract Certificate |
engineGenerateCertificate(java.io.InputStream inStream)
Generates a Certificate based on the encoded data read
from the InputStream.
|
abstract java.util.Collection<? extends Certificate> |
engineGenerateCertificates(java.io.InputStream inStream)
Returns a collection of certificates that were read from the
input stream.
|
CertPath |
engineGenerateCertPath(java.io.InputStream inStream)
Generate a
CertPath and initialize it with data parsed from
the input stream. |
CertPath |
engineGenerateCertPath(java.io.InputStream inStream,
java.lang.String encoding)
Generate a
CertPath and initialize it with data parsed from
the input stream, using the specified encoding. |
CertPath |
engineGenerateCertPath(java.util.List<? extends Certificate> certificates)
Generate a
CertPath and initialize it with the certificates
in the List argument. |
abstract CRL |
engineGenerateCRL(java.io.InputStream inStream)
Generates a CRL based on the encoded data read
from the InputStream.
|
abstract java.util.Collection<? extends CRL> |
engineGenerateCRLs(java.io.InputStream inStream)
Generates CRLs based on the encoded data read
from the InputStream.
|
java.util.Iterator<java.lang.String> |
engineGetCertPathEncodings()
Returns an Iterator of CertPath encodings supported by this
factory, with the default encoding first.
|
public CertificateFactorySpi()
public abstract Certificate engineGenerateCertificate(java.io.InputStream inStream) throws CertificateException
inStream - an input stream containing the certificate dataCertificateException - Certificate parsing errorpublic abstract java.util.Collection<? extends Certificate> engineGenerateCertificates(java.io.InputStream inStream) throws CertificateException
inStream - an input stream containing the certificatesCertificateException - Certificate parsing errorpublic abstract CRL engineGenerateCRL(java.io.InputStream inStream) throws CRLException
inStream - an input stream containing the CRL dataCRLException - CRL parsing errorpublic abstract java.util.Collection<? extends CRL> engineGenerateCRLs(java.io.InputStream inStream) throws CRLException
inStream - an input stream containing the CRLsCRLException - CRL parsing errorpublic CertPath engineGenerateCertPath(java.io.InputStream inStream) throws CertificateException
CertPath and initialize it with data parsed from
the input stream. The default encoding of this factory is used.inStream - The InputStream containing the CertPath data.CertificateException - If an error occurs decoding the
CertPath.public CertPath engineGenerateCertPath(java.io.InputStream inStream, java.lang.String encoding) throws CertificateException
CertPath and initialize it with data parsed from
the input stream, using the specified encoding.inStream - The InputStream containing the CertPath data.encoding - The encoding of the InputStream data.CertificateException - If an error occurs decoding the
CertPath.public CertPath engineGenerateCertPath(java.util.List<? extends Certificate> certificates) throws CertificateException
CertPath and initialize it with the certificates
in the List argument.certificates - The list of certificates with which to create
the CertPath.CertificateException - If an error occurs generating the
CertPath.public java.util.Iterator<java.lang.String> engineGetCertPathEncodings()