Class SecretKeyCallback.AliasRequest
- java.lang.Object
-
- javax.security.auth.message.callback.SecretKeyCallback.AliasRequest
-
- All Implemented Interfaces:
SecretKeyCallback.Request
- Enclosing class:
- SecretKeyCallback
public static class SecretKeyCallback.AliasRequest extends java.lang.Object implements SecretKeyCallback.Request
Request type for secret keys that are identified using an alias.
-
-
Constructor Summary
Constructors Constructor Description AliasRequest(java.lang.String alias)
Construct an AliasRequest with an alias.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlias()
Get the alias.
-
-
-
Constructor Detail
-
AliasRequest
public AliasRequest(java.lang.String alias)
Construct an AliasRequest with an alias.The alias is used to directly identify the secret key to be returned.
If the alias is null, the handler of the callback relies on its own default.
- Parameters:
alias
- Name identifier for the secret key, or null.
-
-