Searched refs:is_compatible (Results 1 – 3 of 3) sorted by relevance
47 let private_key = if key_pair.is_compatible(&rcgen::PKCS_ED25519) { in from_params()55 } else if key_pair.is_compatible(&rcgen::PKCS_ECDSA_P256_SHA256) { in from_params()66 } else if key_pair.is_compatible(&rcgen::PKCS_RSA_SHA256) { in from_params()100 if key_pair.is_compatible(&rcgen::PKCS_ED25519) { in from_key_pair()102 } else if key_pair.is_compatible(&rcgen::PKCS_ECDSA_P256_SHA256) { in from_key_pair()104 } else if key_pair.is_compatible(&rcgen::PKCS_RSA_SHA256) { in from_key_pair()
209 if key_pair.is_compatible(&rcgen::PKCS_ED25519) { in try_from()217 } else if key_pair.is_compatible(&rcgen::PKCS_ECDSA_P256_SHA256) { in try_from()228 } else if key_pair.is_compatible(&rcgen::PKCS_RSA_SHA256) { in try_from()245 if key_pair.is_compatible(&rcgen::PKCS_ED25519) { in from_key_pair()253 } else if key_pair.is_compatible(&rcgen::PKCS_ECDSA_P256_SHA256) { in from_key_pair()264 } else if key_pair.is_compatible(&rcgen::PKCS_RSA_SHA256) { in from_key_pair()
98 pub(crate) fn is_compatible(&self, private_key: &CryptoPrivateKey) -> bool { in is_compatible() method146 if ss.is_compatible(private_key) { in select_signature_scheme()