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

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

      • 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