|
NAMEEVP_PKEY_add1_attr ,
EVP_PKEY_add1_attr_by_OBJ ,
EVP_PKEY_add1_attr_by_NID ,
EVP_PKEY_add1_attr_by_txt ,
EVP_PKEY_delete_attr ,
EVP_PKEY_get_attr ,
EVP_PKEY_get_attr_count ,
EVP_PKEY_get_attr_by_OBJ ,
EVP_PKEY_get_attr_by_NID —
X.501 Attributes of private keys
SYNOPSIS#include <openssl/x509.h>
int
int
int
int
X509_ATTRIBUTE *
X509_ATTRIBUTE *
int
int
int
DESCRIPTIONThese functions support associating an array of X.501 Attributes with a private key. Such attributes can for example be included in PKCS#12 structures.
RETURN VALUESEVP_PKEY_add1_attr (),
EVP_PKEY_add1_attr_by_OBJ (),
EVP_PKEY_add1_attr_by_NID (), and
EVP_PKEY_add1_attr_by_txt () return 1 for success or 0
for failure.
SEE ALSOEVP_PKEY_new(3), OBJ_nid2obj(3), PKCS12_create(3), X509_ATTRIBUTE_create_by_OBJ(3), X509_ATTRIBUTE_new(3), X509at_add1_attr(3), X509at_get_attr(3)HISTORYThese functions first appeared in OpenSSL 0.9.8 and have been available since OpenBSD 4.5.
Visit the GSP FreeBSD Man Page Interface. |