evp_pkey_load_pubkey_mem()

 
Given EVP PKEY information in the given format, parse and load the public key from it and return a reference to the internal storage.
Syntax
evp_pkey_load_pubkey_mem( data, format, pkey var )
Returns 1 on success, 0 on failure
  • data = EVP PKEY text
  • format = Format of the EVP PKEY text. Valid values are "pem" and "der"
  • pkey = Structure reference to internal storage
User Annotations: evp_pkey_load_pubkey_mem