Skip to main content

Module encoding

Module encoding 

Source
Expand description

PKCS#1 and PKCS#8 encoding support.

Note: PKCS#1 support is achieved through a blanket impl of the pkcs1 crate’s traits for types which impl the pkcs8 crate’s traits.

Constants§

ID_RSASSA_PSS
ObjectID for the RSA PSS keys

Functions§

pkcs1_error_to_pkcs8 🔒
Convert pkcs1::Result to pkcs8::Result.
pkcs1_error_to_spki 🔒
Convert pkcs1::Result to spki::Result.
uint_from_slice 🔒
verify_algorithm_id 🔒
Verify that the AlgorithmIdentifier for a key is correct.