OSSL_CRMF_MSG_set0_SinglePubInfo

Set publication method and optional location in a SinglePubInfo.

Synopsis

Declared in <openssl/crmf.h>

int
OSSL_CRMF_MSG_set0_SinglePubInfo(
    OSSL_CRMF_SINGLEPUBINFO* spi,
    int method,
    GENERAL_NAME* nm);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
spiSinglePubInfo to update.
methodPublication method (OSSL_CRMF_PUB_METHOD_*).
nmOptional publication location as a GeneralName; ownership is transferred when non-NULL.