Uses of Class
org.c02e.jpgpj.Key
-
Packages that use Key Package Description org.c02e.jpgpj org.c02e.jpgpj.key -
-
Uses of Key in org.c02e.jpgpj
Fields in org.c02e.jpgpj declared as Key Modifier and Type Field Description Key
Decryptor.Verifier. key
private Key
FileMetadata.Signature. key
Fields in org.c02e.jpgpj with type parameters of type Key Modifier and Type Field Description protected java.util.List<Key>
Ring. keys
Methods in org.c02e.jpgpj that return Key Modifier and Type Method Description Key
Key. clone()
Key
Ring. findById(java.lang.Long id)
Deprecated.UseRing.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).Key
FileMetadata.Signature. getKey()
Key used for signature, or null.Key
Decryptor.Verifier. getSignedBy()
Copy of matched key with signingUid configured and only public subkeys, or null.Key
FileMetadata.Signature. getVerifiedKey()
Key used for signature if verified, or null.protected Key
Ring. newKey(java.util.ArrayList<Subkey> subkeys)
protected Key
Ring. newKey(org.bouncycastle.openpgp.PGPPublicKeyRing ring)
protected Key
Ring. newKey(org.bouncycastle.openpgp.PGPSecretKeyRing ring)
Key
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 Key Modifier and Type Method Description java.util.List<Key>
Ring. findAll(java.lang.Long id)
All keys for which the specified ID is any subkey's full ID.java.util.List<Key>
Ring. findAll(java.lang.String 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>")java.util.List<Key>
Ring. findAll(java.util.regex.Pattern id)
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>")java.util.List<Key>
Ring. getDecryptionKeys()
All keys that can decrypt, or an empty list.java.util.List<Key>
Ring. getEncryptionKeys()
All keys that can encrypt, or an empty list.java.util.List<Key>
Ring. getKeys()
All keys, an or an empty list.java.util.List<Key>
Ring. getSigningKeys()
All keys that can sign, or an empty list.java.util.List<Key>
Ring. getVerificationKeys()
All keys that can verify, or an empty list.java.util.List<Key>
Ring. load(java.io.File file)
Loads all keys from the specified file, and adds them to this ring's existing list of keys.java.util.List<Key>
Ring. load(java.io.InputStream stream)
Loads all keys from the specified input stream, and adds them to this ring's existing list of keys.java.util.List<Key>
Ring. load(java.lang.String armor)
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 Key Modifier and Type Method Description protected 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
FileMetadata.Signature. setKey(Key x)
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 Key Modifier and Type Method Description protected void
Encryptor.SigningOutputStream. init(java.util.List<Key> keys)
protected void
Ring. setKeys(java.util.List<Key> x)
All keys, an or an empty list.Constructors in org.c02e.jpgpj with parameters of type Key Constructor Description Decryptor(Key... keys)
Constructs a decryptor with the specified keys.Encryptor(Key... keys)
Constructs an encryptor with the specified keys.Ring(Key... keys)
Constructs a new ring with the specified array of keys.Signature(long keyId, Key key)
Constructs unverified signature object for the specified key.Constructor parameters in org.c02e.jpgpj with type arguments of type Key Constructor Description Ring(java.util.List<Key> keys)
Constructs a new ring with the specified list of keys.SigningOutputStream(java.io.OutputStream out, java.util.List<Key> keys, FileMetadata meta)
-
Uses of Key in org.c02e.jpgpj.key
Subclasses of Key in org.c02e.jpgpj.key Modifier and Type Class Description class
KeyForDecryption
Key that should be used exclusively for decryption.class
KeyForEncryption
Key that should be used exclusively for encryption.class
KeyForSigning
Key that should be used exclusively for signing.class
KeyForVerification
Key that should be used exclusively for encryption.
-