String pathAllP12 = null;
    public static void main(String[] args) {        // Bouncy Castle security provider        CertTools.installBCProvider();        P12toPEM p12 = null;        String pathAllP12 = null;        try {            if (args.length > 2) {                boolean overwrite = false;                if (args[2].equalsIgnoreCase("true")) {                    overwrite = true;                }                p12 = new P12toPEM(args[0], args[1], overwrite);            } else if (args.length > 1) {                p12 = new P12toPEM(args[0], args[1]);            } else {                System.out.println(                    "Usage: P12toPEM <p12file> <p12password> [overwrite (true/false)(default false)]");                System.exit(0);            }            p12.createPEM();        } catch (Exception e) {            e.printStackTrace();        }    }