CT_POLICY_EVAL_CTX_set1_cert

Set the certificate that the SCTs in a policy context were issued for.

Synopsis

Declared in <openssl/ct.h>

int
CT_POLICY_EVAL_CTX_set1_cert(
    CT_POLICY_EVAL_CTX* ctx,
    X509* cert);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
ctxPolicy evaluation context to update.
certCertificate associated with the SCTs; a reference is taken.