public static interface GpgSignatureVerifier.SignatureVerification
SignatureVerification
returns data about a (positively or
negatively) verified signature.Modifier and Type | Method and Description |
---|---|
Date |
getCreationDate() |
String |
getKeyFingerprint()
Obtains the short or long fingerprint of the public key as stored in
the signature, if known.
|
String |
getKeyUser()
Obtains the OpenPGP user ID associated with the key.
|
String |
getMessage()
Obtains a human-readable message giving additional information about
the outcome of the verification.
|
String |
getSigner()
Obtains the signer as stored in the signature, if known.
|
GpgSignatureVerifier.TrustLevel |
getTrustLevel()
Obtains the trust level of the public key used to verify the
signature.
|
boolean |
getVerified()
Tells whether the signature verification was successful.
|
boolean |
isExpired()
Tells whether the public key used for this signature verification was
expired when the signature was created.
|
String getSigner()
null
if unknownString getKeyFingerprint()
null
if unknownString getKeyUser()
null
if unknownboolean isExpired()
true
if the key was expired already, false
otherwise@NonNull GpgSignatureVerifier.TrustLevel getTrustLevel()
boolean getVerified()
true
if the signature was verified successfully;
false
if not.String getMessage()
null
if none set.Copyright © 2021 Eclipse JGit Project. All rights reserved.