Class SecretKeyCallback
- java.lang.Object
-
- jakarta.security.auth.message.callback.SecretKeyCallback
-
- com.sun.enterprise.security.jauth.callback.SecretKeyCallback
-
- All Implemented Interfaces:
Callback
public class SecretKeyCallback extends jakarta.security.auth.message.callback.SecretKeyCallbackCallback for private key and corresponding certificate chain.- Version:
- %I%, %G%
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecretKeyCallback.AliasRequestRequest type for secret keys that are identified via an alias.static interfaceSecretKeyCallback.RequestMarker interface for private key request types.
-
Constructor Summary
Constructors Constructor Description SecretKeyCallback(SecretKeyCallback.Request request)Constructs this SecretKeyCallback with a secret key Request object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretKeyCallback.RequestgetRequest()Get the Request object which identifies the secret key to be returned.
-
-
-
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:
getRequestin classjakarta.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.
-
-