Package org.bouncycastle.jce.provider
Class X509CertParser
- java.lang.Object
-
- org.bouncycastle.x509.X509StreamParserSpi
-
- org.bouncycastle.jce.provider.X509CertParser
-
public class X509CertParser extends org.bouncycastle.x509.X509StreamParserSpi
Deprecated.use CertificateFactory or the PEMParser in the openssl package (pkix jar).
-
-
Constructor Summary
Constructors Constructor Description X509CertParser()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
engineInit(java.io.InputStream in)
Deprecated.Initializes this stream parser with the input stream.java.lang.Object
engineRead()
Deprecated.Returns the next X.509 object of the type of this SPI from the given input stream.java.util.Collection
engineReadAll()
Deprecated.Returns all X.509 objects of the type of this SPI from the given input stream.
-
-
-
Method Detail
-
engineInit
public void engineInit(java.io.InputStream in)
Deprecated.Description copied from class:org.bouncycastle.x509.X509StreamParserSpi
Initializes this stream parser with the input stream.- Specified by:
engineInit
in classorg.bouncycastle.x509.X509StreamParserSpi
- Parameters:
in
- The input stream.
-
engineRead
public java.lang.Object engineRead() throws org.bouncycastle.x509.util.StreamParsingException
Deprecated.Description copied from class:org.bouncycastle.x509.X509StreamParserSpi
Returns the next X.509 object of the type of this SPI from the given input stream.- Specified by:
engineRead
in classorg.bouncycastle.x509.X509StreamParserSpi
- 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.
-
engineReadAll
public java.util.Collection engineReadAll() throws org.bouncycastle.x509.util.StreamParsingException
Deprecated.Description copied from class:org.bouncycastle.x509.X509StreamParserSpi
Returns all X.509 objects of the type of this SPI from the given input stream.- Specified by:
engineReadAll
in classorg.bouncycastle.x509.X509StreamParserSpi
- 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.
-
-