01: package org.bouncycastle.openpgp;
02:
03: /**
04: * key flag values for the KeyFlags subpacket.
05: */
06: public interface PGPKeyFlags {
07: public static final int CAN_CERTIFY = 0x01; // This key may be used to certify other keys.
08:
09: public static final int CAN_SIGN = 0x02; // This key may be used to sign data.
10:
11: public static final int CAN_ENCRYPT_COMMS = 0x04; // This key may be used to encrypt communications.
12:
13: public static final int CAN_ENCRYPT_STORAGE = 0x08; // This key may be used to encrypt storage.
14:
15: public static final int MAYBE_SPLIT = 0x10; // The private component of this key may have been split by a secret-sharing mechanism.
16:
17: public static final int MAYBE_SHARED = 0x80; // The private component of this key may be in the possession of more than one person.
18: }
|