Go to the documentation of this file.
19 #ifndef GRPC_GRPC_SECURITY_CONSTANTS_H
20 #define GRPC_GRPC_SECURITY_CONSTANTS_H
26 #define GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME "transport_security_type"
27 #define GRPC_SSL_TRANSPORT_SECURITY_TYPE "ssl"
29 #define GRPC_X509_CN_PROPERTY_NAME "x509_common_name"
30 #define GRPC_X509_SAN_PROPERTY_NAME "x509_subject_alternative_name"
31 #define GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert"
32 #define GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME "x509_pem_cert_chain"
33 #define GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused"
34 #define GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME "security_level"
35 #define GRPC_PEER_SPIFFE_ID_PROPERTY_NAME "peer_spiffe_id"
40 #define GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR \
41 "GRPC_DEFAULT_SSL_ROOTS_FILE_PATH"
46 #define GRPC_GOOGLE_CREDENTIALS_ENV_VAR "GOOGLE_APPLICATION_CREDENTIALS"
Definition: grpc_security_constants.h:115
grpc_ssl_certificate_config_reload_status
Callback results for dynamically loading a SSL certificate config.
Definition: grpc_security_constants.h:56
Server requests client certificate but does not enforce that the client presents a certificate.
Definition: grpc_security_constants.h:88
Performs server certificate verification, but skips hostname verification Client is responsible for v...
Definition: grpc_security_constants.h:129
Definition: grpc_security_constants.h:140
Server requests client certificate but does not enforce that the client presents a certificate.
Definition: grpc_security_constants.h:77
Definition: grpc_security_constants.h:116
Do not try fallback options.
Definition: grpc_security_constants.h:52
Definition: grpc_security_constants.h:57
Definition: grpc_security_constants.h:58
grpc_ssl_roots_override_result
Results for the SSL roots override callback.
Definition: grpc_security_constants.h:49
Definition: grpc_security_constants.h:50
Definition: grpc_security_constants.h:59
grpc_ssl_client_certificate_request_type
Definition: grpc_security_constants.h:62
Definition: grpc_security_constants.h:117
grpc_tls_server_verification_option
Definition: grpc_security_constants.h:122
Definition: grpc_security_constants.h:140
grpc_security_level
Definition: grpc_security_constants.h:114
Server requests client certificate and enforces that the client presents a certificate.
Definition: grpc_security_constants.h:98
Server does not request client certificate.
Definition: grpc_security_constants.h:67
Default option: performs server certificate verification and hostname verification.
Definition: grpc_security_constants.h:125
Definition: grpc_security_constants.h:118
Server requests client certificate and enforces that the client presents a certificate.
Definition: grpc_security_constants.h:108
Skips both server certificate and hostname verification.
Definition: grpc_security_constants.h:133
Definition: grpc_security_constants.h:51
grpc_local_connect_type
Type of local connections for which local channel/server credentials will be applied.
Definition: grpc_security_constants.h:140
Definition: grpc_security_constants.h:119