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 KeyDecryptor.Verifier. keyprivate KeyFileMetadata.Signature. keyFields in org.c02e.jpgpj with type parameters of type Key Modifier and Type Field Description protected java.util.List<Key>Ring. keysMethods in org.c02e.jpgpj that return Key Modifier and Type Method Description KeyKey. clone()KeyRing. 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).KeyFileMetadata.Signature. getKey()Key used for signature, or null.KeyDecryptor.Verifier. getSignedBy()Copy of matched key with signingUid configured and only public subkeys, or null.KeyFileMetadata.Signature. getVerifiedKey()Key used for signature if verified, or null.protected KeyRing. newKey(java.util.ArrayList<Subkey> subkeys)protected KeyRing. newKey(org.bouncycastle.openpgp.PGPPublicKeyRing ring)protected KeyRing. newKey(org.bouncycastle.openpgp.PGPSecretKeyRing ring)KeyKey. 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.PublicKeyKeyEncryptionMethodGeneratorEncryptor. buildPublicKeyEncryptor(Key key, FileMetadata meta)Builds a PublicKeyKeyEncryptionMethodGenerator for the specified key.protected org.bouncycastle.openpgp.PGPSignatureGeneratorEncryptor. buildSigner(Key key, FileMetadata meta)Builds a PGPSignatureGenerator for the specified key and content.voidFileMetadata.Signature. setKey(Key x)Key used for signature, or null.voidFileMetadata.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 voidEncryptor.SigningOutputStream. init(java.util.List<Key> keys)protected voidRing. 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 classKeyForDecryptionKey that should be used exclusively for decryption.classKeyForEncryptionKey that should be used exclusively for encryption.classKeyForSigningKey that should be used exclusively for signing.classKeyForVerificationKey that should be used exclusively for encryption.
-