freiheit.com technologies gmbh
A C D E F G H I S T V W

A

addSigner(GnuPGKey) - Method in class com.freiheit.gnupg.GnuPGContext
Adds a Signer to this context.

C

clearSigners() - Method in class com.freiheit.gnupg.GnuPGContext
Removes all signers from this context.
com.freiheit.gnupg - package com.freiheit.gnupg
Main package.
createDataObject(String) - Method in class com.freiheit.gnupg.GnuPGContext
Factory method to generate a GnuPGData-Object from a String.
createDataObject(byte[]) - Method in class com.freiheit.gnupg.GnuPGContext
Factory method to generate a GnuPGData-Object from a byte array.
createDataObject() - Method in class com.freiheit.gnupg.GnuPGContext
Factory method to generate an empty GnuPGData-Object.

D

decrypt(GnuPGData, GnuPGData) - Method in class com.freiheit.gnupg.GnuPGContext
Decrypts the data from cipher and stores the result in plain.
destroy() - Method in class com.freiheit.gnupg.GnuPGContext
This calls immediately the release method for the context in the underlying gpgme library.
destroy() - Method in class com.freiheit.gnupg.GnuPGData
This calls immediately the release method for the datastructure in the underlying gpgme library.
destroy() - Method in class com.freiheit.gnupg.GnuPGKey
This calls immediately the release method for the datastructure in the underlying gpgme library.

E

encrypt(GnuPGKey[], GnuPGData, GnuPGData) - Method in class com.freiheit.gnupg.GnuPGContext
Encrypts the data from plain with the public key of each recipient.

F

finalize() - Method in class com.freiheit.gnupg.GnuPGContext
Releases underlying datastructures.
finalize() - Method in class com.freiheit.gnupg.GnuPGData
Releases underlying datastructures.
finalize() - Method in class com.freiheit.gnupg.GnuPGKey
Releases underlying datastructures.

G

generateEmptyKeyArray(int) - Method in class com.freiheit.gnupg.GnuPGContext
Convenience method to generate empty key arrays.
getComment() - Method in class com.freiheit.gnupg.GnuPGKey
Get the Comment of the default key/userid.
getComment() - Method in class com.freiheit.gnupg.GnuPGSignature
Returns Comment.
getEmail() - Method in class com.freiheit.gnupg.GnuPGKey
Get the Email-Address of the default key/userid.
getEmail() - Method in class com.freiheit.gnupg.GnuPGSignature
Returns Email-Address of signer.
getFilename() - Method in class com.freiheit.gnupg.GnuPGContext
Returns the executable gpg with path
getFingerprint() - Method in class com.freiheit.gnupg.GnuPGKey
Get the Fingerprint of the default key/userid.
getInternalRepresentation() - Method in class com.freiheit.gnupg.GnuPGPeer
DO NOT USE IT.
getKeyByFingerprint(String) - Method in class com.freiheit.gnupg.GnuPGContext
Gets the key with the supplied fingerprint from the keyring.
getKeyID() - Method in class com.freiheit.gnupg.GnuPGKey
Get the Key-ID of the default key/userid.
getKeyID() - Method in class com.freiheit.gnupg.GnuPGSignature
Returns Key-ID of signature key.
getName() - Method in class com.freiheit.gnupg.GnuPGKey
Get the Name of the default key/userid.
getName() - Method in class com.freiheit.gnupg.GnuPGSignature
Returns Name of signer.
getNextSignature() - Method in class com.freiheit.gnupg.GnuPGSignature
Gets the next pointer in the gpgme_key_sig_t structure.
getPassphrase(String, String, int) - Method in class com.freiheit.gnupg.GnuPGPassphraseConsole
Prints to the console, asks for the passphrase and returns it to gpgme.
getPassphrase(String, String, int) - Method in interface com.freiheit.gnupg.GnuPGPassphraseListener
This method will be called by gpgme, if a passphrase is necessary to complete a crypto operation.
getPassphrase(String, String, int) - Method in class com.freiheit.gnupg.GnuPGPassphraseWindow
Opens a Swing modal dialog, asks for the passphrase and returns it to gpgme.
getRequiredVersion() - Method in class com.freiheit.gnupg.GnuPGContext
Returns the required version of the underlying GPGME lib.
getSignatures() - Method in class com.freiheit.gnupg.GnuPGKey
Lists all signatures of the default key/userid.
getUserID() - Method in class com.freiheit.gnupg.GnuPGKey
Get the User-ID of the default key/userid.
getUserID() - Method in class com.freiheit.gnupg.GnuPGSignature
Returns User-ID of signer.
getVersion() - Method in class com.freiheit.gnupg.GnuPGContext
Returns the version of the underlying GPGME lib version.
GnuPGContext - Class in com.freiheit.gnupg
Start here, because for all operations, you first need to create a GnuPGContext.
GnuPGContext() - Constructor for class com.freiheit.gnupg.GnuPGContext
Creates a new Context (use on context for one thread!)
GnuPGData - Class in com.freiheit.gnupg
Holds the data that you want to work on and stores the results of crypto operations.
GnuPGData() - Constructor for class com.freiheit.gnupg.GnuPGData
Use the factory methods from GnuPGContext to generate GnuPGData-Objects.
GnuPGData(String) - Constructor for class com.freiheit.gnupg.GnuPGData
Use the factory methods from GnuPGContext to generate GnuPGData-Objects.
GnuPGData(byte[]) - Constructor for class com.freiheit.gnupg.GnuPGData
Use the factory methods from GnuPGContext to generate GnuPGData-Objects.
GnuPGException - Exception in com.freiheit.gnupg
If the underlying gpgme library reports an error, this exception is thrown.
GnuPGKey - Class in com.freiheit.gnupg
Represents a key.
GnuPGKey(int) - Constructor for class com.freiheit.gnupg.GnuPGKey
This constructor is only called from within the JNI routines.
GnuPGKey(GnuPGContext, String) - Constructor for class com.freiheit.gnupg.GnuPGKey
 
