GRPC Core
18.0.0
|
Go to the source code of this file.
Macros | |
#define | GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME "transport_security_type" |
#define | GRPC_SSL_TRANSPORT_SECURITY_TYPE "ssl" |
#define | GRPC_X509_CN_PROPERTY_NAME "x509_common_name" |
#define | GRPC_X509_SAN_PROPERTY_NAME "x509_subject_alternative_name" |
#define | GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert" |
#define | GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME "x509_pem_cert_chain" |
#define | GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused" |
#define | GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME "security_level" |
#define | GRPC_PEER_DNS_PROPERTY_NAME "peer_dns" |
#define | GRPC_PEER_SPIFFE_ID_PROPERTY_NAME "peer_spiffe_id" |
#define | GRPC_PEER_URI_PROPERTY_NAME "peer_uri" |
#define | GRPC_PEER_EMAIL_PROPERTY_NAME "peer_email" |
#define | GRPC_PEER_IP_PROPERTY_NAME "peer_ip" |
#define | GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR "GRPC_DEFAULT_SSL_ROOTS_FILE_PATH" |
Environment variable that points to the default SSL roots file. More... | |
#define | GRPC_GOOGLE_CREDENTIALS_ENV_VAR "GOOGLE_APPLICATION_CREDENTIALS" |
Environment variable that points to the google default application credentials json key or refresh token. More... | |
#define GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR "GRPC_DEFAULT_SSL_ROOTS_FILE_PATH" |
Environment variable that points to the default SSL roots file.
This file must be a PEM encoded file with all the roots such as the one that can be downloaded from https://pki.google.com/roots.pem.
#define GRPC_GOOGLE_CREDENTIALS_ENV_VAR "GOOGLE_APPLICATION_CREDENTIALS" |
Environment variable that points to the google default application credentials json key or refresh token.
Used in the grpc_google_default_credentials_create function.
#define GRPC_PEER_DNS_PROPERTY_NAME "peer_dns" |
#define GRPC_PEER_EMAIL_PROPERTY_NAME "peer_email" |
#define GRPC_PEER_IP_PROPERTY_NAME "peer_ip" |
#define GRPC_PEER_SPIFFE_ID_PROPERTY_NAME "peer_spiffe_id" |
#define GRPC_PEER_URI_PROPERTY_NAME "peer_uri" |
#define GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused" |
#define GRPC_SSL_TRANSPORT_SECURITY_TYPE "ssl" |
#define GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME "security_level" |
#define GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME "transport_security_type" |
#define GRPC_X509_CN_PROPERTY_NAME "x509_common_name" |
#define GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME "x509_pem_cert_chain" |
#define GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert" |
#define GRPC_X509_SAN_PROPERTY_NAME "x509_subject_alternative_name" |
enum grpc_security_level |
Enumerator | |
---|---|
GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE | Server does not request client certificate. The certificate presented by the client is not checked by the server at all. (A client may present a self signed or signed certificate or not present a certificate at all and any of those option would be accepted) |
GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY | Server requests client certificate but does not enforce that the client presents a certificate. If the client presents a certificate, the client authentication is left to the application (the necessary metadata will be available to the application via authentication context properties, see grpc_auth_context). The client's key certificate pair must be valid for the SSL connection to be established. |
GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY | Server requests client certificate but does not enforce that the client presents a certificate. If the client presents a certificate, the client authentication is done by the gRPC framework. (For a successful connection the client needs to either present a certificate that can be verified against the root certificate configured by the server or not present a certificate at all) The client's key certificate pair must be valid for the SSL connection to be established. |
GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY | Server requests client certificate and enforces that the client presents a certificate. If the client presents a certificate, the client authentication is left to the application (the necessary metadata will be available to the application via authentication context properties, see grpc_auth_context). The client's key certificate pair must be valid for the SSL connection to be established. |
GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY | Server requests client certificate and enforces that the client presents a certificate. The certificate presented by the client is verified by the gRPC framework. (For a successful connection the client needs to present a certificate that can be verified against the root certificate configured by the server) The client's key certificate pair must be valid for the SSL connection to be established. |
enum grpc_tls_version |