Package java.security
Class KeyStore.CallbackHandlerProtection
- java.lang.Object
-
- java.security.KeyStore.CallbackHandlerProtection
-
- All Implemented Interfaces:
KeyStore.ProtectionParameter
- Enclosing class:
- KeyStore
public static class KeyStore.CallbackHandlerProtection extends Object implements KeyStore.ProtectionParameter
-
-
Constructor Summary
Constructors Constructor Description CallbackHandlerProtection(CallbackHandler handler)Constructs a new instance ofCallbackHandlerProtectionwith theCallbackHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallbackHandlergetCallbackHandler()Returns theCallbackHandler.
-
-
-
Constructor Detail
-
CallbackHandlerProtection
public CallbackHandlerProtection(CallbackHandler handler)
Constructs a new instance ofCallbackHandlerProtectionwith theCallbackHandler.- Parameters:
handler- theCallbackHandler.- Throws:
NullPointerException- ifhandlerisnull.
-
-
Method Detail
-
getCallbackHandler
public CallbackHandler getCallbackHandler()
Returns theCallbackHandler.- Returns:
- the
CallbackHandler.
-
-