Package org.bouncycastle.bcpg.sig
Class KeyExpirationTime
- java.lang.Object
-
- org.bouncycastle.bcpg.SignatureSubpacket
-
- org.bouncycastle.bcpg.sig.KeyExpirationTime
-
public class KeyExpirationTime extends SignatureSubpacket
Signature Subpacket containing the number of seconds after the key's creation date, after which the key expires. The special value of0
means that the key never expires.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
-
Constructor Summary
Constructors Constructor Description KeyExpirationTime(boolean critical, boolean isLongLength, byte[] data)
KeyExpirationTime(boolean critical, long seconds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getTime()
Return the number of seconds after creation time a key is valid for.protected static byte[]
timeToBytes(long t)
Deprecated.Will be removed-
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
-