Welcome to mirror list, hosted at ThFree Co, Russian Federation.

PGPKeyFlags.java « openpgp « bouncycastle « org « java « main « src « pg - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e4a4de6d9a8ab79075bf0c7644c8f8389dc802e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.bouncycastle.openpgp;

/**
 * key flag values for the KeyFlags subpacket.
 */
public interface PGPKeyFlags
{
    public static final int CAN_CERTIFY = 0x01; // This key may be used to certify other keys.

    public static final int CAN_SIGN = 0x02; // This key may be used to sign data.

    public static final int CAN_ENCRYPT_COMMS = 0x04; // This key may be used to encrypt communications.

    public static final int CAN_ENCRYPT_STORAGE = 0x08; // This key may be used to encrypt storage.

    public static final int MAYBE_SPLIT = 0x10; // The private component of this key may have been split by a secret-sharing mechanism.

    public static final int MAYBE_SHARED = 0x80; // The private component of this key may be in the possession of more than one person.
}