CLOUDSTACK-7952: Remove private key from SslCertResponse (listSslCerts)

Signed-off-by: Will Stevens <wstevens@cloudops.com>
This commit is contained in:
Syed 2014-10-31 23:24:44 -04:00 committed by Will Stevens
parent 4ff3130bec
commit 8ea7902075
2 changed files with 0 additions and 9 deletions

View File

@ -40,10 +40,6 @@ public class SslCertResponse extends BaseResponse {
@Param(description = "certificate")
private String certificate;
@SerializedName(ApiConstants.PRIVATE_KEY)
@Param(description = "private key")
private String privatekey;
@SerializedName(ApiConstants.ACCOUNT)
@Param(description = "account for the certificate")
private String accountName;
@ -87,10 +83,6 @@ public class SslCertResponse extends BaseResponse {
this.certificate = cert;
}
public void setPrivatekey(String key) {
this.privatekey = key;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}

View File

@ -320,7 +320,6 @@ public class CertServiceImpl implements CertService {
response.setObjectName("sslcert");
response.setId(cert.getUuid());
response.setCertificate(cert.getCertificate());
response.setPrivatekey(cert.getKey());
response.setFingerprint(cert.getFingerPrint());
if (cert.getChain() != null)