mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 00:18:51 -05:00
signatures: a revocation reason does NOT determine if a cert is a revocation type
This commit is contained in:
parent
2f35e07c9e
commit
501d4b887a
@ -86,7 +86,7 @@ public class WrappedSignature {
|
||||
}
|
||||
|
||||
public boolean isRevocation() {
|
||||
return mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.REVOCATION_REASON);
|
||||
return mSig.getSignatureType() == PGPSignature.CERTIFICATION_REVOCATION;
|
||||
}
|
||||
|
||||
public boolean isPrimaryUserId() {
|
||||
|
Loading…
Reference in New Issue
Block a user