public class X509CertPairParser extends X509StreamParserSpi
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
currentStream |
| Constructor and Description |
|---|
X509CertPairParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
engineInit(java.io.InputStream in)
Initializes this stream parser with the input stream.
|
java.lang.Object |
engineRead()
Returns the next X.509 object of the type of this SPI from the given
input stream.
|
java.util.Collection |
engineReadAll()
Returns all X.509 objects of the type of this SPI from
the given input stream.
|
private X509CertificatePair |
readDERCrossCertificatePair(java.io.InputStream in) |
private X509CertificatePair readDERCrossCertificatePair(java.io.InputStream in) throws java.io.IOException, java.security.cert.CertificateParsingException
java.io.IOExceptionjava.security.cert.CertificateParsingExceptionpublic void engineInit(java.io.InputStream in)
X509StreamParserSpiengineInit in class X509StreamParserSpiin - The input stream.public java.lang.Object engineRead()
throws StreamParsingException
X509StreamParserSpiengineRead in class X509StreamParserSpinull if the
end of the stream is reached.StreamParsingException - if the object cannot be created from input stream.public java.util.Collection engineReadAll()
throws StreamParsingException
X509StreamParserSpiengineReadAll in class X509StreamParserSpinull if the end of the stream is reached.StreamParsingException - if an object cannot be created from input stream.Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.