Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jce.provider
Class X509AttrCertParser

java.lang.Object
  |
  +--org.bouncycastle.x509.X509StreamParserSpi
        |
        +--org.bouncycastle.jce.provider.X509AttrCertParser

public class X509AttrCertParser
extends X509StreamParserSpi


Constructor Summary
X509AttrCertParser()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509AttrCertParser

public X509AttrCertParser()
Method Detail

engineInit

public void engineInit(java.io.InputStream in)
Description copied from class: X509StreamParserSpi
Initializes this stream parser with the input stream.
Overrides:
engineInit in class X509StreamParserSpi
Following copied from class: org.bouncycastle.x509.X509StreamParserSpi
Parameters:
in - The input stream.

engineRead

public java.lang.Object engineRead()
                            throws StreamParsingException
Description copied from class: X509StreamParserSpi
Returns the next X.509 object of the type of this SPI from the given input stream.
Overrides:
engineRead in class X509StreamParserSpi
Following copied from class: org.bouncycastle.x509.X509StreamParserSpi
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

public java.util.Collection engineReadAll()
                                   throws StreamParsingException
Description copied from class: X509StreamParserSpi
Returns all X.509 objects of the type of this SPI from the given input stream.
Overrides:
engineReadAll in class X509StreamParserSpi
Following copied from class: org.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:
StreamParsingException - if an object cannot be created from input stream.

Bouncy Castle Cryptography Library 1.77.0