java.lang.Object | |
↳ | org.bouncycastle.x509.X509StreamParser |
This class allows access to different implementations for reading X.509 objects from streams.
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
X509StreamParserSpi
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generates a X509StreamParser object for the specified type from the
specified provider.
| |||||||||||
Generates a X509StreamParser object for the specified type from the
specified provider.
| |||||||||||
Generates a StreamParser object that implements the specified type.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.x509.util.StreamParser
|
Generates a X509StreamParser object for the specified type from the specified provider.
type | the name of the requested X.509 object type. |
---|---|
provider | the name of the provider. |
NoSuchParserException | if the type is not available from the specified provider. |
---|---|
NoSuchProviderException | if the provider can not be found. |
Generates a X509StreamParser object for the specified type from the specified provider.
type | the name of the requested X.509 object type. |
---|---|
provider | the Provider to use. |
NoSuchParserException | if the type is not available from the specified provider. |
---|
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.
type | The name of the requested X.509 object type. |
---|
NoSuchParserException | if the requested type is not available in the default provider package or any of the other provider packages that were searched. |
---|