[#PKCS12_mac_present]
= PKCS12&lowbar;mac&lowbar;present
:mrdocs:

Test whether a PKCS&num;12 PFX carries an integrity MAC&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
PKCS12&lowbar;mac&lowbar;present(xref:PKCS12.adoc[PKCS12] const* p12);
----

== Return Value

1 if a MAC is present, or 0 if absent or `p12` is NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p12*
| PKCS&num;12 structure to query&period;
|===


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