javax.security.auth.message.callback
Class SecretKeyCallback.AliasRequest

java.lang.Object
  extended by 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
SecretKeyCallback.AliasRequest(java.lang.String alias)
          Construct an AliasRequest with an alias.
 
Method Summary
 java.lang.String getAlias()
          Get the alias.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecretKeyCallback.AliasRequest

public SecretKeyCallback.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.
Method Detail

getAlias

public java.lang.String getAlias()
Get the alias.

Returns:
The alias, or null.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41