A X509StreamParser is used to read a collection of objects or a single object
of a certain X.509 object structure. E.g. one X509StreamParser can read
certificates, another one CRLs, certification paths, attribute certificates
and so on. The kind of object structure is specified with the
algorithm parameter to the getInstance methods.
Implementations must implement the
org..
| Modifier and Type | Field and Description |
|---|---|
| private Provider | |
| private X509StreamParserSpi |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static X509StreamParser | |
| public static X509StreamParser | Returns: a StreamParser object for the specified type.The name of the requested X.509 object type. type)Generates a StreamParser object that implements the specified type. |
| public static X509StreamParser | Returns: a X509StreamParser object for the specified type.the name of the requested X.509 object type. type, String the name of the provider. provider)Generates a X509StreamParser object for the specified type from the specified provider. |
| public static X509StreamParser | Returns: a X509StreamParser object for the specified type.the name of the requested X.509 object type. type, Provider the Provider to use. provider)Generates a X509StreamParser object for the specified type from the specified provider. |
| public Provider | |
| public void | |
| public void | |
| public Object | |
| public Collection |
| _provider | back to summary |
|---|---|
| private Provider _provider | |
| _spi | back to summary |
|---|---|
| private X509StreamParserSpi _spi | |
| X509StreamParser | back to summary |
|---|---|
| private X509StreamParser(Provider provider, X509StreamParserSpi spi) | |
| createParser | back to summary |
|---|---|
| private static X509StreamParser createParser(X509Util. | |
| getInstance | back to summary |
|---|---|
| public static X509StreamParser getInstance(String type) throws NoSuchParserException Generates a StreamParser object that implements the specified type. If the default provider package provides an implementation of the requested type, an instance of StreamParser containing that implementation is returned. If the type is not available in the default package, other packages are searched.
| |
| getInstance | back to summary |
|---|---|
| public static X509StreamParser getInstance(String type, String provider) throws NoSuchParserException, NoSuchProviderException Generates a X509StreamParser object for the specified type from the specified provider.
| |
| getInstance | back to summary |
|---|---|
| public static X509StreamParser getInstance(String type, Provider provider) throws NoSuchParserException Generates a X509StreamParser object for the specified type from the specified provider.
| |
| getProvider | back to summary |
|---|---|
| public Provider getProvider() | |
| init | back to summary |
|---|---|
| public void init(InputStream stream) | |
| init | back to summary |
|---|---|
| public void init(byte[] data) | |
| read | back to summary |
|---|---|
| public Object read() throws StreamParsingException Implements org. | |
| readAll | back to summary |
|---|---|
| public Collection Implements org. | |