Append a DEK‐Info encapsulation header (cipher name and hex IV) to a PEM header.
Synopsis
Declared in <openssl/pem.h>
void
PEM_dek_info(
char* buf,
char const* type,
int len,
char const* str);
Parameters
Name |
Description |
buf |
NUL‐terminated buffer of size PEM_BUFSIZE to append into. |
type |
Cipher name string (for example from EVP_CIPHER_get0_name()). |
len |
Number of IV bytes at |
str |
IV bytes written as uppercase hex after the cipher name. |
Created with MrDocs