|
@@ -5,8 +5,10 @@ option java_multiple_files = true;
|
|
option java_package = "io.grpc.llnw.delivery.CERT";
|
|
option java_package = "io.grpc.llnw.delivery.CERT";
|
|
service CertDeliveryService {
|
|
service CertDeliveryService {
|
|
rpc CreateSSLCert(CreateSSLCertRequest)returns(CreateSSLCertResponse){};
|
|
rpc CreateSSLCert(CreateSSLCertRequest)returns(CreateSSLCertResponse){};
|
|
|
|
+ rpc PublishSSLCert(PublishSSLCertRequest)returns(PublishSSLCertResponse){};
|
|
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){};
|
|
}
|
|
}
|
|
|
|
|
|
message Base{
|
|
message Base{
|
|
@@ -20,6 +22,10 @@ message CreateSSLCertRequest{
|
|
string certKey = 4;
|
|
string certKey = 4;
|
|
string certName = 5;
|
|
string certName = 5;
|
|
}
|
|
}
|
|
|
|
+message PublishSSLCertRequest{
|
|
|
|
+ Base base = 1;
|
|
|
|
+ string uuid = 2;
|
|
|
|
+}
|
|
message UpdateSSLCertRequest{
|
|
message UpdateSSLCertRequest{
|
|
Base base = 1;
|
|
Base base = 1;
|
|
string shortname = 2;
|
|
string shortname = 2;
|
|
@@ -32,12 +38,22 @@ message DeleteSSLCertRequest{
|
|
Base base = 1;
|
|
Base base = 1;
|
|
string uuid = 2;
|
|
string uuid = 2;
|
|
}
|
|
}
|
|
|
|
+message WithdrawSSLCertRequest{
|
|
|
|
+ Base base = 1;
|
|
|
|
+ string uuid = 2;
|
|
|
|
+}
|
|
message CreateSSLCertResponse{
|
|
message CreateSSLCertResponse{
|
|
string uuid = 1;
|
|
string uuid = 1;
|
|
}
|
|
}
|
|
|
|
+message PublishSSLCertResponse{
|
|
|
|
+ bool isSuccess = 1;
|
|
|
|
+}
|
|
message UpdateSSLCertResponse{
|
|
message UpdateSSLCertResponse{
|
|
bool isSuccess = 1;
|
|
bool isSuccess = 1;
|
|
}
|
|
}
|
|
message DeleteSSLCertResponse{
|
|
message DeleteSSLCertResponse{
|
|
bool isSuccess = 1;
|
|
bool isSuccess = 1;
|
|
|
|
+}
|
|
|
|
+message WithdrawSSLCertResponse{
|
|
|
|
+ bool isSuccess = 1;
|
|
}
|
|
}
|