Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 14 of 14) sorted by relevance

/openssl/Configurations/
H A Dgentemplate.pm225 attrs => { %attrs },
377 join(",", map { "\n $_ = $attrs{$_}" } sort keys %attrs), "\n"
378 if %attrs && $debug_rules;
390 attrs => { %attrs },
430 join(",", map { "\n $_ = $attrs{$_}" } sort keys %attrs), "\n"
431 if %attrs && $debug_rules;
460 join(",", map { "\n $_ = $attrs{$_}" } sort keys %attrs), "\n"
470 attrs => { %attrs },
495 join(",", map { "\n $_ = $attrs{$_}" } sort keys %attrs), "\n"
496 if %attrs && $debug_rules;
[all …]
H A Ddescrip.mms.tmpl840 attrs => $unified_info{attributes}->{libraries}->{$_} }
1172 if ($args{attrs}->{noinst}) {
1402 $_->{attrs}->{has_main}
/openssl/test/helpers/
H A Dpkcs12.h80 const PKCS12_ATTR *attrs);
82 const PKCS12_ATTR *attrs, const PKCS12_ENC *enc);
84 const PKCS12_ATTR *attrs);
99 const PKCS12_ATTR *attrs);
101 const PKCS12_ATTR *attrs, const PKCS12_ENC *enc);
103 const PKCS12_ATTR *attrs);
H A Dpkcs12.c346 STACK_OF(X509_ATTRIBUTE)* attrs = NULL; in add_attributes()
366 X509at_add1_attr(&attrs, x509_attr); in add_attributes()
367 PKCS12_SAFEBAG_set0_attrs(bag, attrs); in add_attributes()
384 const PKCS12_ATTR *attrs) in add_certbag() argument
409 if (!TEST_true(add_attributes(bag, attrs))) { in add_certbag()
443 if (!add_attributes(bag, attrs)) in add_keybag()
450 const PKCS12_ATTR *attrs) in add_secretbag() argument
464 if (!add_attributes(bag, attrs)) in add_secretbag()
521 const PKCS12_ATTR *p_attr = attrs; in check_attrs()
550 const PKCS12_ATTR *attrs) in check_certbag() argument
[all …]
/openssl/crypto/pkcs12/
H A Dp12_attr.c95 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs, in PKCS12_get_attr_gen() argument
98 int i = X509at_get_attr_by_NID(attrs, attr_nid, -1); in PKCS12_get_attr_gen()
102 return X509_ATTRIBUTE_get0_type(X509at_get_attr(attrs, i), 0); in PKCS12_get_attr_gen()
123 void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs) in PKCS12_SAFEBAG_set0_attrs() argument
125 if (bag->attrib != attrs) in PKCS12_SAFEBAG_set0_attrs()
128 bag->attrib = attrs; in PKCS12_SAFEBAG_set0_attrs()
/openssl/crypto/cms/
H A Dcms_att.c212 const STACK_OF(X509_ATTRIBUTE) *attrs, in cms_attrib_get()
218 loc = X509at_get_attr_by_NID(attrs, nid, *lastpos); in cms_attrib_get()
222 at = X509at_get_attr(attrs, loc); in cms_attrib_get()
228 const STACK_OF(X509_ATTRIBUTE) *attrs, in cms_check_attribute()
232 X509_ATTRIBUTE *at = cms_attrib_get(nid, attrs, &lastpos); in cms_check_attribute()
241 && cms_attrib_get(nid, attrs, &lastpos) != NULL) in cms_check_attribute()
/openssl/crypto/x509/
H A Dx509_acert.c220 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr()
222 return X509at_add1_attr(attrs, attr) != NULL; in X509_ACERT_add1_attr()
228 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr_by_OBJ()
230 return X509at_add1_attr_by_OBJ(attrs, obj, type, bytes, len) != NULL; in X509_ACERT_add1_attr_by_OBJ()
236 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr_by_NID()
238 return X509at_add1_attr_by_NID(attrs, nid, type, bytes, len) != NULL; in X509_ACERT_add1_attr_by_NID()
244 STACK_OF(X509_ATTRIBUTE) **attrs = &x->acinfo->attributes; in X509_ACERT_add1_attr_by_txt()
246 return X509at_add1_attr_by_txt(attrs, attrname, type, bytes, len) != NULL; in X509_ACERT_add1_attr_by_txt()
/openssl/apps/
H A Dpkcs12.c913 STACK_OF(X509_ATTRIBUTE) *attrs = NULL; in jdk_trust()
921 attrs = (STACK_OF(X509_ATTRIBUTE)*)PKCS12_SAFEBAG_get0_attrs(bag); in jdk_trust()
927 X509at_add1_attr(&attrs, attr); in jdk_trust()
930 PKCS12_SAFEBAG_set0_attrs(bag, attrs); in jdk_trust()
1007 const STACK_OF(X509_ATTRIBUTE) *attrs; in dump_certs_pkeys_bag()
1010 attrs = PKCS12_SAFEBAG_get0_attrs(bag); in dump_certs_pkeys_bag()
1018 print_attribs(out, attrs, "Bag Attributes"); in dump_certs_pkeys_bag()
1039 print_attribs(out, attrs, "Bag Attributes"); in dump_certs_pkeys_bag()
1062 print_attribs(out, attrs, "Bag Attributes"); in dump_certs_pkeys_bag()
1075 print_attribs(out, attrs, "Bag Attributes"); in dump_certs_pkeys_bag()
[all …]
/openssl/test/
H A Dpkcs12_format_test.c754 STACK_OF(X509_ATTRIBUTE) *attrs = NULL; in test_set0_attrs()
765 attrs = (STACK_OF(X509_ATTRIBUTE)*)PKCS12_SAFEBAG_get0_attrs(bag); in test_set0_attrs()
769 X509at_add1_attr(&attrs, attr); in test_set0_attrs()
770 PKCS12_SAFEBAG_set0_attrs(bag, attrs); in test_set0_attrs()
771 attrs = (STACK_OF(X509_ATTRIBUTE)*)PKCS12_SAFEBAG_get0_attrs(bag); in test_set0_attrs()
773 if(!TEST_ptr(attrs)) { in test_set0_attrs()
/openssl/doc/man3/
H A DPKCS12_SAFEBAG_set0_attrs.pod12 void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs);
H A DPKCS12_SAFEBAG_get0_attrs.pod14 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs,
/openssl/
H A DConfigure2819 my $attrs = $unified_info{attributes}->{sources};
2820 if (defined $attrs->{$prod}
2821 && defined $attrs->{$prod}->{$_}) {
2822 $attrs->{$prod}->{$newobj} =
2823 $attrs->{$prod}->{$_};
2824 delete $attrs->{$prod}->{$_};
2826 foreach my $objsrc (keys %{$attrs->{$_} // {}}) {
2827 $attrs->{$newobj}->{$objsrc} =
2828 $attrs->{$_}->{$objsrc};
2829 delete $attrs->{$_}->{$objsrc};
H A DCHANGES.md882 added to the existing STACK_OF attrs.
/openssl/include/openssl/
H A Dpkcs12.h.in199 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs,
204 void PKCS12_SAFEBAG_set0_attrs(PKCS12_SAFEBAG *bag, STACK_OF(X509_ATTRIBUTE) *attrs);

Completed in 109 milliseconds