Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
EVP_PKEY_asn1_get_count, EVP_PKEY_asn1_get0, EVP_PKEY_get0_asn1, EVP_PKEY_asn1_find, EVP_PKEY_asn1_find_str, EVP_PKEY_asn1_get0_info — enumerate public key ASN.1 methodsSYNOPSIS
#include <openssl/evp.h>EVP_PKEY_asn1_get_count(void);
EVP_PKEY_asn1_get0(int idx);
EVP_PKEY_get0_asn1(const EVP_PKEY *pkey);
EVP_PKEY_asn1_find(ENGINE **pe, int type);
EVP_PKEY_asn1_find_str(ENGINE **pe, const char *str, int len);
EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id, int *ppkey_flags, const char **pinfo, const char **ppem_str, const EVP_PKEY_ASN1_METHOD *ameth);
DESCRIPTION
EVP_PKEY_asn1_get_count() returns the number of public key ASN.1 methods available.- ASN1_PKEY_ALIAS
- This ameth object serves as an alias for another EVP_PKEY_ASN1_METHOD object and will never be returned from EVP_PKEY_asn1_find() or EVP_PKEY_asn1_find_str().
- ASN1_PKEY_DYNAMIC
- This ameth object is marked as dynamically allocated. If this flag is set, EVP_PKEY_asn1_free(3) can free ameth; otherwise, EVP_PKEY_asn1_free(3) has no effect on it.
- ASN1_PKEY_SIGPARAM_NULL
- If the signing ctx uses an EVP_PKEY private key associated with this ameth, instruct ASN1_item_sign_ctx(3) to use a parameter type of V_ASN1_NULL instead of the default V_ASN1_UNDEF when encoding the ASN.1 AlgorithmIdentifier objects with X509_ALGOR_set0(3). In particular, this is used for EVP_PKEY_RSA.