public static boolean getPassword(OTPassword theOutput) {
        if (null == password) {
            return false;
        }
        StringBuilder str = new StringBuilder();
        for (int i = 0; i < password.length; i++) {
            str.append(password[i]);
        }
        if (str.length() > 0) {
            theOutput.setPassword(str.toString(), str.length());
        }
        // TODO: Security implications of using String here? (Fix.)
        return true;
    }