Class KeyExpirationTime

    • Constructor Detail

      • KeyExpirationTime

        public KeyExpirationTime​(boolean critical,
                                 boolean isLongLength,
                                 byte[] data)
      • KeyExpirationTime

        public KeyExpirationTime​(boolean critical,
                                 long seconds)
    • Method Detail

      • timeToBytes

        protected static byte[] timeToBytes​(long t)
        Deprecated.
        Will be removed
      • getTime

        public long getTime()
        Return the number of seconds after creation time a key is valid for.
        Returns:
        second count for key validity.