extract_protocol_version_from_cert

Function extract_protocol_version_from_cert 

Source
fn extract_protocol_version_from_cert(
    cert_der: &CertificateDer<'_>,
) -> Result<ProtocolVersion, ProtocolVersionError>
Expand description

Extract protocol version from certificate extension This reads the custom extension that contains the negotiated protocol version