Class CachedKey


  • public class CachedKey
    extends java.lang.Object
    Represents a loaded, cached encryption key. The key can be null.
    Since:
    4.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CachedKey NULL  
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedKey​(java.security.Key key)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.Key getKey()  
      long getTimestamp()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachedKey

        public CachedKey​(java.security.Key key)
    • Method Detail

      • getKey

        public java.security.Key getKey()
      • getTimestamp

        public long getTimestamp()