Package org.conscrypt
Class OpenSSLX509CertificateFactory.Parser<T>
java.lang.Object
org.conscrypt.OpenSSLX509CertificateFactory.Parser<T>
- Enclosing class:
OpenSSLX509CertificateFactory
The code for X509 Certificates and CRL is pretty much the same. We use
this abstract class to share the code between them. This makes it ugly,
but it's already written in this language anyway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T
protected abstract T
(package private) T
generateItem
(InputStream inStream) (package private) Collection
<? extends T> generateItems
(InputStream inStream)
-
Constructor Details
-
Parser
private Parser()
-
-
Method Details
-
generateItem
-
generateItems
Collection<? extends T> generateItems(InputStream inStream) throws OpenSSLX509CertificateFactory.ParsingException -
fromX509PemInputStream
protected abstract T fromX509PemInputStream(InputStream pbis) throws OpenSSLX509CertificateFactory.ParsingException -
fromX509DerInputStream
protected abstract T fromX509DerInputStream(InputStream pbis) throws OpenSSLX509CertificateFactory.ParsingException -
fromPkcs7PemInputStream
protected abstract List<? extends T> fromPkcs7PemInputStream(InputStream is) throws OpenSSLX509CertificateFactory.ParsingException -
fromPkcs7DerInputStream
protected abstract List<? extends T> fromPkcs7DerInputStream(InputStream is) throws OpenSSLX509CertificateFactory.ParsingException
-