Add RSA to supported algorithms

This commit is contained in:
Sosthène Guédon
2024-03-01 14:29:40 +01:00
committed by Nicolas Stalder
parent 280e9f6248
commit 633b8afe6f
+3 -1
View File
@@ -102,7 +102,9 @@ where
let application_property_template = piv_types::ApplicationPropertyTemplate::default()
.with_application_label(APPLICATION_LABEL)
.with_application_url(APPLICATION_URL)
.with_supported_cryptographic_algorithms(&[Tdes, Aes256, P256, Ed25519, X25519]);
.with_supported_cryptographic_algorithms(&[
Tdes, Aes256, P256, Ed25519, X25519, Rsa2048,
]);
application_property_template
.encode_to_heapless_vec(*reply)