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