|
NAMEX509at_add1_attr ,
X509at_add1_attr_by_OBJ ,
X509at_add1_attr_by_NID ,
X509at_add1_attr_by_txt ,
X509at_delete_attr —
change an array of X.501 Attribute objects
SYNOPSIS#include <openssl/x509.h>
STACK_OF(X509_ATTRIBUTE) *
STACK_OF(X509_ATTRIBUTE) *
STACK_OF(X509_ATTRIBUTE) *
STACK_OF(X509_ATTRIBUTE) *
X509_ATTRIBUTE *
DESCRIPTIONX509at_add1_attr () appends a deep copy of
attr to the end of **pattrs. If
*pattrs is NULL , a new array is
allocated, and in case of success, a pointer to it is assigned to
*pattrs.
RETURN VALUESX509at_add1_attr (),
X509at_add1_attr_by_OBJ (),
X509at_add1_attr_by_NID (), and
X509at_add1_attr_by_txt () return a pointer to the
modified or new array or NULL if the
pattrs argument is NULL or if
creating or copying the X.501 Attribute object or memory allocation fails.
SEE ALSOEVP_PKEY_add1_attr(3), OBJ_nid2obj(3), PKCS8_pkey_add1_attr_by_NID(3), STACK_OF(3), X509_ATTRIBUTE_create_by_OBJ(3), X509_ATTRIBUTE_new(3), X509_REQ_add1_attr(3), X509at_get_attr(3)HISTORYThese functions first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7.
Visit the GSP FreeBSD Man Page Interface. |