Set publication method and optional location in a SinglePubInfo.
Declared in <openssl/crmf.h>
int
OSSL_CRMF_MSG_set0_SinglePubInfo(
OSSL_CRMF_SINGLEPUBINFO* spi,
int method,
GENERAL_NAME* nm);
1 on success, or 0 on error.
| 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. |