public class SecretKeyCallback extends javax.security.auth.message.callback.SecretKeyCallback
| Modifier and Type | Class and Description |
|---|---|
static class |
SecretKeyCallback.AliasRequest
Request type for secret keys that are identified via an alias.
|
static interface |
SecretKeyCallback.Request
Marker interface for private key request types.
|
| Constructor and Description |
|---|
SecretKeyCallback(SecretKeyCallback.Request request)
Constructs this SecretKeyCallback with a secret key Request object.
|
| Modifier and Type | Method and Description |
|---|---|
SecretKeyCallback.Request |
getRequest()
Get the Request object which identifies the secret key to be returned.
|
getKey, setKeypublic SecretKeyCallback(SecretKeyCallback.Request request)
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.
request - request object identifying the secret key, or null.public SecretKeyCallback.Request getRequest()
getRequest in class javax.security.auth.message.callback.SecretKeyCallbackCopyright © 2017. All rights reserved.