Top Description Fields Constructors Methods
org.bouncycastle.bcpg.sig

public Class SignatureExpirationTime

extends SignatureSubpacket
Class Inheritance
Imports
org.bouncycastle.bcpg.SignatureSubpacket, .SignatureSubpacketTags

Signature Subpacket containing the number of seconds after the signatures creation time after which the signature expires.
See Also
RFC4880 - Signature Expiration Time, RFC9580 - Signature Expiration Time

Field Summary

Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
data

Constructor Summary

AccessConstructor and Description
public
SignatureExpirationTime(boolean critical, boolean isLongLength, byte[] data)

public
SignatureExpirationTime(boolean critical, long seconds)

Method Summary

Modifier and TypeMethod and Description
public long
getTime()

return time in seconds before signature expires after creation time.

protected static byte[]
timeToBytes(long t)
Deprecated Will be removed

Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
encodeequalsgetDatagetTypehashCodeisCriticalisLongLength

Constructor Detail

SignatureExpirationTimeback to summary
public SignatureExpirationTime(boolean critical, boolean isLongLength, byte[] data)
SignatureExpirationTimeback to summary
public SignatureExpirationTime(boolean critical, long seconds)

Method Detail

getTimeback to summary
public long getTime()

return time in seconds before signature expires after creation time.

timeToBytesback to summary
protected static byte[] timeToBytes(long t)

Deprecated

Will be removed