Uses of Class
org.c02e.jpgpj.Key

Packages that use Key
Package
Description
 
 
  • Uses of Key in org.c02e.jpgpj

    Fields in org.c02e.jpgpj declared as Key
    Modifier and Type
    Field
    Description
    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 List<Key>
    Ring.keys
     
    Methods in org.c02e.jpgpj that return Key
    Modifier and Type
    Method
    Description
    Key.clone()
     
    Ring.findById(Long id)
    Deprecated.
    Use 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).
    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
    Ring.newKey(ArrayList<Subkey> subkeys)
     
    protected Key
    Ring.newKey(org.bouncycastle.openpgp.PGPPublicKeyRing ring)
     
    protected Key
    Ring.newKey(org.bouncycastle.openpgp.PGPSecretKeyRing ring)
     
    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
    Ring.findAll(Long id)
    All keys for which the specified ID is any subkey's full ID.
    Ring.findAll(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>")
    Ring.findAll(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>")
    All keys that can decrypt, or an empty list.
    All keys that can encrypt, or an empty list.
    Ring.getKeys()
    All keys, an or an empty list.
    All keys that can sign, or an empty list.
    All keys that can verify, or an empty list.
    Ring.load(File file)
    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.
    Ring.load(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
    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(List<Key> keys)
     
    protected void
    Ring.setKeys(List<Key> x)
    All keys, an or an empty list.
    Constructors in org.c02e.jpgpj with parameters of type Key
    Modifier
    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
    Modifier
    Constructor
    Description
     
    Ring(List<Key> keys)
    Constructs a new ring with the specified list of keys.
     
     
  • Uses of Key in org.c02e.jpgpj.key

    Subclasses of Key in org.c02e.jpgpj.key
    Modifier and Type
    Class
    Description
    class 
    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.