PKCS#8 encrypted private key container used with PEM reading/writing.
Declared in <openssl/x509.h>
struct private_key_st;
| Name | Description |
|---|---|
cipher | Symmetric cipher parameters used to encrypt/decrypt key_data. |
dec_pkey | Decrypted private key corresponding to enc_pkey when available. |
enc_algor | AlgorithmIdentifier for the encrypted private key in enc_pkey. |
enc_pkey | Encrypted private-key octets (PKCS#8 encrypted content). |
key_data | Symmetric key bytes of length key_length used to encrypt/decrypt enc_pkey. |
key_free | Non-zero when key_data was allocated and should be freed with the structure. |
key_length | Length in bytes of the symmetric key held in key_data. |
version | PKCS#8 version number for the encrypted private key container. |