| Modifier and Type | Field and Description |
|---|---|
| public static final int | AUTHENTICATION
This key may be used for authentication. |
| public static final 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. |
| public static final int | ENCRYPT_COMMS
This key may be used to encrypt communications. |
| public static final int | ENCRYPT_STORAGE
This key may be used to encrypt storage. |
| public static final int | SHARED
The private component of this key may be in the possession of more than one person. |
| public static final int | SIGN_DATA
This key may be used to sign data. |
| public static final int | SPLIT
The private component of this key may have been split by a secret-sharing mechanism. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: flag values.Return the flag values contained in the first 4 octets (note: at the moment the standard only uses the first one). |
| private static byte[] |
| AUTHENTICATION | back to summary |
|---|---|
| public static final int AUTHENTICATION This key may be used for authentication. | |
| CERTIFY_OTHER | back to summary |
|---|---|
| public static final 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. | |
| ENCRYPT_COMMS | back to summary |
|---|---|
| public static final int ENCRYPT_COMMS This key may be used to encrypt communications. | |
| ENCRYPT_STORAGE | back to summary |
|---|---|
| public static final int ENCRYPT_STORAGE This key may be used to encrypt storage. | |
| SHARED | back to summary |
|---|---|
| public static final int SHARED The private component of this key may be in the possession of more than one person. | |
| SIGN_DATA | back to summary |
|---|---|
| public static final int SIGN_DATA This key may be used to sign data. | |
| SPLIT | back to summary |
|---|---|
| public static final int SPLIT The private component of this key may have been split by a secret-sharing mechanism. | |
| KeyFlags | back to summary |
|---|---|
| public KeyFlags(boolean critical, boolean isLongLength, byte[] data) | |
| KeyFlags | back to summary |
|---|---|
| public KeyFlags(boolean critical, int flags) | |
| getFlags | back to summary |
|---|---|
| public int getFlags() Return the flag values contained in the first 4 octets (note: at the moment the standard only uses the first one).
| |
| intToByteArray | back to summary |
|---|---|
| private static byte[] intToByteArray(int v) | |