Class DEROctetString

java.lang.Object
org.jolokia.jvmagent.security.asn1.DEROctetString
All Implemented Interfaces:
DERObject

public class DEROctetString extends Object implements DERObject
  • Field Details

  • Constructor Details

    • DEROctetString

      public DEROctetString(byte tag, byte[] value)
    • DEROctetString

      public DEROctetString(byte tag, String value)
  • Method Details

    • getEncoded

      public byte[] getEncoded()
      Specified by:
      getEncoded in interface DERObject
    • isPrimitive

      public boolean isPrimitive()
      Description copied from interface: DERObject
      Whether the object is encoded as ASN.1 primitive (see 3.10 "primitive encoding"). If not primitive, the object is constructed, which means its contents octets are the complete encoding of one or more data values.
      Specified by:
      isPrimitive in interface DERObject
      Returns:
      true if the object encodes its value directly