|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.security.cert.CertificateFactorySpi
com.ibm.crypto.provider.X509Factory
public class X509Factory
This class defines a certificate factory for X.509 v3 certificates and X.509 v2 certificate revocation lists (CRLs).
CertificateFactorySpi,
Certificate,
CRL,
X509Certificate,
X509CRL,
X509CertImpl,
X509CRLImpl| Field Summary | |
|---|---|
static String |
BEGIN_CERT
|
static String |
END_CERT
|
protected static String |
pkcs7String
|
protected static String |
pkipString
|
protected static String |
x509String
|
| Constructor Summary | |
|---|---|
X509Factory()
|
|
| Method Summary | |
|---|---|
Certificate |
engineGenerateCertificate(InputStream is)
Generates an X.509 certificate object and initializes it with the data read from the input stream is. |
Collection |
engineGenerateCertificates(InputStream is)
Returns a (possibly empty) collection view of X.509 certificates read from the given input stream is. |
CertPath |
engineGenerateCertPath(InputStream inStream)
Generates a CertPath object and initializes it with the data read from the input stream inStream. |
CertPath |
engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a CertPath object and initializes it with the data
read from the input stream inStream. |
CertPath |
engineGenerateCertPath(List certificates)
Generates a CertPath object and initializes it with the list of certificates supplied. |
CRL |
engineGenerateCRL(InputStream is)
Generates an X.509 certificate revocation list (CRL) object and initializes it with the data read from the given input stream is. |
Collection |
engineGenerateCRLs(InputStream is)
Returns a (possibly empty) collection view of X.509 CRLs read from the given input stream is. |
Iterator |
engineGetCertPathEncodings()
Returns the encodings supported by this certification path factory, with the default encoding first. |
static com.ibm.security.x509.X509CertImpl |
intern(X509Certificate c)
Return an interned X509CertImpl for the given certificate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEGIN_CERT
public static final String END_CERT
protected static final String pkcs7String
protected static final String pkipString
protected static final String x509String
| Constructor Detail |
|---|
public X509Factory()
| Method Detail |
|---|
public Certificate engineGenerateCertificate(InputStream is)
throws CertificateException
is.
engineGenerateCertificate in class CertificateFactorySpiis - an input stream with the certificate data.
CertificateException - on parsing errors.
public static com.ibm.security.x509.X509CertImpl intern(X509Certificate c)
throws CertificateException
CertificateException
public Collection engineGenerateCertificates(InputStream is)
throws CertificateException
is.
engineGenerateCertificates in class CertificateFactorySpiis - the input stream with the certificates.
CertificateException - on parsing errors.
public CRL engineGenerateCRL(InputStream is)
throws CRLException
is.
engineGenerateCRL in class CertificateFactorySpiis - an input stream with the CRL data.
CRLException - on parsing errors.
public Collection engineGenerateCRLs(InputStream is)
throws CRLException
is.
engineGenerateCRLs in class CertificateFactorySpiis - the input stream with the CRLs.
CRLException - on parsing errors.
public CertPath engineGenerateCertPath(InputStream inStream)
throws CertificateException
engineGenerateCertPath in class CertificateFactorySpiinStream - an input stream with the data
CertPath initialized with the data from the input stream
CertificateException - if an exception occurs
CertificateException
public CertPath engineGenerateCertPath(InputStream inStream,
String encoding)
throws CertificateException
CertPath object and initializes it with the data
read from the input stream inStream. The data is assumed to
be in the specified encoding.
engineGenerateCertPath in class CertificateFactorySpiinStream - an input stream with the dataencoding - the encoding used for the data
CertPath initialized with the data from the input stream
CertificateException - if an exception occurs
CertificateException
public CertPath engineGenerateCertPath(List certificates)
throws CertificateException
engineGenerateCertPath in class CertificateFactorySpicertificates - a List of Certificates
CertPath initialized with the supplied list of
certificates
CertificateException - if an exception occurs
CertificateExceptionpublic Iterator engineGetCertPathEncodings()
engineGetCertPathEncodings in class CertificateFactorySpiIterator of the encodings supported
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||