Package org.bouncycastle.asn1
Class DEROctetStringParser
- java.lang.Object
-
- org.bouncycastle.asn1.DEROctetStringParser
-
- All Implemented Interfaces:
ASN1Encodable,ASN1OctetStringParser,InMemoryRepresentable
public class DEROctetStringParser extends Object implements ASN1OctetStringParser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Get the in-memory representation of the ASN.1 object.InputStreamgetOctetStream()Return the content of the OCTET STRING as an InputStream.ASN1PrimitivetoASN1Primitive()Return an object, possibly constructed, of ASN.1 primitives
-
-
-
Method Detail
-
getOctetStream
public InputStream getOctetStream()
Description copied from interface:ASN1OctetStringParserReturn the content of the OCTET STRING as an InputStream.- Specified by:
getOctetStreamin interfaceASN1OctetStringParser- Returns:
- an InputStream representing the OCTET STRING's content.
-
getLoadedObject
public ASN1Primitive getLoadedObject() throws IOException
Description copied from interface:InMemoryRepresentableGet the in-memory representation of the ASN.1 object.- Specified by:
getLoadedObjectin interfaceInMemoryRepresentable- Throws:
IOException- for bad input data.
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from interface:ASN1EncodableReturn an object, possibly constructed, of ASN.1 primitives- Specified by:
toASN1Primitivein interfaceASN1Encodable- Returns:
- an ASN.1 primitive.
-
-