Package org.bouncycastle.asn1
Class BEROctetStringParser
java.lang.Object
org.bouncycastle.asn1.BEROctetStringParser
- All Implemented Interfaces:
ASN1Encodable
,ASN1OctetStringParser
,InMemoryRepresentable
Deprecated.
Check for 'ASN1OctetStringParser' instead
A parser for indefinite-length OCTET STRINGs.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return an in-memory, encodable, representation of the OCTET STRING.Deprecated.Return an InputStream representing the contents of the OCTET STRING.Deprecated.Return an BEROctetString representing this parser and its contents.
-
Method Details
-
getOctetStream
Deprecated.Return an InputStream representing the contents of the OCTET STRING.- Specified by:
getOctetStream
in interfaceASN1OctetStringParser
- Returns:
- an InputStream with its source as the OCTET STRING content.
-
getLoadedObject
Deprecated.Return an in-memory, encodable, representation of the OCTET STRING.- Specified by:
getLoadedObject
in interfaceInMemoryRepresentable
- Returns:
- a BEROctetString.
- Throws:
IOException
- if there is an issue loading the data.
-
toASN1Primitive
Deprecated.Return an BEROctetString representing this parser and its contents.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Returns:
- an BEROctetString
-