Class SecretKeyCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class SecretKeyCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    A callback enabling an authentication module to request a secret key from the runtime, by supplying an alias. Other request types may also be supported.
    • Method Detail

      • setKey

        public void setKey​(javax.crypto.SecretKey key)
      • getKey

        public javax.crypto.SecretKey getKey()