Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
EVP_PKEY_set1_RSA, EVP_PKEY_set1_DSA, EVP_PKEY_set1_DH, EVP_PKEY_set1_EC_KEY, EVP_PKEY_get1_RSA, EVP_PKEY_get1_DSA, EVP_PKEY_get1_DH, EVP_PKEY_get1_EC_KEY, EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY, EVP_PKEY_get0_hmac, EVP_PKEY_get0, EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH, EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign, EVP_PKEY_base_id, EVP_PKEY_id, EVP_PKEY_type, EVP_PKEY_set_type, EVP_PKEY_set_type_str — EVP_PKEY assignment functionsSYNOPSIS
#include <openssl/evp.h>EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key);
EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key);
EVP_PKEY_set1_DH(EVP_PKEY *pkey, DH *key);
EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);
EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
EVP_PKEY_get1_DH(EVP_PKEY *pkey);
EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
EVP_PKEY_get0_DSA(EVP_PKEY *pkey);
EVP_PKEY_get0_DH(EVP_PKEY *pkey);
EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey);
EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
EVP_PKEY_get0(const EVP_PKEY *pkey);
EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key);
EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key);
EVP_PKEY_assign_DH(EVP_PKEY *pkey, DH *key);
EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key);
EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
EVP_PKEY_base_id(EVP_PKEY *pkey);
EVP_PKEY_id(EVP_PKEY *pkey);
EVP_PKEY_type(int type);
EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
DESCRIPTION
EVP_PKEY_set1_RSA(), EVP_PKEY_set1_DSA(), EVP_PKEY_set1_DH(), and EVP_PKEY_set1_EC_KEY() set the key referenced by pkey to key and increment the reference count of key by 1 in case of success.return value | PEM type string | |
EVP_PKEY_CMAC | = NID_cmac | CMAC |
EVP_PKEY_DH | = NID_dhKeyAgreement | DH |
EVP_PKEY_DSA | = NID_dsa | DSA |
EVP_PKEY_EC | = NID_X9_62_id_ecPublicKey | EC |
EVP_PKEY_HMAC | = NID_hmac | HMAC |
EVP_PKEY_RSA | = NID_rsaEncryption | RSA |
EVP_PKEY_RSA_PSS | = NID_rsassaPss | RSA-PSS |
return value | alias for | |
EVP_PKEY_DSA1 | = NID_dsa_2 | DSA |
EVP_PKEY_DSA2 | = NID_dsaWithSHA | DSA |
EVP_PKEY_DSA3 | = NID_dsaWithSHA1 | DSA |
EVP_PKEY_DSA4 | = NID_dsaWithSHA1_2 | DSA |
EVP_PKEY_RSA2 | = NID_rsa | RSA |