Lines Matching refs:attributes
216 * sunw_evp_pkey_free() Given an EVP_PKEY structure, free any attributes
224 * pkey - Entry which potentially has attributes to be freed.
233 if (pkey->attributes != NULL) {
234 sk_X509_ATTRIBUTE_pop_free(pkey->attributes,
236 pkey->attributes = NULL;
299 if (pkey->attributes == NULL) {
300 pkey->attributes = sk_X509_ATTRIBUTE_new_null();
301 if (pkey->attributes == NULL) {
307 i = find_attr_by_nid(pkey->attributes, NID_localKeyID);
309 sk_X509_ATTRIBUTE_delete(pkey->attributes, i);
311 if (sk_X509_ATTRIBUTE_push(pkey->attributes, attr) == 0) {
335 * dowhat - What to do with the attributes (remove them or copy them).
363 if (pkey == NULL || pkey->attributes == NULL) {
367 if ((i = find_attr_by_nid(pkey->attributes, NID_localKeyID)) < 0) {
370 attr = sk_X509_ATTRIBUTE_value(pkey->attributes, i);
378 attr = sk_X509_ATTRIBUTE_delete(pkey->attributes, i);
402 * dowhat - What to do with the attributes (remove them or copy them).
425 if (pkey == NULL || pkey->attributes == NULL) {
429 if ((i = find_attr_by_nid(pkey->attributes, NID_friendlyName)) < 0) {
432 attr = sk_X509_ATTRIBUTE_value(pkey->attributes, i);
440 attr = sk_X509_ATTRIBUTE_delete(pkey->attributes, i);
682 * sunw_issuer_attrs - Given a cert, return the issuer-specific attributes
691 * This returns an ASCII string with all issuer-related attributes in one
693 * and an equal sign. Two attributes (ATTR1 and Attr2) would have the
700 * attributes. If the 'buf' argument was NULL, this is a
713 * sunw_subject_attrs - Given a cert, return the subject-specific attributes
722 * This returns an ASCII string with all subject-related attributes in one
724 * and an equal sign. Two attributes (ATTR1 and Attr2) would have the
731 * attributes. If the 'buf' argument was NULL, this is a