pub fn assert_provider_matches(
provider: &CryptoProvider,
p: &Policy,
) -> Result<(), CryptoError>Expand description
Refuses a provider that does not carry exactly the suites, groups, handshake schemes and
their verifiers, certificate-chain verifiers, random source and key provider that
crypto_provider(p) carries, in its order. Each is compared by identity, so a substitute
that reports the same codepoint or algorithm identifiers is refused.