Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ else if (signature.getSignatureType() == PGPSignature.PRIMARYKEY_BINDING)
throw new IncorrectOpenPGPSignatureException(this, "Key Signature is not correct.");
}
}
catch (PGPException e)
catch (PGPException | ClassCastException e)
{
this.isCorrect = false;
throw new PGPSignatureException("Key Signature could not be verified.", e);
Expand Down Expand Up @@ -1982,7 +1982,7 @@ protected void verifyUserIdSignature(OpenPGPComponentKey issuer,
throw new IncorrectOpenPGPSignatureException(this, "UserID Signature is not correct.");
}
}
catch (PGPException e)
catch (PGPException | ClassCastException e)
{
this.isCorrect = false;
throw new PGPSignatureException("UserID Signature could not be verified.", e);
Expand Down Expand Up @@ -2015,7 +2015,7 @@ protected void verifyUserAttributeSignature(OpenPGPComponentKey issuer,
throw new IncorrectOpenPGPSignatureException(this, "UserAttribute Signature is not correct.");
}
}
catch (PGPException e)
catch (PGPException | ClassCastException e)
{
this.isCorrect = false;
throw new PGPSignatureException("Could not verify UserAttribute Signature.", e);
Expand Down