public class KeyFlags extends SignatureSubpacket
Modifier and Type | Field and Description |
---|---|
static int |
AUTHENTICATION |
static int |
CERTIFY_OTHER |
static int |
ENCRYPT_COMMS |
static int |
ENCRYPT_STORAGE |
static int |
SHARED |
static int |
SIGN_DATA |
static int |
SPLIT |
data
Constructor and Description |
---|
KeyFlags(boolean critical,
boolean isLongLength,
byte[] data) |
KeyFlags(boolean critical,
int flags) |
Modifier and Type | Method and Description |
---|---|
int |
getFlags()
Return the flag values contained in the first 4 octets (note: at the moment
the standard only uses the first one).
|
encode, equals, getData, getType, hashCode, isCritical, isLongLength
public static final int CERTIFY_OTHER
public static final int SIGN_DATA
public static final int ENCRYPT_COMMS
public static final int ENCRYPT_STORAGE
public static final int SPLIT
public static final int AUTHENTICATION
public static final int SHARED