Class SessionKeyStoreImpl

java.lang.Object
pygar.zoneable.SessionKeyStoreImpl
All Implemented Interfaces:
SessionKeyStore

public class SessionKeyStoreImpl
extends java.lang.Object
implements SessionKeyStore
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String keystoreJavaType
    A key store is protected by encryption using one of several available methods.
  • Method Summary

    Modifier and Type Method Description
    javax.crypto.spec.SecretKeySpec getKey​(java.lang.String sessionid)
    Retrieve a key from a store in the location given by path
    javax.crypto.SecretKey newRandomKey()
    Create a new, random session key.
    void putKey​(java.lang.String sessionid, byte[] key)
    Put a key in the store at a location specified by the path.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • keystoreJavaType

      public java.lang.String keystoreJavaType
      A key store is protected by encryption using one of several available methods. The default in Java is JKS. We recommend JCEKS.
  • Method Details