Bouncy Castle Cryptography Library 1.81

org.bouncycastle.bcpg.sig
Class PrimaryUserID

java.lang.Object
  extended byorg.bouncycastle.bcpg.SignatureSubpacket
      extended byorg.bouncycastle.bcpg.sig.PrimaryUserID

public class PrimaryUserID
extends SignatureSubpacket

Signature Subpacket marking a User ID as primary.

See Also:
RFC4880 - Primary User ID, RFC9580 - Primary User ID

Field Summary
 
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
PrimaryUserID(boolean critical, boolean isPrimaryUserID)
           
PrimaryUserID(boolean critical, boolean isLongLength, byte[] data)
           
 
Method Summary
 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()

Bouncy Castle Cryptography Library 1.81