Class AttSignature

java.lang.Object
com.android.dx.cf.attrib.BaseAttribute
com.android.dx.cf.attrib.AttSignature
All Implemented Interfaces:
Attribute

public final class AttSignature extends BaseAttribute
Attribute class for standards-track Signature attributes.
  • Field Details

    • ATTRIBUTE_NAME

      public static final String ATTRIBUTE_NAME
      non-null; attribute name for attributes of this type
      See Also:
  • Constructor Details

    • AttSignature

      public AttSignature(CstString signature)
      Constructs an instance.
      Parameters:
      signature - non-null; the signature string
  • Method Details

    • byteLength

      public int byteLength()
      Get the total length of the attribute in bytes, including the header. Since the header is always six bytes, the result of this method is always at least 6.
      Returns:
      >= 6; the total length, in bytes
    • getSignature

      public CstString getSignature()
      Gets the signature string.
      Returns:
      non-null; the signature string