List of usage examples for org.bouncycastle.bcpg SignatureSubpacketTags REVOCABLE
int REVOCABLE
To view the source code for org.bouncycastle.bcpg SignatureSubpacketTags REVOCABLE.
Click Source Link
From source file:org.sufficientlysecure.keychain.pgp.WrappedSignature.java
License:Open Source License
/** Returns true if this certificate is revocable in general. */ public boolean isRevokable() { // If nothing is specified, the packet is considered revocable if (mSig.getHashedSubPackets() == null || !mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.REVOCABLE)) { return true; }// www .j a v a 2s . c o m SignatureSubpacket p = mSig.getHashedSubPackets().getSubpacket(SignatureSubpacketTags.REVOCABLE); return ((Revocable) p).isRevocable(); }