[#PKCS12_item_decrypt_d2i] = PKCS12_item_decrypt_d2i :mrdocs: Decrypt an ASN.1 octet string and decode the embedded object. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* PKCS12_item_decrypt_d2i( xref:X509_ALGOR.adoc[X509_ALGOR] const* algor, xref:ASN1_ITEM.adoc[ASN1_ITEM] const* it, char const* pass, int passlen, xref:ASN1_OCTET_STRING.adoc[ASN1_OCTET_STRING] const* oct, int zbuf); ---- == Return Value Decoded object, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *algor* | PBE algorithm identifier. | *it* | ASN.1 item descriptor for the embedded type. | *pass* | Passphrase for decryption. | *passlen* | Length of `pass,` or ‐1 to use strlen(). | *oct* | Encrypted octet string. | *zbuf* | If nonzero, zero the decrypted buffer after use. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#