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.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final JcaJceHelper | |
| private InputStream | |
| private InputStream | |
| private static final PEMUtil | |
| private static final PEMUtil | |
| private static final PEMUtil | |
| private ASN1Set | |
| private int | |
| private ASN1Set | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected CRL | |
| private Certificate | |
| private CRL | doGenerateCRL(InputStream in, boolean isFirst)
Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream. |
| public Certificate | engineGenerateCertificate(InputStream
an input stream with the certificate data. in)Implements abstract java. |
| public Collection | engineGenerateCertificates(InputStream
the input stream with the certificates. inStream)Implements abstract java. |
| public CertPath | engineGenerateCertPath(InputStream
an inStream)InputStream containing the dataOverrides java. CertPath object and initializes it with
the data read from the InputStream inStream.
|
| public CertPath | engineGenerateCertPath(InputStream
an inStream, String InputStream containing the datathe encoding used for the data encoding)Overrides java. CertPath object and initializes it with
the data read from the InputStream inStream.
|
| public CertPath | engineGenerateCertPath(List<E>
a certificates)List of CertificatesOverrides java. CertPath object and initializes it with
a List of Certificates.
|
| public CRL | engineGenerateCRL(InputStream
an input stream with the CRL data. in)Implements abstract java. |
| public Collection | engineGenerateCRLs(InputStream
the input stream with the CRLs. inStream)Implements abstract java. |
| public Iterator | engineGetCertPathEncodings()
Overrides java. CertPath encodings supported
by this certificate factory, with the default encoding first.
|
| private Certificate | |
| private Certificate | |
| private CRL | |
| private CRL | |
| private Certificate | |
| private CRL | |
| private Certificate | |
| private CRL |
| bcHelper | back to summary |
|---|---|
| private final JcaJceHelper bcHelper | |
| currentCrlStream | back to summary |
|---|---|
| private InputStream currentCrlStream | |
| currentStream | back to summary |
|---|---|
| private InputStream currentStream | |
| PEM_CERT_PARSER | back to summary |
|---|---|
| private static final PEMUtil PEM_CERT_PARSER | |
| PEM_CRL_PARSER | back to summary |
|---|---|
| private static final PEMUtil PEM_CRL_PARSER | |
| PEM_PKCS7_PARSER | back to summary |
|---|---|
| private static final PEMUtil PEM_PKCS7_PARSER | |
| sCrlData | back to summary |
|---|---|
| private ASN1Set sCrlData | |
| sCrlDataObjectCount | back to summary |
|---|---|
| private int sCrlDataObjectCount | |
| sData | back to summary |
|---|---|
| private ASN1Set sData | |
| sDataObjectCount | back to summary |
|---|---|
| private int sDataObjectCount | |
| CertificateFactory | back to summary |
|---|---|
| public CertificateFactory() | |
| createCRL | back to summary |
|---|---|
| protected CRL createCRL(CertificateList c) throws CRLException | |
| doGenerateCertificate | back to summary |
|---|---|
| private Certificate doGenerateCertificate(InputStream in, boolean isFirst) throws CertificateException | |
| doGenerateCRL | back to summary |
|---|---|
| private CRL doGenerateCRL(InputStream in, boolean isFirst) throws CRLException Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream. | |
| engineGenerateCertificate | back to summary |
|---|---|
| public Certificate engineGenerateCertificate(InputStream in) throws CertificateException Implements abstract java. Generates a certificate object and initializes it with the data read from the input stream inStream.
| |
| engineGenerateCertificates | back to summary |
|---|---|
| public Collection Implements abstract java. Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
| |
| engineGenerateCertPath | back to summary |
|---|---|
| public CertPath engineGenerateCertPath(InputStream inStream) throws CertificateException Overrides java. Doc from java. Generates a This method was added to version 1.4 of the Java 2 Platform
Standard Edition. In order to maintain backwards compatibility with
existing service providers, this method cannot be
| |
| engineGenerateCertPath | back to summary |
|---|---|
| public CertPath engineGenerateCertPath(InputStream inStream, String encoding) throws CertificateException Overrides java. Doc from java. Generates a This method was added to version 1.4 of the Java 2 Platform
Standard Edition. In order to maintain backwards compatibility with
existing service providers, this method cannot be
| |
| engineGenerateCertPath | back to summary |
|---|---|
| public CertPath engineGenerateCertPath(List<E> certificates) throws CertificateException Overrides java. Doc from java. Generates a
The certificates supplied must be of a type supported by the
This method was added to version 1.4 of the Java 2 Platform
Standard Edition. In order to maintain backwards compatibility with
existing service providers, this method cannot be
| |
| engineGenerateCRL | back to summary |
|---|---|
| public CRL engineGenerateCRL(InputStream in) throws CRLException Implements abstract java. Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream.
| |
| engineGenerateCRLs | back to summary |
|---|---|
| public Collection Implements abstract java. Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream. The inStream may contain a sequence of DER-encoded CRLs, or a PKCS#7 CRL set. This is a PKCS#7 SignedData object, with the only signficant field being crls. In particular the signature and the contents are ignored.
| |
| engineGetCertPathEncodings | back to summary |
|---|---|
| public Iterator Overrides java. Doc from java. Returns an iteration of the
Attempts to modify the returned This method was added to version 1.4 of the Java 2 Platform
Standard Edition. In order to maintain backwards compatibility with
existing service providers, this method cannot be
| |
| getCertificate | back to summary |
|---|---|
| private Certificate getCertificate(ASN1Sequence seq) throws CertificateParsingException | |
| getCertificate | back to summary |
|---|---|
| private Certificate getCertificate() throws CertificateParsingException | |
| getCRL | back to summary |
|---|---|
| private CRL getCRL(ASN1Sequence seq) throws CRLException | |
| getCRL | back to summary |
|---|---|
| private CRL getCRL() throws CRLException | |
| readDERCertificate | back to summary |
|---|---|
| private Certificate readDERCertificate(ASN1InputStream dIn) throws IOException, CertificateParsingException | |
| readDERCRL | back to summary |
|---|---|
| private CRL readDERCRL(ASN1InputStream aIn) throws IOException, CRLException | |
| readPEMCertificate | back to summary |
|---|---|
| private Certificate readPEMCertificate(InputStream in, boolean isFirst) throws IOException, CertificateParsingException | |
| readPEMCRL | back to summary |
|---|---|
| private CRL readPEMCRL(InputStream in, boolean isFirst) throws IOException, CRLException | |
| Modifier and Type | Field and Description |
|---|---|
| private Throwable |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getCause()
Overrides java. null if the
cause is nonexistent or unknown.
|
| cause | back to summary |
|---|---|
| private Throwable cause Hides java. | |
| ExCertificateException | back to summary |
|---|---|
| public ExCertificateException(Throwable cause) | |
| ExCertificateException | back to summary |
|---|---|
| public ExCertificateException(String msg, Throwable cause) | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |