|
freiheit.com technologies gmbh | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.freiheit.gnupg.GnuPGPassphraseWindow
public class GnuPGPassphraseWindow
Requests a passphrase for a crypto operation from the a swing dialog. This is triggered by gpgme. You must register this as a listener to the GnuPGContext. It generates a Swing-Dialog.
GnuPGContext
Constructor Summary | |
---|---|
GnuPGPassphraseWindow()
Default-Constructor. |
|
GnuPGPassphraseWindow(javax.swing.JFrame f)
Use this, if you use this library from a swing application. |
Method Summary | |
---|---|
java.lang.String |
getPassphrase(java.lang.String hint,
java.lang.String passphraseInfo,
int wasBad)
Opens a Swing modal dialog, asks for the passphrase and returns it to gpgme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GnuPGPassphraseWindow()
public GnuPGPassphraseWindow(javax.swing.JFrame f)
f
- where this passphrase dialog should be modal to.
(See Swing-Documentation, if you don't know, what modal dialogs are!)Method Detail |
---|
public java.lang.String getPassphrase(java.lang.String hint, java.lang.String passphraseInfo, int wasBad)
getPassphrase
in interface GnuPGPassphraseListener
hint
- TODOpassphraseInfo
- TODOwasBad
- TODO
GnuPGContext
|
freiheit.com technologies gmbh | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |