ソースを参照

feature:新增llnw的证书列表获取接口

YuXinLong 1 年間 前
コミット
15ffd7fb7a
1 ファイル変更15 行追加0 行削除
  1. 15 0
      llnwCERT.proto

+ 15 - 0
llnwCERT.proto

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