org.bouncycastle.bcpg.sig
Class RevocationReason
java.lang.Object
|
+--org.bouncycastle.bcpg.SignatureSubpacket
|
+--org.bouncycastle.bcpg.sig.RevocationReason
- public class RevocationReason
- extends SignatureSubpacket
Signature Subpacket for encoding the reason why a key was revoked.
- See Also:
-
RFC4880 - Reason for Revocation,
RFC9580 - Reason for Revocation
Constructor Summary |
RevocationReason(boolean isCritical,
boolean isLongLength,
byte[] data)
|
RevocationReason(boolean isCritical,
byte reason,
java.lang.String description)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RevocationReason
public RevocationReason(boolean isCritical,
boolean isLongLength,
byte[] data)
RevocationReason
public RevocationReason(boolean isCritical,
byte reason,
java.lang.String description)
getRevocationReason
public byte getRevocationReason()
getRevocationDescription
public java.lang.String getRevocationDescription()