Install a callback that sets raw public‐key octets on an EVP_PKEY.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_set_pub_key(
    EVP_PKEY_ASN1_METHOD* ameth,
    int(* set_pub_key)(EVP_PKEY*, unsigned char const*, size_t));

Parameters

Name

Description

ameth

ASN.1 method being customized.

set_pub_key

Callback that imports len bytes of raw public key material into pk.

Created with MrDocs