Package org.bouncycastle.bcpg.sig

## Class PrimaryUserID

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

-     public class PrimaryUserID
      extends SignatureSubpacket

  packet giving whether or not the signature is signed using the primary user ID for the key.

- - ### Field Summary

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

      `data`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PrimaryUserID​(boolean critical, boolean isPrimaryUserID)` |
    `PrimaryUserID​(boolean critical, boolean isLongLength, byte[] data)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isPrimaryUserID()` |

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

    - #### PrimaryUserID

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

    - #### PrimaryUserID

          public PrimaryUserID​(boolean critical,
                               boolean isPrimaryUserID)

  - ### Method Detail

    - #### isPrimaryUserID

          public boolean isPrimaryUserID()