Package org.bouncycastle.jce.provider
Class X509AttrCertParser
java.lang.Object
org.bouncycastle.x509.X509StreamParserSpi
org.bouncycastle.jce.provider.X509AttrCertParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes 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
-
X509AttrCertParser
public X509AttrCertParser()
-
-
Method Details
-
engineInit
Description copied from class:X509StreamParserSpi
Initializes this stream parser with the input stream.- Specified by:
engineInit
in classX509StreamParserSpi
- Parameters:
in
- The input stream.
-
engineRead
Description copied from class:X509StreamParserSpi
Returns the next X.509 object of the type of this SPI from the given input stream.- Specified by:
engineRead
in classX509StreamParserSpi
- Returns:
- the next X.509 object in the stream or
null
if the end of the stream is reached. - Throws:
StreamParsingException
- if the object cannot be created from input stream.
-
engineReadAll
Description copied from class:X509StreamParserSpi
Returns all X.509 objects of the type of this SPI from the given input stream.- Specified by:
engineReadAll
in classX509StreamParserSpi
- Returns:
- A collection of all X.509 objects in the input stream or
null
if the end of the stream is reached. - Throws:
StreamParsingException
- if an object cannot be created from input stream.
-