pub unsafe extern "C" fn grpc_tls_certificate_provider_static_data_create(
    root_certificate: *const c_char,
    pem_key_cert_pairs: *mut grpc_tls_identity_pairs
) -> *mut grpc_tls_certificate_provider
Expand description

EXPERIMENTAL API - Subject to change

Creates a grpc_tls_certificate_provider that will load credential data from static string during initialization. This provider will always return the same cert data for all cert names. root_certificate and pem_key_cert_pairs can be nullptr, indicating the corresponding credential data is not needed. This function will make a copy of |root_certificate|. The ownership of |pem_key_cert_pairs| is transferred.