[#PEM_dek_info]
= PEM&lowbar;dek&lowbar;info
:mrdocs:

Append a DEK&hyphen;Info encapsulation header (cipher name and hex IV) to a PEM header&period;

== Synopsis

Declared in `&lt;openssl&sol;pem&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PEM&lowbar;dek&lowbar;info(
    char* buf,
    char const* type,
    int len,
    char const* str);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buf*
| NUL&hyphen;terminated buffer of size PEM&lowbar;BUFSIZE to append into&period;
| *type*
| Cipher name string (for example from EVP&lowbar;CIPHER&lowbar;get0&lowbar;name())&period;
| *len*
| Number of IV bytes at `str&period;`
| *str*
| IV bytes written as uppercase hex after the cipher name&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
