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

Name

Description

buf

NUL‐terminated buffer of size PEM_BUFSIZE to append into.

type

One of PEM_TYPE_ENCRYPTED, PEM_TYPE_MIC_ONLY, PEM_TYPE_MIC_CLEAR, or PEM_TYPE_CLEAR.

Created with MrDocs