Extract an X.509 CRL from a crlBag safeBag with a library context.

Synopsis

Declared in <openssl/pkcs12.h>

X509_CRL*
PKCS12_SAFEBAG_get1_crl_ex(
    PKCS12_SAFEBAG const* bag,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

New X509_CRL, or NULL on error. Caller must free.

Parameters

Name

Description

bag

SafeBag containing a CRL.

libctx

Library context for algorithm fetching, or NULL for default.

propq

Property query for algorithm fetching, or NULL.

Created with MrDocs