org.bouncycastle.bcpg.sig
Class KeyFlags
java.lang.Object
|
+--org.bouncycastle.bcpg.SignatureSubpacket
|
+--org.bouncycastle.bcpg.sig.KeyFlags
- public class KeyFlags
- extends SignatureSubpacket
Packet holding the key flag values.
Constructor Summary |
KeyFlags(boolean critical,
boolean isLongLength,
byte[] data)
|
KeyFlags(boolean critical,
int flags)
|
Method Summary |
int |
getFlags()
Return the flag values contained in the first 4 octets (note: at the moment
the standard only uses the first one). |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
CERTIFY_OTHER
public static final int CERTIFY_OTHER
SIGN_DATA
public static final int SIGN_DATA
ENCRYPT_COMMS
public static final int ENCRYPT_COMMS
ENCRYPT_STORAGE
public static final int ENCRYPT_STORAGE
SPLIT
public static final int SPLIT
AUTHENTICATION
public static final int AUTHENTICATION
SHARED
public static final int SHARED
KeyFlags
public KeyFlags(boolean critical,
boolean isLongLength,
byte[] data)
KeyFlags
public KeyFlags(boolean critical,
int flags)
getFlags
public int getFlags()
- Return the flag values contained in the first 4 octets (note: at the moment
the standard only uses the first one).
- Returns:
- flag values.