Interface DERObject

All Known Implementing Classes:
DERBitString, DERDirect, DERInteger, DERNull, DERObjectIdentifier, DEROctetString, DERSequence, DERSet, DERTaggedObject, DERUtcTime

public interface DERObject
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
     
    boolean
    Whether the object is encoded as ASN.1 primitive (see 3.10 "primitive encoding").
  • Field Details

  • Method Details

    • getEncoded

      byte[] getEncoded()
    • isPrimitive

      boolean isPrimitive()
      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.
      Returns:
      true if the object encodes its value directly