public class BEROctetStringParser extends Object implements ASN1OctetStringParser
Modifier and Type | Field and Description |
---|---|
private ASN1StreamParser |
_parser |
Constructor and Description |
---|
BEROctetStringParser(ASN1StreamParser parser) |
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Get the in-memory representation of the ASN.1 object.
|
InputStream |
getOctetStream()
Return the content of the OCTET STRING as an InputStream.
|
ASN1Primitive |
toASN1Primitive()
Return an object, possibly constructed, of ASN.1 primitives
|
private ASN1StreamParser _parser
BEROctetStringParser(ASN1StreamParser parser)
public InputStream getOctetStream()
ASN1OctetStringParser
getOctetStream
in interface ASN1OctetStringParser
public ASN1Primitive getLoadedObject() throws IOException
InMemoryRepresentable
getLoadedObject
in interface InMemoryRepresentable
IOException
- for bad input data.public ASN1Primitive toASN1Primitive()
ASN1Encodable
toASN1Primitive
in interface ASN1Encodable