Bouncy Castle Cryptography Library 1.79

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

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
RevocationReason(boolean isCritical, boolean isLongLength, byte[] data)
           
RevocationReason(boolean isCritical, byte reason, java.lang.String description)
           
 
Method Summary
 java.lang.String getRevocationDescription()
           
 byte getRevocationReason()
           
 
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevocationReason

public RevocationReason(boolean isCritical,
                        boolean isLongLength,
                        byte[] data)

RevocationReason

public RevocationReason(boolean isCritical,
                        byte reason,
                        java.lang.String description)
Method Detail

getRevocationReason

public byte getRevocationReason()

getRevocationDescription

public java.lang.String getRevocationDescription()

Bouncy Castle Cryptography Library 1.79