llnwCERT.proto 975 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. syntax = "proto3";
  2. package llnwApi.Delivery.CERT;
  3. option java_multiple_files = true;
  4. option java_package = "io.grpc.llnw.delivery.CERT";
  5. service CertDeliveryService {
  6. rpc CreateSSLCert(CreateSSLCertRequest)returns(CreateSSLCertResponse){};
  7. rpc UpdateSSLCert(UpdateSSLCertRequest)returns(UpdateSSLCertResponse){};
  8. rpc DeleteSSLCert(DeleteSSLCertRequest)returns(DeleteSSLCertResponse){};
  9. }
  10. message Base{
  11. string username = 1;
  12. string key = 2;
  13. }
  14. message CreateSSLCertRequest{
  15. Base base = 1;
  16. string shortname = 2;
  17. string cert = 3;
  18. string certKey = 4;
  19. string certName = 5;
  20. }
  21. message UpdateSSLCertRequest{
  22. Base base = 1;
  23. string shortname = 2;
  24. string uuid = 3;
  25. string cert = 4;
  26. string certKey = 5;
  27. string certName = 6;
  28. }
  29. message DeleteSSLCertRequest{
  30. Base base = 1;
  31. string uuid = 2;
  32. }
  33. message CreateSSLCertResponse{
  34. string uuid = 1;
  35. }
  36. message UpdateSSLCertResponse{
  37. bool isSuccess = 1;
  38. }
  39. message DeleteSSLCertResponse{
  40. bool isSuccess = 1;
  41. }