Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.x509;
 
 
This abstract class defines the service provider interface (SPI) for X509StreamParser.

public abstract class X509StreamParserSpi
{
    
Initializes this stream parser with the input stream.

Parameters:
in The input stream.
    public abstract void engineInit(InputStream in);

    
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.
Throws:
org.bouncycastle.x509.util.StreamParsingException if the object cannot be created from input stream.
    public abstract Object engineRead() throws StreamParsingException;

    
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.
Throws:
org.bouncycastle.x509.util.StreamParsingException if an object cannot be created from input stream.
    public abstract Collection engineReadAll() throws StreamParsingException;
New to GrepCode? Check out our FAQ X