public class

X509CertParser

extends X509StreamParserSpi
java.lang.Object
   ↳ org.bouncycastle.x509.X509StreamParserSpi
     ↳ org.bouncycastle.jce.provider.X509CertParser

Summary

Public Constructors
X509CertParser()
Public Methods
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.
[Expand]
Inherited Methods
From class org.bouncycastle.x509.X509StreamParserSpi
From class java.lang.Object

Public Constructors

public X509CertParser ()

Public Methods

public void engineInit (InputStream in)

Initializes this stream parser with the input stream.

Parameters
in The input stream.

public Object engineRead ()

Returns the next X.509 object of the type of this SPI from the given input stream.

Returns
  • the next X.509 object in the stream or null if the end of the stream is reached.

public Collection engineReadAll ()

Returns all X.509 objects of the type of this SPI from the given input stream.

Returns
  • A collection of all X.509 objects in the input stream or null if the end of the stream is reached.