Uses of Class
org.pgpainless.algorithm.KeyFlag
-
Packages that use KeyFlag Package Description org.pgpainless.algorithm Enums which map to OpenPGP's algorithm IDs.org.pgpainless.key.generation Classes related to OpenPGP key generation.org.pgpainless.key.info Extract information from PGPKeyRings.org.pgpainless.key.modification.secretkeyring Classes that deal with modifications made toPGPSecretKeyRings
.org.pgpainless.signature.subpackets Classes related to OpenPGP signatures. -
-
Uses of KeyFlag in org.pgpainless.algorithm
Methods in org.pgpainless.algorithm that return KeyFlag Modifier and Type Method Description static KeyFlag
KeyFlag. valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyFlag[]
KeyFlag. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.pgpainless.algorithm that return types with arguments of type KeyFlag Modifier and Type Method Description static List<KeyFlag>
KeyFlag. fromBitmask(int bitmask)
Convert a bitmask into a list ofKeyFlags
.Methods in org.pgpainless.algorithm with parameters of type KeyFlag Modifier and Type Method Description static boolean
KeyFlag. containsAny(int mask, KeyFlag... flags)
static boolean
KeyFlag. hasKeyFlag(int mask, KeyFlag flag)
Return true if the provided bitmask has the bit for the provided flag set.static int
KeyFlag. toBitmask(KeyFlag... flags)
Encode a list ofKeyFlags
into a bitmask. -
Uses of KeyFlag in org.pgpainless.key.generation
Methods in org.pgpainless.key.generation with parameters of type KeyFlag Modifier and Type Method Description static KeySpecBuilder
KeySpec. getBuilder(KeyType type, KeyFlag flag, KeyFlag... flags)
-
Uses of KeyFlag in org.pgpainless.key.info
Methods in org.pgpainless.key.info that return types with arguments of type KeyFlag Modifier and Type Method Description List<KeyFlag>
KeyRingInfo. getKeyFlagsOf(long keyId)
Return a list ofKeyFlags
that apply to the subkey with the provided key id.List<KeyFlag>
KeyRingInfo. getKeyFlagsOf(String userId)
Return a list ofKeyFlags
that apply to the given user-id.Methods in org.pgpainless.key.info with parameters of type KeyFlag Modifier and Type Method Description Date
KeyRingInfo. getExpirationDateForUse(KeyFlag use)
Return the latest date on which the key ring is still usable for the given key flag.List<org.bouncycastle.openpgp.PGPPublicKey>
KeyRingInfo. getKeysWithKeyFlag(KeyFlag flag)
Return a list of all keys which carry the provided key flag in their signature. -
Uses of KeyFlag in org.pgpainless.key.modification.secretkeyring
Methods in org.pgpainless.key.modification.secretkeyring with parameters of type KeyFlag Modifier and Type Method Description SecretKeyRingEditorInterface
SecretKeyRingEditor. addSubKey(org.bouncycastle.openpgp.PGPKeyPair subkey, SelfSignatureSubpackets.Callback bindingSignatureCallback, SecretKeyRingProtector subkeyProtector, SecretKeyRingProtector primaryKeyProtector, KeyFlag keyFlag, KeyFlag... additionalKeyFlags)
SecretKeyRingEditorInterface
SecretKeyRingEditorInterface. addSubKey(org.bouncycastle.openpgp.PGPKeyPair subkey, SelfSignatureSubpackets.Callback bindingSignatureCallback, SecretKeyRingProtector subkeyProtector, SecretKeyRingProtector primaryKeyProtector, KeyFlag keyFlag, KeyFlag... additionalKeyFlags)
Add a subkey to the key ring. -
Uses of KeyFlag in org.pgpainless.signature.subpackets
Methods in org.pgpainless.signature.subpackets that return types with arguments of type KeyFlag Modifier and Type Method Description static List<KeyFlag>
SignatureSubpacketsUtil. parseKeyFlags(org.bouncycastle.openpgp.PGPSignature signature)
Return a list of key flags carried by the signature.Methods in org.pgpainless.signature.subpackets with parameters of type KeyFlag Modifier and Type Method Description static void
SignatureSubpacketsUtil. assureKeyCanCarryFlags(PublicKeyAlgorithm algorithm, KeyFlag... flags)
static void
SignatureSubpacketsUtil. assureKeyCanCarryFlags(KeyType type, KeyFlag... flags)
Make sure that the given key type can carry the given key flags.SelfSignatureSubpackets
SelfSignatureSubpackets. setKeyFlags(boolean isCritical, KeyFlag... keyFlags)
SelfSignatureSubpackets
SelfSignatureSubpackets. setKeyFlags(KeyFlag... keyFlags)
SignatureSubpackets
SignatureSubpackets. setKeyFlags(boolean isCritical, KeyFlag... keyFlags)
SignatureSubpackets
SignatureSubpackets. setKeyFlags(KeyFlag... keyFlags)
Method parameters in org.pgpainless.signature.subpackets with type arguments of type KeyFlag Modifier and Type Method Description default SelfSignatureSubpackets
SelfSignatureSubpackets. setKeyFlags(List<KeyFlag> keyFlags)
-