|
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.GnuPGPeer
com.freiheit.gnupg.GnuPGKey
public class GnuPGKey
Represents a key. You can manage and find keys using GnuPGContext. You can not instantiate a key by yourself. You always need a context.
GnuPGContext
Constructor Summary | |
---|---|
protected |
GnuPGKey(GnuPGContext context,
java.lang.String fingerprint)
|
protected |
GnuPGKey(int ptr)
This constructor is only called from within the JNI routines. |
Method Summary | |
---|---|
void |
destroy()
This calls immediately the release method for the datastructure in the underlying gpgme library. |
protected void |
finalize()
Releases underlying datastructures. |
java.lang.String |
getComment()
Get the Comment of the default key/userid. |
java.lang.String |
getEmail()
Get the Email-Address of the default key/userid. |
java.lang.String |
getFingerprint()
Get the Fingerprint of the default key/userid. |
java.lang.String |
getKeyID()
Get the Key-ID of the default key/userid. |
java.lang.String |
getName()
Get the Name of the default key/userid. |
java.util.Iterator |
getSignatures()
Lists all signatures of the default key/userid. |
java.lang.String |
getUserID()
Get the User-ID of the default key/userid. |
java.lang.String |
toString()
Return this key with all of its signatures. |
Methods inherited from class com.freiheit.gnupg.GnuPGPeer |
---|
getInternalRepresentation, setInternalRepresentation |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected GnuPGKey(int ptr)
protected GnuPGKey(GnuPGContext context, java.lang.String fingerprint)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getEmail()
public java.lang.String getKeyID()
public java.lang.String getFingerprint()
public java.lang.String getComment()
public java.lang.String getUserID()
public java.util.Iterator getSignatures()
Currently I am not supporting java generics for a type safe iterator, because there are to many people still using jdk-1.4.x without generics support. This will be changed on increasing demand.
GnuPGSignature
public java.lang.String toString()
toString
in class java.lang.Object
public void destroy()
protected void finalize()
finalize
in class java.lang.Object
|
freiheit.com technologies gmbh | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |