Package com.gitblit.utils.X509Utils

Examples of com.gitblit.utils.X509Utils.X509Log


        NewCertificateConfig certificateConfig = NewCertificateConfig.KEY.parse(config);
        certificateConfig.update(metadata);
      }

      metadata.notAfter = new Date(System.currentTimeMillis() + 10*TimeUtils.ONEYEAR);
      X509Utils.prepareX509Infrastructure(metadata, baseFolder, new X509Log() {
        @Override
        public void log(String message) {
          BufferedWriter writer = null;
          try {
            writer = new BufferedWriter(new FileWriter(new File(baseFolder, X509Utils.CERTS + File.separator + "log.txt"), true));
View Full Code Here


        NewCertificateConfig certificateConfig = NewCertificateConfig.KEY.parse(config);
        certificateConfig.update(metadata);
      }

      metadata.notAfter = new Date(System.currentTimeMillis() + 10*TimeUtils.ONEYEAR);
      X509Utils.prepareX509Infrastructure(metadata, baseFolder, new X509Log() {
        @Override
        public void log(String message) {
          BufferedWriter writer = null;
          try {
            writer = new BufferedWriter(new FileWriter(new File(baseFolder, X509Utils.CERTS + File.separator + "log.txt"), true));
View Full Code Here

TOP

Related Classes of com.gitblit.utils.X509Utils.X509Log

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.