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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void access​(char[] clearChars)
      This method will be called with the clear text of the string.
    • Method Detail

      • 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 -