|
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.GnuPGSignature
public class GnuPGSignature
Represents a signature from a key. A signature doesn't stand alone. It is always bound to a key. So if you want to see a signature, you first have to get a key via the GnuPGContext.
This class accesses directly the corresponding structure "under the hood" and stores no data in java members. This means, that every call of a method also results in a native call to access gpgme memory.
GnuPGContext
Constructor Summary | |
---|---|
protected |
GnuPGSignature(int ptr)
This constructor is only called from GnuPGKey. |
Method Summary | |
---|---|
java.lang.String |
getComment()
Returns Comment. |
java.lang.String |
getEmail()
Returns Email-Address of signer. |
java.lang.String |
getKeyID()
Returns Key-ID of signature key. |
java.lang.String |
getName()
Returns Name of signer. |
protected GnuPGSignature |
getNextSignature()
Gets the next pointer in the gpgme_key_sig_t structure. |
java.lang.String |
getUserID()
Returns User-ID of signer. |
boolean |
hasDetails()
Checks, if all signature details are available. |
boolean |
isExpired()
Is signature key expired? |
boolean |
isExportable()
Is signature key exportable? |
boolean |
isInvalid()
Is signature key invalid? |
boolean |
isRevoked()
Is signature key revoked? |
java.lang.String |
toString()
String-Representation of this Signature. |
Methods inherited from class com.freiheit.gnupg.GnuPGPeer |
---|
getInternalRepresentation, setInternalRepresentation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected GnuPGSignature(int ptr)
GnuPGKey
Method Detail |
---|
public boolean isRevoked()
public boolean isExpired()
public boolean isInvalid()
public boolean isExportable()
public java.lang.String getKeyID()
public java.lang.String getUserID()
public java.lang.String getName()
public java.lang.String getEmail()
public java.lang.String getComment()
public boolean hasDetails()
public java.lang.String toString()
toString
in class java.lang.Object
protected GnuPGSignature getNextSignature()
|
freiheit.com technologies gmbh | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |