Class DEROctetString

All Implemented Interfaces:
ASN1Encodable, ASN1OctetStringParser, InMemoryRepresentable, Encodable

public class DEROctetString extends ASN1OctetString
Carrier class for a DER encoding OCTET STRING
  • Constructor Details

    • DEROctetString

      public DEROctetString(byte[] string)
      Base constructor.
      Parameters:
      string - the octets making up the octet string.
    • DEROctetString

      public DEROctetString(ASN1Encodable obj) throws IOException
      Constructor from the encoding of an ASN.1 object.
      Parameters:
      obj - the object to be encoded.
      Throws:
      IOException