Package io.anyline.nfc.bouncycastle.asn1
Class BEROctetStringParser
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.ASN1OctetStringParser
,io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable
public class BEROctetStringParser implements ASN1OctetStringParser
A parser for indefinite-length OCTET STRINGs.
-
-
Method Summary
Modifier and Type Method Description InputStream
getOctetStream()
Return an InputStream representing the contents of the OCTET STRING. ASN1Primitive
getLoadedObject()
Return an in-memory, encodable, representation of the OCTET STRING. ASN1Primitive
toASN1Primitive()
Return an BEROctetString representing this parser and its contents. -
-
Method Detail
-
getOctetStream
InputStream getOctetStream()
Return an InputStream representing the contents of the OCTET STRING.
- Returns:
an InputStream with its source as the OCTET STRING content.
-
getLoadedObject
ASN1Primitive getLoadedObject()
Return an in-memory, encodable, representation of the OCTET STRING.
- Returns:
a BEROctetString.
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Return an BEROctetString representing this parser and its contents.
- Returns:
an BEROctetString
-
-
-
-