public class X509AttrCertParser extends X509StreamParserSpi
| Modifier and Type | Field and Description |
|---|---|
private java.io.InputStream |
currentStream |
private static PEMUtil |
PEM_PARSER |
private ASN1Set |
sData |
private int |
sDataObjectCount |
| Constructor and Description |
|---|
X509AttrCertParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
engineInit(java.io.InputStream in)
Initializes this stream parser with the input stream.
|
java.lang.Object |
engineRead()
Returns the next X.509 object of the type of this SPI from the given
input stream.
|
java.util.Collection |
engineReadAll()
Returns all X.509 objects of the type of this SPI from
the given input stream.
|
private X509AttributeCertificate |
getCertificate() |
private X509AttributeCertificate |
readDERCertificate(java.io.InputStream in) |
private X509AttributeCertificate |
readPEMCertificate(java.io.InputStream in) |
private static final PEMUtil PEM_PARSER
private ASN1Set sData
private int sDataObjectCount
private java.io.InputStream currentStream
private X509AttributeCertificate readDERCertificate(java.io.InputStream in) throws java.io.IOException
java.io.IOExceptionprivate X509AttributeCertificate getCertificate() throws java.io.IOException
java.io.IOExceptionprivate X509AttributeCertificate readPEMCertificate(java.io.InputStream in) throws java.io.IOException
java.io.IOExceptionpublic void engineInit(java.io.InputStream in)
X509StreamParserSpiengineInit in class X509StreamParserSpiin - The input stream.public java.lang.Object engineRead()
throws StreamParsingException
X509StreamParserSpiengineRead in class X509StreamParserSpinull if the
end of the stream is reached.StreamParsingException - if the object cannot be created from input stream.public java.util.Collection engineReadAll()
throws StreamParsingException
X509StreamParserSpiengineReadAll in class X509StreamParserSpinull if the end of the stream is reached.StreamParsingException - if an object cannot be created from input stream.Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.