Skip to main content

parse_auth_tls_reply

Function parse_auth_tls_reply 

Source
pub fn parse_auth_tls_reply(reply: &[u8]) -> bool
Expand description

Parse an ONC RPC reply to an AUTH_TLS probe (RFC 9289 S4.1).

Returns true when the server indicates TLS support: the reply must be MSG_ACCEPTED with a verifier whose body is exactly b"STARTTLS".