Skip to main content

validate_pop_linking_simple

Function validate_pop_linking_simple 

Source
pub fn validate_pop_linking_simple(
    client_cert_subject: Option<&str>,
    csr_subject: &str,
) -> Result<(), String>
Expand description

Validate that the mTLS client certificate subject matches the CSR subject using simple string comparison (legacy API).

This is the simplified form that takes raw strings. For RFC 6125-compliant matching that considers SANs, use validate_pop_linking with an AuthResult instead.