java.security.cert.CertificateFactory based on BoringSSL.
| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | OpenSSLX509CertificateFactory.Parser<T>
The code for X509 Certificates and CRL is pretty much the same. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private OpenSSLX509CertificateFactory. | |
| private OpenSSLX509CertificateFactory. | |
| private static final byte[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Certificate | engineGenerateCertificate(InputStream
an input stream with the certificate data. inStream)Implements abstract java. inStream.
|
| public Collection | engineGenerateCertificates(InputStream
the input stream with the certificates. inStream)Implements abstract java. inStream.
|
| 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<? extends Certificate>
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. inStream)Implements abstract java. inStream.
|
| public Collection | engineGenerateCRLs(InputStream
the input stream with the CRLs. inStream)Implements abstract java. inStream.
|
| public Iterator | engineGetCertPathEncodings()
Overrides java. CertPath encodings supported
by this certificate factory, with the default encoding first.
|
| certificateParser | back to summary |
|---|---|
| private OpenSSLX509CertificateFactory. | |
| crlParser | back to summary |
|---|---|
| private OpenSSLX509CertificateFactory. | |
| PKCS7_MARKER | back to summary |
|---|---|
| private static final byte[] PKCS7_MARKER | |
| PUSHBACK_SIZE | back to summary |
|---|---|
| private static final int PUSHBACK_SIZE | |
| OpenSSLX509CertificateFactory | back to summary |
|---|---|
| public OpenSSLX509CertificateFactory() | |
| engineGenerateCertificate | back to summary |
|---|---|
| public Certificate engineGenerateCertificate(InputStream inStream) throws CertificateException Implements abstract java. Doc from java. Generates a certificate object and initializes it with
the data read from the input stream In order to take advantage of the specialized certificate format
supported by this certificate factory,
the returned certificate object can be typecast to the corresponding
certificate class. For example, if this certificate
factory implements X.509 certificates, the returned certificate object
can be typecast to the In the case of a certificate factory for X.509 certificates, the
certificate provided in Note that if the given input stream does not support
| |
| engineGenerateCertificates | back to summary |
|---|---|
| public Collection Implements abstract java. Doc from java. Returns a (possibly empty) collection view of the certificates read
from the given input stream In order to take advantage of the specialized certificate format
supported by this certificate factory, each element in
the returned collection view can be typecast to the corresponding
certificate class. For example, if this certificate
factory implements X.509 certificates, the elements in the returned
collection can be typecast to the In the case of a certificate factory for X.509 certificates,
Note that if the given input stream does not support
| |
| 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<? extends Certificate> 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 inStream) throws CRLException Implements abstract java. Doc from java. Generates a certificate revocation list (CRL) object and initializes it
with the data read from the input stream In order to take advantage of the specialized CRL format
supported by this certificate factory,
the returned CRL object can be typecast to the corresponding
CRL class. For example, if this certificate
factory implements X.509 CRLs, the returned CRL object
can be typecast to the Note that if the given input stream does not support
| |
| engineGenerateCRLs | back to summary |
|---|---|
| public Collection Implements abstract java. Doc from java. Returns a (possibly empty) collection view of the CRLs read
from the given input stream In order to take advantage of the specialized CRL format
supported by this certificate factory, each element in
the returned collection view can be typecast to the corresponding
CRL class. For example, if this certificate
factory implements X.509 CRLs, the elements in the returned
collection can be typecast to the In the case of a certificate factory for X.509 CRLs,
Note that if the given input stream does not support
| |
| 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 | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract List | |
| protected abstract List | |
| protected abstract T | |
| protected abstract T | |
| pack-priv T | |
| pack-priv Collection |
| Parser | back to summary |
|---|---|
| private Parser() | |
| fromPkcs7DerInputStream | back to summary |
|---|---|
| protected abstract List | |
| fromPkcs7PemInputStream | back to summary |
|---|---|
| protected abstract List | |
| fromX509DerInputStream | back to summary |
|---|---|
| protected abstract T fromX509DerInputStream(InputStream pbis) throws ParsingException | |
| fromX509PemInputStream | back to summary |
|---|---|
| protected abstract T fromX509PemInputStream(InputStream pbis) throws ParsingException | |
| generateItem | back to summary |
|---|---|
| pack-priv T generateItem(InputStream inStream) throws ParsingException | |
| generateItems | back to summary |
|---|---|
| pack-priv Collection | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ParsingException | back to summary |
|---|---|
| pack-priv ParsingException(String message) | |
| ParsingException | back to summary |
|---|---|
| pack-priv ParsingException(Exception cause) | |
| ParsingException | back to summary |
|---|---|
| pack-priv ParsingException(String message, Exception cause) | |