Uses of Class
org.c02e.jpgpj.Key
Packages that use Key
-
Uses of Key in org.c02e.jpgpj
Fields in org.c02e.jpgpj declared as KeyFields in org.c02e.jpgpj with type parameters of type KeyMethods in org.c02e.jpgpj that return KeyModifier and TypeMethodDescriptionKey.clone()
Deprecated.FileMetadata.Signature.getKey()
Key used for signature, or null.Decryptor.Verifier.getSignedBy()
Copy of matched key with signingUid configured and only public subkeys, or null.FileMetadata.Signature.getVerifiedKey()
Key used for signature if verified, or null.protected Key
protected Key
Ring.newKey
(org.bouncycastle.openpgp.PGPPublicKeyRing ring) protected Key
Ring.newKey
(org.bouncycastle.openpgp.PGPSecretKeyRing ring) Key.toPublicKey()
Creates a copy of this with only the public parts of the key.Methods in org.c02e.jpgpj that return types with arguments of type KeyModifier and TypeMethodDescriptionAll keys for which the specified ID is any subkey's full ID.All keys for which the specified string is a case-insensitive substring of either: any subkey's full ID (eg "0x1234567890ABCDEF") any subkey's fingerprint (eg "1234567890ABCDEF1234567890ABCDEF12345678") any one of any subkey's user IDs (eg "Alice (work) <alice@example.com>")All keys for which the specified pattern matches any part of either: any subkey's full ID (eg "0x1234567890ABCDEF") any subkey's fingerprint (eg "1234567890ABCDEF1234567890ABCDEF12345678") any one of any subkey's user IDs (eg "Alice (work) <alice@example.com>")Ring.getDecryptionKeys()
All keys that can decrypt, or an empty list.Ring.getEncryptionKeys()
All keys that can encrypt, or an empty list.Ring.getKeys()
All keys, an or an empty list.Ring.getSigningKeys()
All keys that can sign, or an empty list.Ring.getVerificationKeys()
All keys that can verify, or an empty list.Loads all keys from the specified file, and adds them to this ring's existing list of keys.Ring.load
(InputStream stream) Loads all keys from the specified input stream, and adds them to this ring's existing list of keys.Loads all keys from the specified armored text, and adds them to this ring's existing list of keys.Methods in org.c02e.jpgpj with parameters of type KeyModifier and TypeMethodDescriptionprotected org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator
Encryptor.buildPublicKeyEncryptor
(Key key, FileMetadata meta) Builds a PublicKeyKeyEncryptionMethodGenerator for the specified key.protected org.bouncycastle.openpgp.PGPSignatureGenerator
Encryptor.buildSigner
(Key key, FileMetadata meta) Builds a PGPSignatureGenerator for the specified key and content.void
Key used for signature, or null.void
FileMetadata.Signature.setVerifiedKey
(Key x) Key used for signature if verified, or null.Method parameters in org.c02e.jpgpj with type arguments of type KeyModifier and TypeMethodDescriptionprotected void
protected void
All keys, an or an empty list.Constructors in org.c02e.jpgpj with parameters of type KeyModifierConstructorDescriptionConstructs a decryptor with the specified keys.Constructs an encryptor with the specified keys.Constructs a new ring with the specified array of keys.Constructs unverified signature object for the specified key.Constructor parameters in org.c02e.jpgpj with type arguments of type KeyModifierConstructorDescriptionConstructs a new ring with the specified list of keys.SigningOutputStream
(OutputStream out, List<Key> keys, FileMetadata meta) -
Uses of Key in org.c02e.jpgpj.key
Subclasses of Key in org.c02e.jpgpj.keyModifier and TypeClassDescriptionclass
Key that should be used exclusively for decryption.class
Key that should be used exclusively for encryption.class
Key that should be used exclusively for signing.class
Key that should be used exclusively for encryption.
Ring.findAll(java.lang.Long)
(to find all subkeys on a ring, in case the same key had been included multiple times with different settings on the same ring).