[#EVP_PKEY_asn1_set_get_pub_key] = EVP_PKEY_asn1_set_get_pub_key :mrdocs: Install a callback that exports the raw public key encoding from an EVP_PKEY. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void EVP_PKEY_asn1_set_get_pub_key( xref:EVP_PKEY_ASN1_METHOD.adoc[EVP_PKEY_ASN1_METHOD]* ameth, int(* get_pub_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_pub_key* | Callback that writes the public key into `pub` / updates `len.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#