|
@@ -9,12 +9,20 @@ service CertDeliveryService {
|
|
rpc UpdateSSLCert(UpdateSSLCertRequest)returns(UpdateSSLCertResponse){};
|
|
rpc UpdateSSLCert(UpdateSSLCertRequest)returns(UpdateSSLCertResponse){};
|
|
rpc DeleteSSLCert(DeleteSSLCertRequest)returns(DeleteSSLCertResponse){};
|
|
rpc DeleteSSLCert(DeleteSSLCertRequest)returns(DeleteSSLCertResponse){};
|
|
rpc WithdrawSSLCert(WithdrawSSLCertRequest)returns(WithdrawSSLCertResponse){};
|
|
rpc WithdrawSSLCert(WithdrawSSLCertRequest)returns(WithdrawSSLCertResponse){};
|
|
|
|
+ rpc ListSSLCert(ListSSLCertRequest)returns(ListSSLCertResponse){};
|
|
}
|
|
}
|
|
|
|
|
|
message Base{
|
|
message Base{
|
|
string username = 1;
|
|
string username = 1;
|
|
string key = 2;
|
|
string key = 2;
|
|
}
|
|
}
|
|
|
|
+message Cert{
|
|
|
|
+ string certName = 1;
|
|
|
|
+ string certStatus = 2;
|
|
|
|
+}
|
|
|
|
+message CertList{
|
|
|
|
+ repeated Cert cert = 1;
|
|
|
|
+}
|
|
message CreateSSLCertRequest{
|
|
message CreateSSLCertRequest{
|
|
Base base = 1;
|
|
Base base = 1;
|
|
string shortname = 2;
|
|
string shortname = 2;
|
|
@@ -56,4 +64,11 @@ message DeleteSSLCertResponse{
|
|
}
|
|
}
|
|
message WithdrawSSLCertResponse{
|
|
message WithdrawSSLCertResponse{
|
|
bool isSuccess = 1;
|
|
bool isSuccess = 1;
|
|
|
|
+}
|
|
|
|
+message ListSSLCertRequest{
|
|
|
|
+ Base base = 1;
|
|
|
|
+ string shortname = 2;
|
|
|
|
+}
|
|
|
|
+message ListSSLCertResponse{
|
|
|
|
+ CertList certList =1;
|
|
}
|
|
}
|