Class SignatureVerification.Failure
- java.lang.Object
-
- org.pgpainless.decryption_verification.SignatureVerification.Failure
-
- Enclosing class:
- SignatureVerification
public static class SignatureVerification.Failure extends Object
Tuple object of aSignatureVerification
and the correspondingSignatureValidationException
that caused the verification to fail.
-
-
Constructor Summary
Constructors Constructor Description Failure(SignatureVerification verification, SignatureValidationException validationException)
Construct a signature verification failure object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureVerification
getSignatureVerification()
Return the verification (tuple ofPGPSignature
and correspondingSubkeyIdentifier
) of the signing/verification key.SignatureValidationException
getValidationException()
Return theSignatureValidationException
that caused the verification to fail.String
toString()
-
-
-
Constructor Detail
-
Failure
public Failure(SignatureVerification verification, SignatureValidationException validationException)
Construct a signature verification failure object.- Parameters:
verification
- verificationvalidationException
- exception that caused the verification to fail
-
-
Method Detail
-
getSignatureVerification
public SignatureVerification getSignatureVerification()
Return the verification (tuple ofPGPSignature
and correspondingSubkeyIdentifier
) of the signing/verification key.- Returns:
- verification
-
getValidationException
public SignatureValidationException getValidationException()
Return theSignatureValidationException
that caused the verification to fail.- Returns:
- exception
-
-