Function grpcio_sys::grpc_tls_identity_pairs_add_pair[][src]

pub unsafe extern "C" fn grpc_tls_identity_pairs_add_pair(
    pairs: *mut grpc_tls_identity_pairs,
    private_key: *const c_char,
    cert_chain: *const c_char
)
Expand description

Adds a identity private key and a identity certificate chain to grpc_tls_identity_pairs. This function will make an internal copy of |private_key| and |cert_chain|. It is used for experimental purpose for now and subject to change.