|
@@ -39,6 +39,11 @@ class CertDeliveryServiceStub(object):
|
|
|
request_serializer=llnwCERT__pb2.WithdrawSSLCertRequest.SerializeToString,
|
|
|
response_deserializer=llnwCERT__pb2.WithdrawSSLCertResponse.FromString,
|
|
|
)
|
|
|
+ self.ListSSLCert = channel.unary_unary(
|
|
|
+ '/llnwApi.Delivery.CERT.CertDeliveryService/ListSSLCert',
|
|
|
+ request_serializer=llnwCERT__pb2.ListSSLCertRequest.SerializeToString,
|
|
|
+ response_deserializer=llnwCERT__pb2.ListSSLCertResponse.FromString,
|
|
|
+ )
|
|
|
|
|
|
|
|
|
class CertDeliveryServiceServicer(object):
|
|
@@ -74,6 +79,12 @@ class CertDeliveryServiceServicer(object):
|
|
|
context.set_details('Method not implemented!')
|
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
+ def ListSSLCert(self, request, context):
|
|
|
+ """Missing associated documentation comment in .proto file."""
|
|
|
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
|
+ context.set_details('Method not implemented!')
|
|
|
+ raise NotImplementedError('Method not implemented!')
|
|
|
+
|
|
|
|
|
|
def add_CertDeliveryServiceServicer_to_server(servicer, server):
|
|
|
rpc_method_handlers = {
|
|
@@ -102,6 +113,11 @@ def add_CertDeliveryServiceServicer_to_server(servicer, server):
|
|
|
request_deserializer=llnwCERT__pb2.WithdrawSSLCertRequest.FromString,
|
|
|
response_serializer=llnwCERT__pb2.WithdrawSSLCertResponse.SerializeToString,
|
|
|
),
|
|
|
+ 'ListSSLCert': grpc.unary_unary_rpc_method_handler(
|
|
|
+ servicer.ListSSLCert,
|
|
|
+ request_deserializer=llnwCERT__pb2.ListSSLCertRequest.FromString,
|
|
|
+ response_serializer=llnwCERT__pb2.ListSSLCertResponse.SerializeToString,
|
|
|
+ ),
|
|
|
}
|
|
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
|
'llnwApi.Delivery.CERT.CertDeliveryService', rpc_method_handlers)
|
|
@@ -196,3 +212,20 @@ class CertDeliveryService(object):
|
|
|
llnwCERT__pb2.WithdrawSSLCertResponse.FromString,
|
|
|
options, channel_credentials,
|
|
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
|
+
|
|
|
+ @staticmethod
|
|
|
+ def ListSSLCert(request,
|
|
|
+ target,
|
|
|
+ options=(),
|
|
|
+ channel_credentials=None,
|
|
|
+ call_credentials=None,
|
|
|
+ insecure=False,
|
|
|
+ compression=None,
|
|
|
+ wait_for_ready=None,
|
|
|
+ timeout=None,
|
|
|
+ metadata=None):
|
|
|
+ return grpc.experimental.unary_unary(request, target, '/llnwApi.Delivery.CERT.CertDeliveryService/ListSSLCert',
|
|
|
+ llnwCERT__pb2.ListSSLCertRequest.SerializeToString,
|
|
|
+ llnwCERT__pb2.ListSSLCertResponse.FromString,
|
|
|
+ options, channel_credentials,
|
|
|
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|