Skip to main content

assert_provider_matches

Function assert_provider_matches 

Source
pub fn assert_provider_matches(
    provider: &CryptoProvider,
    p: &Policy,
) -> Result<(), CryptoError>
Expand description

Refuses a provider that does not carry exactly p’s suites and groups in order and its schemes in TlsSignatureScheme::preference order, or whose key provider is not the one crypto_provider(p) carries.