org.bouncycastle.jce.provider
Class X509CertPairParser
public class X509CertPairParser
void | engineInit(InputStream in) - Initializes this stream parser with the input stream.
|
Object | engineRead() - Returns the next X.509 object of the type of this SPI from the given
input stream.
|
Collection | engineReadAll() - Returns all X.509 objects of the type of this SPI from
the given input stream.
|
engineInit
public void engineInit(InputStream in)
Initializes this stream parser with the input stream.
- engineInit in interface X509StreamParserSpi
engineRead
public Object engineRead()
throws org.bouncycastle.util.StreamParsingException
Returns the next X.509 object of the type of this SPI from the given
input stream.
- engineRead in interface X509StreamParserSpi
- the next X.509 object in the stream or
null
if the
end of the stream is reached.
org.bouncycastle.util.StreamParsingException
- if the object cannot be created from input stream.
engineReadAll
public Collection engineReadAll()
throws org.bouncycastle.util.StreamParsingException
Returns all X.509 objects of the type of this SPI from
the given input stream.
- engineReadAll in interface X509StreamParserSpi
- A collection of all X.509 objects in the input stream or
null
if the end of the stream is reached.
org.bouncycastle.util.StreamParsingException
- if an object cannot be created from input stream.