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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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