Package org.bouncycastle.jce.provider
Class X509CertPairParser
java.lang.Object
org.bouncycastle.x509.X509StreamParserSpi
org.bouncycastle.jce.provider.X509CertPairParser
public class X509CertPairParser
extends org.bouncycastle.x509.X509StreamParserSpi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes this stream parser with the input stream.Returns the next X.509 object of the type of this SPI from the given input stream.Returns all X.509 objects of the type of this SPI from the given input stream.
-
Constructor Details
-
X509CertPairParser
public X509CertPairParser()
-
-
Method Details
-
engineInit
Description copied from class:org.bouncycastle.x509.X509StreamParserSpiInitializes this stream parser with the input stream.- Specified by:
engineInitin classorg.bouncycastle.x509.X509StreamParserSpi- Parameters:
in- The input stream.
-
engineRead
Description copied from class:org.bouncycastle.x509.X509StreamParserSpiReturns the next X.509 object of the type of this SPI from the given input stream.- Specified by:
engineReadin classorg.bouncycastle.x509.X509StreamParserSpi- Returns:
- the next X.509 object in the stream or
nullif the end of the stream is reached. - Throws:
org.bouncycastle.x509.util.StreamParsingException- if the object cannot be created from input stream.
-
engineReadAll
Description copied from class:org.bouncycastle.x509.X509StreamParserSpiReturns all X.509 objects of the type of this SPI from the given input stream.- Specified by:
engineReadAllin classorg.bouncycastle.x509.X509StreamParserSpi- Returns:
- A collection of all X.509 objects in the input stream or
nullif the end of the stream is reached. - Throws:
org.bouncycastle.x509.util.StreamParsingException- if an object cannot be created from input stream.
-