|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.cert.CertificateFactorySpi
public abstract class CertificateFactorySpi
This class is a Service Provider Interface (therefore the Spi suffix) for certificate factories to be supplied by providers.
| Constructor Summary | |
|---|---|
CertificateFactorySpi()
Constructs a new instance of this class. |
|
| Method Summary | |
|---|---|
abstract Certificate |
engineGenerateCertificate(InputStream inStream)
Generates and initializes a Certificate from data from the provided input stream. |
abstract Collection<? extends Certificate> |
engineGenerateCertificates(InputStream inStream)
Generates and initializes a collection of Certificates from data from the provided input stream. |
CertPath |
engineGenerateCertPath(InputStream inStream)
Generates a CertPath from data from the provided
InputStream. |
CertPath |
engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a CertPath from data from the provided
InputStream. |
CertPath |
engineGenerateCertPath(List<? extends Certificate> certificates)
Generates a CertPath from the provided List of
Certificates. |
abstract CRL |
engineGenerateCRL(InputStream inStream)
Generates and initializes a Certificate Revocation List from data from the provided input stream. |
abstract Collection<? extends CRL> |
engineGenerateCRLs(InputStream inStream)
Generates and initializes a collection of Certificate Revocation List from data from the provided input stream. |
Iterator<String> |
engineGetCertPathEncodings()
Returns an Iterator over the supported CertPath encodings (as Strings). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CertificateFactorySpi()
| Method Detail |
|---|
public abstract Certificate engineGenerateCertificate(InputStream inStream)
throws CertificateException
inStream - InputStream Stream from where data is read to create the
Certificate
CertificateException - if parsing problems are detected
public abstract Collection<? extends Certificate> engineGenerateCertificates(InputStream inStream)
throws CertificateException
inStream - InputStream Stream from where data is read to create the
Certificates
CertificateException - if parsing problems are detected
public abstract CRL engineGenerateCRL(InputStream inStream)
throws CRLException
inStream - InputStream Stream from where data is read to create the CRL
CRLException - if parsing problems are detected
public abstract Collection<? extends CRL> engineGenerateCRLs(InputStream inStream)
throws CRLException
inStream - InputStream Stream from where data is read to create the CRLs
CRLException - if parsing problems are detected
public CertPath engineGenerateCertPath(InputStream inStream)
throws CertificateException
CertPath from data from the provided
InputStream. The default encoding is assumed.
inStream - InputStream with PKCS7 or PkiPath encoded data
CertificateException - if parsing problems are detected
public CertPath engineGenerateCertPath(InputStream inStream,
String encoding)
throws CertificateException
CertPath from data from the provided
InputStream. The encoding is that specified by the
encoding parameter.
inStream - InputStream containing certificate path data in specified
encodingencoding - encoding of the data in the input stream
CertificateException - if parsing problems are detected
UnsupportedOperationException - if the provider does not implement this method
public CertPath engineGenerateCertPath(List<? extends Certificate> certificates)
throws CertificateException
CertPath from the provided List of
Certificates. The encoding is the default encoding.
certificates - List containing certificates in a format supported by the
CertificateFactory
CertificateException - if parsing problems are detected
UnsupportedOperationException - if the provider does not implement this methodpublic Iterator<String> engineGetCertPathEncodings()
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||