GnuPGPassphraseConsole - Class in com.freiheit.gnupg
Requests a passphrase for a crypto operation from the command line.
GnuPGPassphraseConsole() - Constructor for class com.freiheit.gnupg.GnuPGPassphraseConsole
Default-Constructor.
GnuPGPassphraseListener - Interface in com.freiheit.gnupg
This is the listener interface you need to implement, if you want to react to the passphrase callbacks of the gpgme library for yourself.
GnuPGPassphraseWindow - Class in com.freiheit.gnupg
Requests a passphrase for a crypto operation from the a swing dialog.
GnuPGPassphraseWindow() - Constructor for class com.freiheit.gnupg.GnuPGPassphraseWindow
Default-Constructor.
GnuPGPassphraseWindow(JFrame) - Constructor for class com.freiheit.gnupg.GnuPGPassphraseWindow
Use this, if you use this library from a swing application.
GnuPGPeer - Class in com.freiheit.gnupg
Peer Class to hold the pointers to connect to the underlying gpgme library.
GnuPGPeer() - Constructor for class com.freiheit.gnupg.GnuPGPeer
 
GnuPGSignature - Class in com.freiheit.gnupg
Represents a signature from a key.
GnuPGSignature(int) - Constructor for class com.freiheit.gnupg.GnuPGSignature
This constructor is only called from GnuPGKey.

H

hasDetails() - Method in class com.freiheit.gnupg.GnuPGSignature
Checks, if all signature details are available.

I

isArmor() - Method in class com.freiheit.gnupg.GnuPGContext
Tells you, is the gpg engine uses ASCII armor.
isExpired() - Method in class com.freiheit.gnupg.GnuPGSignature
Is signature key expired?
isExportable() - Method in class com.freiheit.gnupg.GnuPGSignature
Is signature key exportable?
isInvalid() - Method in class com.freiheit.gnupg.GnuPGSignature
Is signature key invalid?
isRevoked() - Method in class com.freiheit.gnupg.GnuPGSignature
Is signature key revoked?
isTextmode() - Method in class com.freiheit.gnupg.GnuPGContext
Tells you, is the gpg engine is in text mode.

S

searchKeys(String) - Method in class com.freiheit.gnupg.GnuPGContext
Find all keys matching query in keyring.
setArmor(boolean) - Method in class com.freiheit.gnupg.GnuPGContext
Tell the gpg engine to use ASCII armor.
setInternalRepresentation(int) - Method in class com.freiheit.gnupg.GnuPGPeer
DO NOT USE IT.
setPassphraseListener(GnuPGPassphraseListener) - Method in class com.freiheit.gnupg.GnuPGContext
Sets a listener, if GPGME needs to request a passphrase from the user (or even from a program or a database..)
setTextmode(boolean) - Method in class com.freiheit.gnupg.GnuPGContext
Tell the gpg engine to set the text mode.
sign(GnuPGData, GnuPGData) - Method in class com.freiheit.gnupg.GnuPGContext
Signs the data in plain and stores the result in signature.

T

toString() - Method in class com.freiheit.gnupg.GnuPGData
Helper method to print out the data/string from this data object.
toString() - Method in class com.freiheit.gnupg.GnuPGKey
Return this key with all of its signatures.
toString() - Method in class com.freiheit.gnupg.GnuPGSignature
String-Representation of this Signature.

V

verify(GnuPGData, GnuPGData, GnuPGData) - Method in class com.freiheit.gnupg.GnuPGContext
Verifies a signature.

W

write(OutputStream) - Method in class com.freiheit.gnupg.GnuPGData
Writes the data/string contained in this data object to the given Java OutputStream.

A C D E F G H I S T V W
freiheit.com technologies gmbh

© 2005 freiheit.com technologies gmbh