Package org.bouncycastle.bcpg.sig

## Class RevocationReason

- java.lang.Object
- - org.bouncycastle.bcpg.SignatureSubpacket
  - - org.bouncycastle.bcpg.sig.RevocationReason

-     public class RevocationReason
      extends SignatureSubpacket

  Represents revocation reason OpenPGP signature sub packet.

- - ### Field Summary

    - ### Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket

      `data`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RevocationReason​(boolean isCritical, boolean isLongLength, byte[] data)` |
    `RevocationReason​(boolean isCritical, byte reason, java.lang.String description)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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()