Skip to main content

build_auth_tls_probe

Function build_auth_tls_probe 

Source
pub fn build_auth_tls_probe(xid: u32) -> Vec<u8> 
Expand description

Build an AUTH_TLS probe (RFC 9289 S4.1) to detect RPC-over-TLS support.

Identical to build_null_call except the credential flavor is AUTH_TLS (7) instead of AUTH_NONE (0). The verifier remains AUTH_NONE. If the server supports TLS it replies with a verifier body of b"STARTTLS".