Append a certificate policy to the template policy extension.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_push0_policy(
    OSSL_CMP_CTX* ctx,
    POLICYINFO* pinfo);

Return Value

1 on success, 0 on error.

Parameters

Name

Description

ctx

CMP context.

pinfo

PolicyInformation to append; ownership transfers to the context.

Created with MrDocs