Skip to main content

parse_private_key

Function parse_private_key 

Source
fn parse_private_key(bytes: &[u8]) -> Result<RsaPrivateKey>
Expand description

The account private key is stored as raw PKCS#8 DER by the Bitwarden clients; older exports and other clients may hold PEM or base64 DER, so every shape is tried.