Package io.anyline.nfc.bouncycastle.asn1
Class DEROctetStringParser
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.asn1.ASN1OctetStringParser,io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable
public class DEROctetStringParser implements ASN1OctetStringParser
Parser for DER encoded OCTET STRINGS
-
-
Method Summary
Modifier and Type Method Description InputStreamgetOctetStream()Return an InputStream representing the contents of the OCTET STRING. ASN1PrimitivegetLoadedObject()Return an in-memory, encodable, representation of the OCTET STRING. ASN1PrimitivetoASN1Primitive()Return an DEROctetString 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 DEROctetString.
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Return an DEROctetString representing this parser and its contents.
- Returns:
an DEROctetString
-
-
-
-