RustCrypto / RSA

RSA implementation in pure Rust
Apache License 2.0
536 stars 148 forks source link

Impl PKCS#8/SPKI decoding traits for `pkcs1v15` keys #346

Closed tarcieri closed 1 year ago

tarcieri commented 1 year ago

Adds PKCS#8 (and via blanket impl, PKCS#1) and SPKI decoding trait support to pkcs1v15::{SigningKey, VerifyingKey}.

Also adds basic tests that decoding and encoding works.