Class FileMetadata.Signature

java.lang.Object
org.c02e.jpgpj.FileMetadata.Signature
Enclosing class:
FileMetadata

public static class FileMetadata.Signature extends Object
Signature found by decryptor.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Key
     
    private long
     
    private boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs blank signature object.
    Signature(long keyId)
    Constructs unverified signature object for the specified subkey ID.
    Signature(long keyId, Key key)
    Constructs unverified signature object for the specified key.
  • Method Summary

    Modifier and Type
    Method
    Description
    Key used for signature, or null.
    long
    ID of subkey used for signature.
    Key used for signature if verified, or null.
    boolean
    True if signature was verified.
    void
    Key used for signature, or null.
    void
    setKeyId(long x)
    ID of subkey used for signature.
    void
    setVerified(boolean x)
    True if signature was verified.
    void
    Key used for signature if verified, or null.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • verified

      private boolean verified
    • keyId

      private long keyId
    • key

      private Key key
  • Constructor Details

    • Signature

      public Signature()
      Constructs blank signature object.
    • Signature

      public Signature(long keyId)
      Constructs unverified signature object for the specified subkey ID.
    • Signature

      public Signature(long keyId, Key key)
      Constructs unverified signature object for the specified key.
  • Method Details

    • isVerified

      public boolean isVerified()
      True if signature was verified.
    • setVerified

      public void setVerified(boolean x)
      True if signature was verified.
    • getKeyId

      public long getKeyId()
      ID of subkey used for signature.
    • setKeyId

      public void setKeyId(long x)
      ID of subkey used for signature.
    • getKey

      public Key getKey()
      Key used for signature, or null.
    • setKey

      public void setKey(Key x)
      Key used for signature, or null.
    • getVerifiedKey

      public Key getVerifiedKey()
      Key used for signature if verified, or null.
    • setVerifiedKey

      public void setVerifiedKey(Key x)
      Key used for signature if verified, or null.