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 equivalent comparison for callers holding raw subject strings.