Struct rustls_ffi::cipher::rustls_supported_ciphersuite
source · pub struct rustls_supported_ciphersuite { /* private fields */ }
Expand description
A cipher suite supported by rustls.
Implementations§
source§impl rustls_supported_ciphersuite
impl rustls_supported_ciphersuite
source#[no_mangle]pub extern "C" fn rustls_supported_ciphersuite_get_suite(
supported_ciphersuite: *const rustls_supported_ciphersuite
) -> u16
#[no_mangle]pub extern "C" fn rustls_supported_ciphersuite_get_suite(
supported_ciphersuite: *const rustls_supported_ciphersuite
) -> u16
Return a 16-bit unsigned integer corresponding to this cipher suite’s assignment from https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4. The bytes from the assignment are interpreted in network order.