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.IOException
java.security.cert.CertificateParsingException
public void engineInit(java.io.InputStream in)
X509StreamParserSpi
engineInit
in class X509StreamParserSpi
in
- The input stream.public java.lang.Object engineRead() throws StreamParsingException
X509StreamParserSpi
engineRead
in class X509StreamParserSpi
null
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
X509StreamParserSpi
engineReadAll
in class X509StreamParserSpi
null
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.