pub fn encode_p384_pkcs8_der(key: &SecretKey) -> [u8; 185]Expand description
Encodes a P-384 secret key as PKCS#8 DER in the fixed 185-byte
PrivateKeyInfo form used by OpenSSL for secp384r1.
The embedded public key is derived from key, so the output always
contains a consistent private/public key pair.