[#EVP_PKEY_asn1_set_get_priv_key] = EVP_PKEY_asn1_set_get_priv_key :mrdocs: Install the raw private‐key export callback on an EVP_PKEY_ASN1_METHOD. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void EVP_PKEY_asn1_set_get_priv_key( xref:EVP_PKEY_ASN1_METHOD.adoc[EVP_PKEY_ASN1_METHOD]* ameth, int(* get_priv_key)(xref:EVP_PKEY.adoc[EVP_PKEY] const*, unsigned char*, size_t*)); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ameth* | ASN.1 method table to update. | *get_priv_key* | Callback that writes the private key octets for `pk` into `priv` and reports the length via `len.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#