Package org.bouncycastle.bcpg.sig
Class SignatureExpirationTime
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.SignatureExpirationTime
Signature Subpacket containing the number of seconds after the signatures creation
time after which the signature expires.
- See Also:
-
Field Summary
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
Constructor Summary
ConstructorDescriptionSignatureExpirationTime
(boolean critical, boolean isLongLength, byte[] data) SignatureExpirationTime
(boolean critical, long seconds) -
Method Summary
Modifier and TypeMethodDescriptionlong
getTime()
return time in seconds before signature expires after creation time.protected static byte[]
timeToBytes
(long t) Deprecated.Will be removedMethods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
Constructor Details
-
SignatureExpirationTime
public SignatureExpirationTime(boolean critical, boolean isLongLength, byte[] data) -
SignatureExpirationTime
public SignatureExpirationTime(boolean critical, long seconds)
-
-
Method Details
-
timeToBytes
protected static byte[] timeToBytes(long t) Deprecated.Will be removed -
getTime
public long getTime()return time in seconds before signature expires after creation time.
-