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

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.

Created with MrDocs