PKCS12_mac_present

Test whether a PKCS#12 PFX carries an integrity MAC.

Synopsis

Declared in <openssl/pkcs12.h>

int
PKCS12_mac_present(PKCS12 const* p12);

Return Value

1 if a MAC is present, or 0 if absent or p12 is NULL.

Parameters

NameDescription
p12PKCS#12 structure to query.