aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/grpc_security_constants.h
diff options
context:
space:
mode:
authorGravatar Justin Burke <burkej@google.com>2017-09-19 15:06:01 -0700
committerGravatar Justin Burke <burkej@google.com>2017-10-27 13:41:44 -0700
commitc1d354d7f2621f467e2f37f36498c20e132c3a72 (patch)
tree7cd280aef1a9a3e35f381782163e220dc7fee6f8 /include/grpc/grpc_security_constants.h
parentbf3f4be8f3b841ff2bd2fc0b8b11597580776568 (diff)
Support SSL server certificate reloading.
Diffstat (limited to 'include/grpc/grpc_security_constants.h')
-rw-r--r--include/grpc/grpc_security_constants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/grpc/grpc_security_constants.h b/include/grpc/grpc_security_constants.h
index fde300dfb1..60e167eb88 100644
--- a/include/grpc/grpc_security_constants.h
+++ b/include/grpc/grpc_security_constants.h
@@ -48,6 +48,13 @@ typedef enum {
GRPC_SSL_ROOTS_OVERRIDE_FAIL
} grpc_ssl_roots_override_result;
+/** Callback results for dynamically loading a SSL certificate config. */
+typedef enum {
+ GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_UNCHANGED,
+ GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_NEW,
+ GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_FAIL
+} grpc_ssl_certificate_config_reload_status;
+
typedef enum {
/** Server does not request client certificate. A client can present a self
signed or signed certificates if it wishes to do so and they would be