java.security
Class KeyStore.CallbackHandlerProtection

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.security.KeyStore.CallbackHandlerProtection
All Implemented Interfaces:
KeyStore.ProtectionParameter sample code for java.security.KeyStore.ProtectionParameter definition code for java.security.KeyStore.ProtectionParameter
Enclosing class:
KeyStore sample code for java.security.KeyStore definition code for java.security.KeyStore

public static class KeyStore.CallbackHandlerProtection
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements KeyStore.ProtectionParameter sample code for java.security.KeyStore.ProtectionParameter definition code for java.security.KeyStore.ProtectionParameter

A ProtectionParameter encapsulating a CallbackHandler.

Since:
1.5

Constructor Summary
KeyStore.CallbackHandlerProtection sample code for java.security.KeyStore.CallbackHandlerProtection.KeyStore.CallbackHandlerProtection(javax.security.auth.callback.CallbackHandler) definition code for java.security.KeyStore.CallbackHandlerProtection.KeyStore.CallbackHandlerProtection(javax.security.auth.callback.CallbackHandler) (CallbackHandler sample code for javax.security.auth.callback.CallbackHandler definition code for javax.security.auth.callback.CallbackHandler  handler)
          Constructs a new CallbackHandlerProtection from a CallbackHandler.
 
Method Summary
 CallbackHandler sample code for javax.security.auth.callback.CallbackHandler definition code for javax.security.auth.callback.CallbackHandler getCallbackHandler sample code for java.security.KeyStore.CallbackHandlerProtection.getCallbackHandler() definition code for java.security.KeyStore.CallbackHandlerProtection.getCallbackHandler() ()
          Returns the CallbackHandler.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

KeyStore.CallbackHandlerProtection sample code for java.security.KeyStore.CallbackHandlerProtection(javax.security.auth.callback.CallbackHandler) definition code for java.security.KeyStore.CallbackHandlerProtection(javax.security.auth.callback.CallbackHandler)

public KeyStore.CallbackHandlerProtection(CallbackHandler sample code for javax.security.auth.callback.CallbackHandler definition code for javax.security.auth.callback.CallbackHandler  handler)
Constructs a new CallbackHandlerProtection from a CallbackHandler.

Parameters:
handler - the CallbackHandler
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - if handler is null
Method Detail

getCallbackHandler sample code for java.security.KeyStore.CallbackHandlerProtection.getCallbackHandler() definition code for java.security.KeyStore.CallbackHandlerProtection.getCallbackHandler()

public CallbackHandler sample code for javax.security.auth.callback.CallbackHandler definition code for javax.security.auth.callback.CallbackHandler  getCallbackHandler()
Returns the CallbackHandler.

Returns:
the CallbackHandler.