|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.cert.CertificateFactorySpi org.gudy.bouncycastle.jce.provider.JDKX509CertificateFactory
public class JDKX509CertificateFactory
class for dealing with X509 certificates.
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 Summary | |
---|---|
JDKX509CertificateFactory()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDKX509CertificateFactory()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |