|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.security.cert.CertificateFactorySpi
|
+--org.bouncycastle.jce.cert.CertificateFactorySpi
|
+--org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory
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 | |
CertificateFactory()
|
|
| Method Summary | |
protected java.security.cert.CRL |
createCRL(CertificateList c)
|
java.security.cert.Certificate |
engineGenerateCertificate(java.io.InputStream in)
Generates a certificate object and initializes it with the data read from the input stream inStream. |
java.util.Collection |
engineGenerateCertificates(java.io.InputStream inStream)
Returns a (possibly empty) collection view of the certificates read from the given input stream inStream. |
CertPath |
engineGenerateCertPath(java.io.InputStream inStream)
Generates a CertPath object and initializes it with the data read from the InputStream inStream. |
CertPath |
engineGenerateCertPath(java.io.InputStream inStream,
java.lang.String encoding)
Generates a CertPath object and initializes it with the data read from the InputStream inStream. |
CertPath |
engineGenerateCertPath(java.util.List certificates)
Generates a CertPath object and initializes it with a List of Certificates. The certificates supplied must be of a type supported by the CertificateFactory. |
java.security.cert.CRL |
engineGenerateCRL(java.io.InputStream in)
Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream. |
java.util.Collection |
engineGenerateCRLs(java.io.InputStream inStream)
Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream. |
java.util.Iterator |
engineGetCertPathEncodings()
Returns an iteration of the CertPath encodings supported by this certificate factory, with the default encoding first. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CertificateFactory()
| Method Detail |
protected java.security.cert.CRL createCRL(CertificateList c)
throws java.security.cert.CRLException
public java.security.cert.Certificate engineGenerateCertificate(java.io.InputStream in)
throws java.security.cert.CertificateException
engineGenerateCertificate in class java.security.cert.CertificateFactorySpi
public java.util.Collection engineGenerateCertificates(java.io.InputStream inStream)
throws java.security.cert.CertificateException
engineGenerateCertificates in class java.security.cert.CertificateFactorySpi
public java.security.cert.CRL engineGenerateCRL(java.io.InputStream in)
throws java.security.cert.CRLException
engineGenerateCRL in class java.security.cert.CertificateFactorySpi
public java.util.Collection engineGenerateCRLs(java.io.InputStream inStream)
throws java.security.cert.CRLException
engineGenerateCRLs in class java.security.cert.CertificateFactorySpipublic java.util.Iterator engineGetCertPathEncodings()
CertificateFactorySpiengineGetCertPathEncodings in class CertificateFactorySpiorg.bouncycastle.jce.cert.CertificateFactorySpiUnsupportedOperationException - if the method is not supported
public CertPath engineGenerateCertPath(java.io.InputStream inStream)
throws java.security.cert.CertificateException
CertificateFactorySpiengineGenerateCertPath in class CertificateFactorySpiorg.bouncycastle.jce.cert.CertificateFactorySpiinStream - an InputStream containing the datajava.security.cert.CertificateException - if an exception occurs while decoding
public CertPath engineGenerateCertPath(java.io.InputStream inStream,
java.lang.String encoding)
throws java.security.cert.CertificateException
CertificateFactorySpiengineGenerateCertPath in class CertificateFactorySpiorg.bouncycastle.jce.cert.CertificateFactorySpiinStream - an InputStream containing the dataencoding - the encoding used for the datajava.security.cert.CertificateException - if an exception occurs while decoding or
the encoding requested is not supportedUnsupportedOperationException - if the method is not supported
public CertPath engineGenerateCertPath(java.util.List certificates)
throws java.security.cert.CertificateException
CertificateFactorySpiengineGenerateCertPath in class CertificateFactorySpiorg.bouncycastle.jce.cert.CertificateFactorySpicertificates - a List of Certificatesjava.security.cert.CertificateException - if an exception occursUnsupportedOperationException - if the method is not supported
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||