Package org.bouncycastle.bcpg.sig

## Class SignatureTarget

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

-     public class SignatureTarget
      extends SignatureSubpacket

  RFC 4880, Section 5.2.3.25 - Signature Target subpacket.

- - ### Field Summary

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

      `data`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SignatureTarget​(boolean critical, boolean isLongLength, byte[] data)` |
    `SignatureTarget​(boolean critical, int publicKeyAlgorithm, int hashAlgorithm, byte[] hashData)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getHashAlgorithm()` |
    `byte[]` | `getHashData()` |
    `int` | `getPublicKeyAlgorithm()` |

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

    - #### SignatureTarget

          public SignatureTarget​(boolean critical,
                                 boolean isLongLength,
                                 byte[] data)

    - #### SignatureTarget

          public SignatureTarget​(boolean critical,
                                 int publicKeyAlgorithm,
                                 int hashAlgorithm,
                                 byte[] hashData)

  - ### Method Detail

    - #### getPublicKeyAlgorithm

          public int getPublicKeyAlgorithm()

    - #### getHashAlgorithm

          public int getHashAlgorithm()

    - #### getHashData

          public byte[] getHashData()