RevocationReason
Date: 2016-06-23

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 and Description
    `RevocationReason(boolean isCritical, boolean isLongLength, byte[] data)`
    `RevocationReason(boolean isCritical, byte reason, java.lang.String description)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getRevocationDescription()`
    `byte` | `getRevocationReason()`

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

      `encode, getData, getType, isCritical, isLongLength`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, 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()