Class SecretKeyCallback

  • All Implemented Interfaces:
    Callback

    public class SecretKeyCallback
    extends jakarta.security.auth.message.callback.SecretKeyCallback
    Callback for private key and corresponding certificate chain.
    Version:
    %I%, %G%
    • Constructor Detail

      • SecretKeyCallback

        public SecretKeyCallback​(SecretKeyCallback.Request request)
        Constructs this SecretKeyCallback with a secret key Request object.

        The request object identifies the secret key to be returned. If the alias is null, the handler of the callback relies on its own default.

        Parameters:
        request - request object identifying the secret key, or null.
    • Method Detail

      • getRequest

        public SecretKeyCallback.Request getRequest()
        Get the Request object which identifies the secret key to be returned.
        Overrides:
        getRequest in class jakarta.security.auth.message.callback.SecretKeyCallback
        Returns:
        the Request object which identifies the private key to be returned, or null. If null, the handler of the callback relies on its own deafult.