[#PKCS12_SAFEBAG_get1_crl]
= PKCS12&lowbar;SAFEBAG&lowbar;get1&lowbar;crl
:mrdocs:

Extract an X&period;509 CRL from a crlBag safeBag&period;

== Synopsis

Declared in `&lt;openssl&sol;pkcs12&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:X509_CRL.adoc[X509&lowbar;CRL]*
PKCS12&lowbar;SAFEBAG&lowbar;get1&lowbar;crl(xref:PKCS12_SAFEBAG.adoc[PKCS12&lowbar;SAFEBAG] const* bag);
----

== Return Value

New X509&lowbar;CRL, or NULL on error&period; Caller must free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bag*
| SafeBag containing a CRL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
