Parse a PEM encapsulation header for cipher and IV (legacy PEM encryption).
Synopsis
Declared in <openssl/pem.h>
int
PEM_get_EVP_CIPHER_INFO(
char* header,
EVP_CIPHER_INFO* cipher);
Description
Deprecated: prefer PKCS#8 with PKCS#5 v2.0 PBE for new private‐key storage.
Return Value
1 on success, or 0 if the header is missing, malformed, or unsupported.
Parameters
Name |
Description |
header |
Encapsulation header returned by PEM_read() / PEM_read_bio(). |
cipher |
Receives the cipher and IV when the PEM data is encrypted. |
Created with MrDocs