X509 Certificate Factory Service Provider Interface Implementation.
It supports CRLs and Certificates in (PEM) ASN.1 DER encoded form,
and Certification Paths in PkiPath and PKCS7 formats.
For Certificates and CRLs factory maintains the caching
mechanisms allowing to speed up repeated Certificate/CRL
generation.
See Also:Cache
engineGenerateCertificate(InputStream inStream) Generates the X.509 certificate from the data in the stream.
The data in the stream can be either in ASN.1 DER encoded X.509
certificate, or PEM (Base64 encoding bounded by
"-----BEGIN CERTIFICATE-----" at the beginning and
"-----END CERTIFICATE-----" at the end) representation
of the former encoded form.
Before the generation the encoded form is looked up in
the cache.
Generates the X.509 certificate from the data in the stream.
The data in the stream can be either in ASN.1 DER encoded X.509
certificate, or PEM (Base64 encoding bounded by
"-----BEGIN CERTIFICATE-----" at the beginning and
"-----END CERTIFICATE-----" at the end) representation
of the former encoded form.
Before the generation the encoded form is looked up in
the cache. If the cache contains the certificate with requested encoded
form it is returned from it, otherwise it is generated by ASN.1
decoder.
See Also:java.security.cert.CertificateFactorySpi.engineGenerateCertificate(InputStream) See Also: method documentation for more info