Class OctetString

    • Constructor Detail

      • OctetString

        public OctetString​(byte[] value)
        Create octet string
        Parameters:
        value - the value part of the TLV object
      • OctetString

        public OctetString​(TLV tlv)
                    throws TLVEncodingException
        Copy constructor to convert PrimitiveTLV to typed object Make sure, that the parent is updated with the new reference
        Parameters:
        tlv - the PrimitiveTLV object
        Throws:
        TLVEncodingException