Examples of SignCertificateRequest


Examples of org.platformlayer.auth.v1.SignCertificateRequest

  // This can actually be moved to the user-auth system
  public List<X509Certificate> signCsr(String projectKey, CryptoKey projectSecret, String csr) {
    String url = "pki/csr";

    SignCertificateRequest request = new SignCertificateRequest();
    request.setProject(projectKey);
    request.setCsr(csr);
    request.setProjectSecret(FathomdbCrypto.serialize(projectSecret));

    try {
      SignCertificateResponse response = doSimpleXmlRequest(HttpMethod.POST, url, request,
          SignCertificateResponse.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.