Interface GuardedString.Accessor
- Enclosing class:
- GuardedString
public static interface GuardedString.Accessor
Callback interface for those times that it is necessary to access the
clear text of the secure string.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
access
(char[] clearChars) This method will be called with the clear text of the string.
-
Method Details
-
access
void access(char[] clearChars) This method will be called with the clear text of the string. After the call the clearChars array will be automatically zeroed out, thus keeping the window of potential exposure to a bare-minimum.- Parameters:
clearChars
- the byte array
-