Append a copy of attr to an EVP_PKEY attribute list, creating the list if needed.
Synopsis
Declared in <openssl/x509.h>
int
EVP_PKEY_add1_attr(
EVP_PKEY* key,
X509_ATTRIBUTE* attr);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
key |
Key whose attribute stack is updated. |
attr |
Attribute to copy onto the key; must be non‐NULL and not already present. |
Created with MrDocs