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