Verify the HMAC of a PKCS#12 object.
Declared in <openssl/pkcs12.h>
int
PKCS12_verify_mac(
PKCS12* p12,
char const* pass,
int passlen);
1 if the MAC is valid, 0 otherwise.
| Name | Description |
|---|---|
| p12 | PKCS#12 structure to verify. |
| pass | Passphrase for the HMAC. |
| passlen | Length of pass, or -1 to use strlen(). |