Package org.bouncycastle.bcpg.sig

## Class RevocationKey

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

-     public class RevocationKey
      extends SignatureSubpacket

  Represents revocation key OpenPGP signature sub packet.

- - ### Field Summary

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

      `data`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RevocationKey​(boolean isCritical, boolean isLongLength, byte[] data)` |
    `RevocationKey​(boolean isCritical, byte signatureClass, int keyAlgorithm, byte[] fingerprint)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getAlgorithm()` |
    `byte[]` | `getFingerprint()` |
    `byte` | `getSignatureClass()` |

    - ### 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

    - #### RevocationKey

          public RevocationKey​(boolean isCritical,
                               boolean isLongLength,
                               byte[] data)

    - #### RevocationKey

          public RevocationKey​(boolean isCritical,
                               byte signatureClass,
                               int keyAlgorithm,
                               byte[] fingerprint)

  - ### Method Detail

    - #### getSignatureClass

          public byte getSignatureClass()

    - #### getAlgorithm

          public int getAlgorithm()

    - #### getFingerprint

          public byte[] getFingerprint()