Class CliSigField

All Implemented Interfaces:
CliRepresentable, StructConverter

public class CliSigField extends CliAbstractSig
  • Constructor Details

  • Method Details

    • isFieldSig

      public static boolean isFieldSig(CliBlob blob) throws IOException
      Checks whether this could *possibly* be a FieldSig. Only looks at the identifier byte. Useful for signature index that could be to different kinds of signatures.
      Parameters:
      blob -
      Returns:
      Throws:
      IOException
    • getType

      public CliAbstractSig.CliParam getType()
    • getContentsDataType

      public DataType getContentsDataType()
      Description copied from class: CliBlob
      Gets the data type associated with this blob's contents.
      Specified by:
      getContentsDataType in class CliAbstractSig
      Returns:
      The data type associated with this blob's contents.
    • getContentsName

      public String getContentsName()
      Description copied from class: CliBlob
      Gets the name associated with this blob's contents.
      Specified by:
      getContentsName in class CliAbstractSig
      Returns:
      The name associated with this blob's contents.
    • getContentsComment

      public String getContentsComment()
      Description copied from class: CliBlob
      Gets the comment associated with this blob's contents.
      Specified by:
      getContentsComment in class CliAbstractSig
      Returns:
      The comment associated with this blob's contents.
    • getRepresentationCommon

      public String getRepresentationCommon(CliStreamMetadata stream, boolean isShort)
      Description copied from class: CliAbstractSig
      This is the method that subclasses should override. If stream is null, the method must not cause a NullPointerException, i.e. it must handle this as if there was no stream to begin with.
      Specified by:
      getRepresentationCommon in class CliAbstractSig