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