Class AMCallbackHandler

    • Constructor Detail

      • AMCallbackHandler

        public AMCallbackHandler()
      • AMCallbackHandler

        public AMCallbackHandler​(String prompt)
    • Method Detail

      • clear

        public void clear()
        Clears the password so that sensitive data is no longer present in memory. This should be called as soon as the password is no longer needed.
      • finalize

        protected void finalize()
                         throws Throwable
        The finalizer clears the sensitive information before releasing it to the garbage collector, but it should have been cleared manually before this point anyway.
        Overrides:
        finalize in class Object
        Throws:
        Throwable
      • setPassword

        public void setPassword​(String pw)
        Set password for key store
        Parameters:
        pw - Value of string to be set