[#OSSL_CRMF_MSG_set0_SinglePubInfo] = OSSL_CRMF_MSG_set0_SinglePubInfo :mrdocs: Set publication method and optional location in a SinglePubInfo. == Synopsis Declared in `<openssl/crmf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CRMF_MSG_set0_SinglePubInfo( xref:OSSL_CRMF_SINGLEPUBINFO.adoc[OSSL_CRMF_SINGLEPUBINFO]* spi, int method, xref:GENERAL_NAME.adoc[GENERAL_NAME]* nm); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *spi* | SinglePubInfo to update. | *method* | Publication method (OSSL_CRMF_PUB_METHOD_*). | *nm* | Optional publication location as a GeneralName; ownership is transferred when non‐NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#