signatures: a revocation reason does NOT determine if a cert is a revocation type
This commit is contained in:
1 parent
2f35e07c9e
commit
501d4b887a
1 file changed
+1
-1
+1
-1
@@ -86,7 +86,7 @@ public class WrappedSignature {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isRevocation() {
|
public boolean isRevocation() {
|
||||||
return mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.REVOCATION_REASON);
|
return mSig.getSignatureType() == PGPSignature.CERTIFICATION_REVOCATION;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPrimaryUserId() {
|
public boolean isPrimaryUserId() {
|
||||||
|
|||||||
Reference in new issue
Block a user