PEM_proc_type

Append a Proc-Type encapsulation header line to a PEM header buffer.

Synopsis

Declared in <openssl/pem.h>

void
PEM_proc_type(
    char* buf,
    int type);

Parameters

NameDescription
bufNUL-terminated buffer of size PEM_BUFSIZE to append into.
typeOne of PEM_TYPE_ENCRYPTED, PEM_TYPE_MIC_ONLY, PEM_TYPE_MIC_CLEAR, or PEM_TYPE_CLEAR.