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
Modifier and Type Method Description CallbackHandlergetCallbackHandler()Returns theCallbackHandler.
-
Constructor Details
-
CallbackHandlerProtection
Constructs a new instance ofCallbackHandlerProtectionwith theCallbackHandler.- Parameters:
handler- theCallbackHandler.- Throws:
NullPointerException- ifhandlerisnull.
-
-
Method Details
-
getCallbackHandler
Returns theCallbackHandler.- Returns:
- the
CallbackHandler.
-