Class SignatureExpirationTime

java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.SignatureExpirationTime

public class SignatureExpirationTime extends SignatureSubpacket
Signature Subpacket containing the number of seconds after the signatures creation time after which the signature expires.
See Also:
  • 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.