|
Bouncy Castle Cryptography Library 1.45 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.KeyExpirationTime
public class KeyExpirationTime
packet giving time after creation at which the key expires.
Field Summary |
---|
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket |
---|
data |
Constructor Summary | |
---|---|
KeyExpirationTime(boolean critical,
byte[] data)
|
|
KeyExpirationTime(boolean critical,
long seconds)
|
Method Summary | |
---|---|
long |
getTime()
Return the number of seconds after creation time a key is valid for. |
protected static byte[] |
timeToBytes(long t)
|
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket |
---|
encode, getData, getType, isCritical |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyExpirationTime(boolean critical, byte[] data)
public KeyExpirationTime(boolean critical, long seconds)
Method Detail |
---|
protected static byte[] timeToBytes(long t)
public long getTime()
|
Bouncy Castle Cryptography Library 1.45 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |