Top Description Fields Constructors Methods
org.bouncycastle.bcpg.sig

public Class PrimaryUserID

extends SignatureSubpacket
Class Inheritance
Imports
org.bouncycastle.bcpg.SignatureSubpacket, .SignatureSubpacketTags

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

Field Summary

Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
data

Constructor Summary

AccessConstructor and Description
public
PrimaryUserID(boolean critical, boolean isLongLength, byte[] data)

public
PrimaryUserID(boolean critical, boolean isPrimaryUserID)

Method Summary

Modifier and TypeMethod and Description
private static byte[]
booleanToByteArray(boolean value)

public boolean
Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
encodeequalsgetDatagetTypehashCodeisCriticalisLongLength

Constructor Detail

PrimaryUserIDback to summary
public PrimaryUserID(boolean critical, boolean isLongLength, byte[] data)
PrimaryUserIDback to summary
public PrimaryUserID(boolean critical, boolean isPrimaryUserID)

Method Detail

booleanToByteArrayback to summary
private static byte[] booleanToByteArray(boolean value)
isPrimaryUserIDback to summary
public boolean isPrimaryUserID()