|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.didisoft.pgp.KeyPairInformation.SubKey
public class KeyPairInformation.SubKey
Represents a sub key in a key ring
Constructor Summary | |
---|---|
KeyPairInformation.SubKey(PGPPublicKey key)
|
Method Summary | |
---|---|
java.lang.String |
getAlgorithm()
Returns the name of the key encryption asymmetric algorithm. |
java.util.Date |
getCreationTime()
Returns when was the key created. |
java.lang.String |
getFingerprint()
Returns key finger print. |
long |
getKeyID()
Returns the Key ID of this key pair. |
java.lang.String |
getKeyIDHex()
Returns a string representing the hexadecimal value of the Key ID. |
int |
getKeySize()
Returns key size in bits. |
java.lang.String[] |
getUserIDs()
Returns User Id's associated with this key. |
int |
getValidDays()
Returns key validity period in days. |
int |
getVersion()
Returns key format OpenPGP version. |
boolean |
isEncryptionKey()
Returns is this Key used for encrypting data. |
boolean |
isExpired()
Returns is this Key expired (not usable any more). |
boolean |
isExpiredOnDate(java.util.Date date)
Returns is this key expired on a given date |
boolean |
isRevoked()
Returns is this Key revoked (not usable any more). |
boolean |
isSigningKey()
Returns is this Key used for signing data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyPairInformation.SubKey(PGPPublicKey key)
Method Detail |
---|
public boolean isEncryptionKey()
public boolean isSigningKey()
public boolean isExpired()
public boolean isExpiredOnDate(java.util.Date date)
public boolean isRevoked()
public long getKeyID()
public java.lang.String getKeyIDHex()
public java.lang.String getFingerprint()
public java.lang.String[] getUserIDs()
public int getKeySize()
public java.lang.String getAlgorithm()
public java.util.Date getCreationTime()
public int getValidDays()
public int getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |