Closed OstrichRunning closed 3 months ago
Yes? PKCS#1 and PKCS#8 are two different standards for encoding RSA keys. PKCS#8 is a newer format and acts as a wrapper for the older PKCS#1, which was RSA only.
What is your specific concern?
Yes? PKCS#1 and PKCS#8 are two different standards for encoding RSA keys. PKCS#8 is a newer format and acts as a wrapper for the older PKCS#1, which was RSA only.
What is your specific concern?
I understand
let mut pem = String::new(); let private_key = RsaPrivateKey::from_pkcs1_pem(&pem)?;