Function grpcio_sys::grpc_tls_certificate_verifier_verify
source · pub unsafe extern "C" fn grpc_tls_certificate_verifier_verify(
verifier: *mut grpc_tls_certificate_verifier,
request: *mut grpc_tls_custom_verification_check_request,
callback: grpc_tls_on_custom_verification_check_done_cb,
callback_arg: *mut c_void,
sync_status: *mut Type,
sync_error_details: *mut *mut c_char
) -> c_int
Expand description
EXPERIMENTAL API - Subject to change
Performs the verification logic of an internal verifier. This is typically used when composing the internal verifiers as part of the custom verification. If |grpc_tls_certificate_verifier_verify| returns true, inspect the verification result through request->status and request->error_details. Otherwise, inspect through the parameter of |callback|.