public class DEROctetStringParser extends Object implements ASN1OctetStringParser
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Return an in-memory, encodable, representation of the OCTET STRING.
|
InputStream |
getOctetStream()
Return an InputStream representing the contents of the OCTET STRING.
|
ASN1Primitive |
toASN1Primitive()
Return an DEROctetString representing this parser and its contents.
|
public InputStream getOctetStream()
getOctetStream
in interface ASN1OctetStringParser
public ASN1Primitive getLoadedObject() throws IOException
getLoadedObject
in interface InMemoryRepresentable
IOException
- if there is an issue loading the data.public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
Copyright © 2018 BouncyCastle.org. All rights reserved.