All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.spongycastle.openpgp.PGPKeyFlags Maven / Gradle / Ivy

Go to download

Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle intended for Android. Android ships with a stripped-down version of Bouncy Castle - this causes classloader collisions if you try to add an alternative (updated/complete) Bouncy Castle jar. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5.

There is a newer version: 1.46.99.3-UNOFFICIAL-ROBERTO-RELEASE
Show newest version
package org.spongycastle.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.
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy