[#PEM_SignInit] = PEM_SignInit :mrdocs: Initialize an EVP_MD_CTX for signing with digest `type` (used by PEM_Sign*). == Synopsis Declared in `<openssl/pem.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PEM_SignInit( xref:EVP_MD_CTX.adoc[EVP_MD_CTX]* ctx, xref:EVP_MD.adoc[EVP_MD]* type); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Digest context to initialize for signing. | *type* | Message digest algorithm (for example EVP_sha256()). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#