|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.openpgp.PGPLegacyKeyPairGeneratorParameterSpec
Parameters for a legacy KeyPairGenerator
Constructor Summary | |
PGPLegacyKeyPairGeneratorParameterSpec(int keysize,
int expiration)
Constructs a PGPLegacyKeyPairGeneratorParameterSpec object, given a keysize and an expiration date. |
Method Summary | |
int |
getExpiration()
Returns the number of days after creation the key expires |
int |
getKeySize()
Returns the keysize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PGPLegacyKeyPairGeneratorParameterSpec(int keysize, int expiration)
keysize
- the keysize to use for generating a key, use 0 for the
default value.expiration
- the expiration date for the generated key, in days
after the creation of the key. Use 0 for keys that do not expire.Method Detail |
public int getKeySize()
public int getExpiration()
|
Cryptix OpenPGP | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |