Retrieve MAC value and MAC‐parameter fields from a PKCS#12 PFX.
Synopsis
Declared in <openssl/pkcs12.h>
void
PKCS12_get0_mac(
ASN1_OCTET_STRING const** pmac,
X509_ALGOR const** pmacalg,
ASN1_OCTET_STRING const** psalt,
ASN1_INTEGER const** piter,
PKCS12 const* p12);
Parameters
Name |
Description |
pmac |
Receives the MAC octet string, or NULL to skip. |
pmacalg |
Receives the MAC algorithm identifier, or NULL to skip. |
psalt |
Receives the MAC salt, or NULL to skip. |
piter |
Receives the MAC iteration count, or NULL to skip. |
p12 |
PKCS#12 structure to query. |
Created with MrDocs