initialize_default_crypto_provider

Function initialize_default_crypto_provider 

Source
pub fn initialize_default_crypto_provider() -> Result<(), GenericError>
Expand description

Initializes the default TLS cryptography provider used by rustls.

This explicitly sets the AWS-LC provider as the default provider for all future TLS configurations, which provides the ability to run in FIPS mode for FIPS-compliant builds.

This is the only supported cryptography provider in Saluki.

ยงErrors

If the default cryptography provider has already been set, an error will be returned.