Package org.certificatetransparency.ctlog.comm

Examples of org.certificatetransparency.ctlog.comm.HttpLogClient


      return sct;
    }
  }

  public CTLogClient(String baseLogUrl, LogInfo logInfo) {
    this.httpClient = new HttpLogClient(baseLogUrl);
    this.signatureVerifier = new LogSignatureVerifier(logInfo);
  }
View Full Code Here


    String pemFile = args[0];

    List<Certificate> certs = CryptoDataLoader.certificatesFromFile(new File(pemFile));
    System.out.println(String.format("Total number of certificates in chain: %d", certs.size()));

    HttpLogClient client = new HttpLogClient("http://ct.googleapis.com/pilot/ct/v1/");

    Ct.SignedCertificateTimestamp resp = client.addCertificate(certs);

    System.out.println(resp);
    if (args.length >= 2) {
      String outputFile = args[1];
      //TODO(eranm): Binary encoding compatible with the C++ code.
View Full Code Here

TOP

Related Classes of org.certificatetransparency.ctlog.comm.HttpLogClient

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.