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=
-----END PRIVATE KEY-----"#;

fn main() {

    let x = pkcs8::PrivateKeyDocument::from_pem(RSA_2048_PRIVATE_PEM);
    println!("{:#?}", x);

    let doc = pkcs8::PublicKeyDocument::from_pem(RSA_2048_PEM);
    println!("{:?}", doc);
}
