/openssl/crypto/evp/ |
H A D | evp_pkey.c | 187 return X509at_get_attr_count(key->attributes); in EVP_PKEY_get_attr_count() 192 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); in EVP_PKEY_get_attr_by_NID() 198 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); in EVP_PKEY_get_attr_by_OBJ() 203 return X509at_get_attr(key->attributes, loc); in EVP_PKEY_get_attr() 208 return X509at_delete_attr(key->attributes, loc); in EVP_PKEY_delete_attr() 213 if (X509at_add1_attr(&key->attributes, attr)) in EVP_PKEY_add1_attr() 222 if (X509at_add1_attr_by_OBJ(&key->attributes, obj, type, bytes, len)) in EVP_PKEY_add1_attr_by_OBJ() 231 if (X509at_add1_attr_by_NID(&key->attributes, nid, type, bytes, len)) in EVP_PKEY_add1_attr_by_NID() 240 if (X509at_add1_attr_by_txt(&key->attributes, attrname, type, bytes, len)) in EVP_PKEY_add1_attr_by_txt()
|
/openssl/crypto/x509/ |
H A D | x509_req.c | 177 loc = X509at_get_attr_by_NID(req->req_info.attributes, nid, -1); in X509_REQ_add_extensions_nid() 192 X509_ATTRIBUTE *att = X509at_delete_attr(req->req_info.attributes, loc); in X509_REQ_add_extensions_nid() 217 return X509at_get_attr_count(req->req_info.attributes); in X509_REQ_get_attr_count() 222 return X509at_get_attr_by_NID(req->req_info.attributes, nid, lastpos); in X509_REQ_get_attr_by_NID() 228 return X509at_get_attr_by_OBJ(req->req_info.attributes, obj, lastpos); in X509_REQ_get_attr_by_OBJ() 233 return X509at_get_attr(req->req_info.attributes, loc); in X509_REQ_get_attr() 244 attr = X509at_delete_attr(req->req_info.attributes, loc); in X509_REQ_delete_attr() 256 if (!X509at_add1_attr(&req->req_info.attributes, attr)) in X509_REQ_add1_attr() 270 if (!X509at_add1_attr_by_OBJ(&req->req_info.attributes, obj, in X509_REQ_add1_attr_by_OBJ() 285 if (!X509at_add1_attr_by_NID(&req->req_info.attributes, nid, in X509_REQ_add1_attr_by_NID() [all …]
|
H A D | x509_acert.c | 59 ASN1_SEQUENCE_OF(X509_ACERT_INFO, attributes, X509_ATTRIBUTE), 194 return X509at_get_attr_count(x->acinfo->attributes); in X509_ACERT_get_attr_count() 199 return X509at_get_attr_by_NID(x->acinfo->attributes, nid, lastpos); in X509_ACERT_get_attr_by_NID() 205 return X509at_get_attr_by_OBJ(x->acinfo->attributes, obj, lastpos); in X509_ACERT_get_attr_by_OBJ() 210 return X509at_get_attr(x->acinfo->attributes, loc); in X509_ACERT_get_attr() 215 return X509at_delete_attr(x->acinfo->attributes, loc); in X509_ACERT_delete_attr() 220 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr() 228 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr_by_OBJ() 236 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr_by_NID() 244 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr_by_txt()
|
H A D | x_req.c | 41 rinf->attributes = sk_X509_ATTRIBUTE_new_null(); in rinf_cb() 42 if (!rinf->attributes) in rinf_cb() 116 ASN1_IMP_SET_OF_OPT(X509_REQ_INFO, attributes, X509_ATTRIBUTE, 0)
|
H A D | x509_r2x.c | 35 if (sk_X509_ATTRIBUTE_num(r->req_info.attributes) != 0) { in X509_REQ_to_X509()
|
/openssl/crypto/asn1/ |
H A D | p8_pkey.c | 33 ASN1_IMP_SET_OF_OPT(PKCS8_PRIV_KEY_INFO, attributes, X509_ATTRIBUTE, 0) 71 return p8->attributes; in STACK_OF() 77 if (X509at_add1_attr_by_NID(&p8->attributes, nid, type, bytes, len) != NULL) in PKCS8_pkey_add1_attr_by_NID() 85 return (X509at_add1_attr_by_OBJ(&p8->attributes, obj, type, bytes, len) != NULL); in PKCS8_pkey_add1_attr_by_OBJ() 90 return (X509at_add1_attr(&p8->attributes, attr) != NULL); in PKCS8_pkey_add1_attr()
|
/openssl/doc/man3/ |
H A D | CMS_signed_get_attr.pod | 67 attributes. Each CMS_signed_XXX() function is used for signed attributes, and 68 each CMS_unsigned_XXX() function is used for unsigned attributes. 77 order to iterate through the remaining attributes. I<lastpos> can be set to any 111 attributes list that matches the I<obj> starting at index I<lastpos> 112 and returns the data retrieved from the found attributes first B<ASN1_TYPE> 121 Refer to L<X509_ATTRIBUTE(3)> for information related to attributes. 128 CMS_signed_get_attr_count() returns the number of signed attributes in the 148 signed attributes first B<ASN1_TYPE> object, or NULL if an error occurs. 152 Some attributes are added automatically during the signing process. 164 attributes depending on the flags parameter. See L<CMS_add1_signer(3)> for [all …]
|
H A D | X509_ACERT_get_attr.pod | 9 - Retrieve attributes from an X509_ACERT structure 25 of attributes in the B<X509_ACERT>. 42 X509_ACERT_get_attr_count() returns the number of attributes in the given
|
H A D | X509_ATTRIBUTE.pod | 102 in a list of attributes I<sk>. The search starts at the position after I<lastpos>. 105 the remaining attributes. I<lastpos> can be set to any negative value on the 113 list of attributes I<x>. I<loc> should be in the range from 0 to 117 the list of attributes I<x>. 147 attributes list. The new object is assigned a copy of the data in I<data> of 150 I<attr> attributes NID is used to set an B<ASN1_STRING> using 166 attributes existing list of objects, which could be an issue if the attributes 193 retrieved from the found attributes first B<ASN1_TYPE> object. An error will 204 X509at_get_attr_count() returns the number of attributes in the list I<x> or -1 238 X509at_get0_data_by_OBJ() returns the data retrieved from the found attributes
|
H A D | PKCS12_parse.pod | 33 The B<friendlyName> and B<localKeyID> attributes (if present) on each 34 certificate will be stored in the B<alias> and B<keyid> attributes of the 58 Only B<friendlyName> and B<localKeyID> attributes are currently stored in 59 certificates. Other attributes are discarded.
|
H A D | PKCS12_SAFEBAG_set0_attrs.pod | 6 - Set attributes for a PKCS#12 safeBag 17 PKCS#12 safeBag. I<bag> is the B<PKCS12_SAFEBAG> to assign the attributes to.
|
H A D | X509_REQ_get_attr.pod | 39 the remaining attributes. I<lastpos> can be set to any negative value on the 51 the I<req> objects list of attributes. An error occurs if I<req> is NULL. 71 Refer to L<X509_ATTRIBUTE(3)> for information related to attributes. 75 X509_REQ_get_attr_count() returns the number of attributes in the I<req> object 95 Any functions that modify the attributes (add or delete) internally set a flag
|
H A D | PKCS12_SAFEBAG_get0_attrs.pod | 6 - Retrieve attributes from a PKCS#12 safeBag 20 PKCS#12 safeBag. I<bag> is the B<PKCS12_SAFEBAG> to retrieve the attributes from.
|
H A D | X509_ACERT_add_attr_nconf.pod | 6 - Add attributes to X509_ACERT from configuration section 18 existing B<X509_ACERT> structure I<acert>. The attributes are read
|
H A D | X509_REQ_get_extensions.pod | 7 - handle X.509 extension attributes of a CSR 21 found in the attributes of I<req>.
|
H A D | CMS_add1_signer.pod | 43 algorithms are needed. New attributes can also be added using the returned 57 CMS_SignerInfo structure will not be finalized so additional attributes 85 structure just added, this can be used to set additional attributes
|
H A D | X509_ACERT_print_ex.pod | 65 The list of attributes contained in the attribute certificate. 67 attributes are printed as raw string data. ASN1 encoded values are
|
/openssl/Configurations/ |
H A D | windows-makefile.tmpl | 65 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 66 && $unified_info{attributes}->{modules}->{$_}->{fips} } 89 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} } 106 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 112 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 118 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 125 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 131 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 148 grep { !$unified_info{attributes}->{scripts}->{$_}->{noinst} 154 grep { !$unified_info{attributes}->{scripts}->{$_}->{noinst} [all …]
|
H A D | descrip.mms.tmpl | 53 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} } 57 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} } 60 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 64 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 65 && !$unified_info{attributes}->{modules}->{$_}->{engine} 66 && !$unified_info{attributes}->{modules}->{$_}->{fips} } 69 grep { !$unified_info{attributes}->{modules}->{$_}->{noinst} 70 && $unified_info{attributes}->{modules}->{$_}->{fips} } 76 grep { !$unified_info{attributes}->{scripts}->{$_}->{noinst} 80 grep { !$unified_info{attributes}->{scripts}->{$_}->{noinst} [all …]
|
/openssl/ |
H A D | Configure | 2121 my %attributes = (); 2332 if (grep { defined $attributes{modules}->{$_}->{engine} } keys %attributes 2352 $attributes{$k}->{$_} 2353 if defined $attributes{$k}->{$_}; 2404 $attributes{sources}->{$dest}->{$_} 2408 $attributes{sources}->{$dest}->{$_} 2455 $attributes{sources}->{$dest}->{$_} 2459 $attributes{sources}->{$dest}->{$_} 2484 $attributes{generate}->{$dest}->{$gen} 2485 if defined $attributes{generate}->{$dest}->{$gen}; [all …]
|
/openssl/doc/internal/man7/ |
H A D | build.info.pod | 168 =head3 Statement attributes 170 Some statements can have attributes added to them, to allow for 185 (see L</Known attributes> below for details). 212 attributes C<noinst> and C<has_main> attached to it. 393 B<LIBS> statements may have attributes, which apply to all the 406 B<MODULES> statements may have attributes, which apply to all the 453 B<DEPEND> statements may have attributes, which apply to each 462 B<weak> in L</Known attributes> for more information. 528 B<SOURCE> statements may have attributes, which apply to each 568 =head2 Known attributes [all …]
|
/openssl/util/ |
H A D | mktar.sh | 35 git archive --worktree-attributes -9 --prefix="$NAME/" -o $TARFILE.gz -v HEAD
|
H A D | wrap.pl.in | 70 grep { !$unified_info{attributes}->{libraries}->{$_}->{noinst} }
|
/openssl/include/crypto/ |
H A D | x509_acert.h | 60 STACK_OF(X509_ATTRIBUTE) *attributes;
|
/openssl/test/recipes/90-test_includes_data/conf-includes/ |
H A D | includes1.cnf | 30 # For type CA, the listed attributes must be the same, and the optional
|