|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.KeyFlags
Signature Subpacket encoding the capabilities / intended uses of a key.
Field Summary | |
static int |
AUTHENTICATION
This key may be used for authentication. |
static int |
CERTIFY_OTHER
This key may be used to make User ID certifications (signature type IDs 0x10-0x13) or direct key signatures (signature type ID 0x1F) over other peoples keys. |
static int |
ENCRYPT_COMMS
This key may be used to encrypt communications. |
static int |
ENCRYPT_STORAGE
This key may be used to encrypt storage. |
static int |
SHARED
The private component of this key may be in the possession of more than one person. |
static int |
SIGN_DATA
This key may be used to sign data. |
static int |
SPLIT
The private component of this key may have been split by a secret-sharing mechanism. |
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket |
data |
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 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 |
Field Detail |
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
Constructor Detail |
public KeyFlags(boolean critical, boolean isLongLength, byte[] data)
public KeyFlags(boolean critical, int flags)
Method Detail |
public int getFlags()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |