public class SecretKeyCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
Modifier and Type | Class and Description |
---|---|
static class |
SecretKeyCallback.AliasRequest |
static interface |
SecretKeyCallback.Request |
Modifier and Type | Field and Description |
---|---|
private javax.crypto.SecretKey |
key |
private SecretKeyCallback.Request |
request |
Constructor and Description |
---|
SecretKeyCallback(SecretKeyCallback.Request request) |
Modifier and Type | Method and Description |
---|---|
javax.crypto.SecretKey |
getKey() |
SecretKeyCallback.Request |
getRequest() |
void |
setKey(javax.crypto.SecretKey key) |
private final SecretKeyCallback.Request request
private javax.crypto.SecretKey key
public SecretKeyCallback(SecretKeyCallback.Request request)
public SecretKeyCallback.Request getRequest()
public javax.crypto.SecretKey getKey()
public void setKey(javax.crypto.SecretKey key)