#[no_mangle]
pub extern "C" fn rustls_crypto_provider_ciphersuites_get(
    provider: *const rustls_crypto_provider,
    index: usize,
) -> *const rustls_supported_ciphersuite
Expand description

Retrieve a pointer to a supported ciphersuite of the rustls_crypto_provider.

This function will return NULL if the provider is NULL, or if the index is out of bounds with respect to rustls_crypto_provider_ciphersuites_len.

The lifetime of the returned rustls_supported_ciphersuite is equal to the lifetime of the provider and should not be used after the provider is freed.