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,
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
- See Also:
- Constant Field Values
SIGN_DATA
public static final int SIGN_DATA
- See Also:
- Constant Field Values
ENCRYPT_COMMS
public static final int ENCRYPT_COMMS
- See Also:
- Constant Field Values
ENCRYPT_STORAGE
public static final int ENCRYPT_STORAGE
- See Also:
- Constant Field Values
SPLIT
public static final int SPLIT
- See Also:
- Constant Field Values
AUTHENTICATION
public static final int AUTHENTICATION
- See Also:
- Constant Field Values
SHARED
public static final int SHARED
- See Also:
- Constant Field Values
KeyFlags
public KeyFlags(boolean critical,
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.