java.security.cert
public abstract class CertificateFactorySpi extends Object
Since: 1.2
Constructor Summary | |
---|---|
CertificateFactorySpi()
Constructs a new CertificateFactorySpi |
Method Summary | |
---|---|
abstract Certificate | engineGenerateCertificate(InputStream inStream)
Generates a Certificate based on the encoded data read
from the InputStream.
|
abstract Collection<? extends Certificate> | engineGenerateCertificates(InputStream inStream)
Returns a collection of certificates that were read from the
input stream. |
CertPath | engineGenerateCertPath(InputStream inStream)
Generate a {@link CertPath} and initialize it with data parsed from
the input stream. |
CertPath | engineGenerateCertPath(InputStream inStream, String encoding)
Generate a {@link CertPath} and initialize it with data parsed from
the input stream, using the specified encoding.
|
CertPath | engineGenerateCertPath(List<? extends Certificate> certificates)
Generate a {@link CertPath} and initialize it with the certificates
in the {@link java.util.List} argument.
|
abstract CRL | engineGenerateCRL(InputStream inStream)
Generates a CRL based on the encoded data read
from the InputStream.
|
abstract Collection<? extends CRL> | engineGenerateCRLs(InputStream inStream)
Generates CRLs based on the encoded data read
from the InputStream.
|
Iterator<String> | engineGetCertPathEncodings()
Returns an Iterator of CertPath encodings supported by this
factory, with the default encoding first. |
Parameters: inStream an input stream containing the certificate data
Returns: a certificate initialized with InputStream data.
Throws: CertificateException Certificate parsing error
Parameters: inStream an input stream containing the certificates
Returns: a collection of certificates initialized with the InputStream data.
Throws: CertificateException Certificate parsing error
Parameters: inStream The InputStream containing the CertPath data.
Returns: A CertPath initialized from the input stream data.
Throws: CertificateException If an error occurs decoding the CertPath.
Parameters: inStream The InputStream containing the CertPath data. encoding The encoding of the InputStream data.
Returns: A CertPath initialized from the input stream data.
Throws: CertificateException If an error occurs decoding the CertPath.
Parameters: certificates The list of certificates with which to create the CertPath.
Returns: A CertPath initialized from the certificates.
Throws: CertificateException If an error occurs generating the CertPath.
Parameters: inStream an input stream containing the CRL data
Returns: a CRL initialized with InputStream data.
Throws: CRLException CRL parsing error
Parameters: inStream an input stream containing the CRLs
Returns: a collection of CRLs initialized with the InputStream data.
Throws: CRLException CRL parsing error
Returns: The Iterator of supported encodings.