Skip to main content

client_cert_identity

Function client_cert_identity 

Source
pub fn client_cert_identity<IO>(
    stream: &TlsStream<IO>,
) -> Option<ClientCertIdentity>
Expand description

The verified client identity on an mTLS connection, or None if the client presented no certificate (anonymous client in optional mode, or mTLS not enabled). Read after the handshake.