Home
last modified time | relevance | path

Searched refs:X509_ATTRIBUTE (Results 1 – 25 of 42) sorted by relevance

12

/third_party/openssl/crypto/x509/
Dx509_att.c21 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) in X509at_get_attr_count()
26 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, in X509at_get_attr_by_NID()
36 int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, in X509at_get_attr_by_OBJ()
40 X509_ATTRIBUTE *ex; in X509at_get_attr_by_OBJ()
56 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_get_attr()
64 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_delete_attr()
66 X509_ATTRIBUTE *ret; in X509at_delete_attr()
74 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() argument
75 X509_ATTRIBUTE *attr) in STACK_OF()
77 X509_ATTRIBUTE *new_attr = NULL; in STACK_OF()
[all …]
Dx_attrib.c28 ASN1_SEQUENCE(X509_ATTRIBUTE) = {
29 ASN1_SIMPLE(X509_ATTRIBUTE, object, ASN1_OBJECT),
30 ASN1_SET_OF(X509_ATTRIBUTE, set, ASN1_ANY)
31 } ASN1_SEQUENCE_END(X509_ATTRIBUTE)
33 IMPLEMENT_ASN1_FUNCTIONS(X509_ATTRIBUTE)
34 IMPLEMENT_ASN1_DUP_FUNCTION(X509_ATTRIBUTE)
36 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value)
38 X509_ATTRIBUTE *ret = NULL;
Dx509_req.c141 X509_ATTRIBUTE *attr; in STACK_OF()
211 X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc) in X509_REQ_get_attr()
216 X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc) in X509_REQ_delete_attr()
218 X509_ATTRIBUTE *attr; in X509_REQ_delete_attr()
230 int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr) in X509_REQ_add1_attr()
/third_party/openssl/crypto/cms/
Dcms_att.c85 X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc) in CMS_signed_get_attr()
90 X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc) in CMS_signed_delete_attr()
95 int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr) in CMS_signed_add1_attr()
152 X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc) in CMS_unsigned_get_attr()
157 X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc) in CMS_unsigned_delete_attr()
162 int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr) in CMS_unsigned_add1_attr()
209 static X509_ATTRIBUTE *cms_attrib_get(int nid, in cms_attrib_get()
210 const STACK_OF(X509_ATTRIBUTE) *attrs, in cms_attrib_get()
213 X509_ATTRIBUTE *at; in cms_attrib_get()
226 const STACK_OF(X509_ATTRIBUTE) *attrs, in cms_check_attribute()
[all …]
Dcms_local.h94 STACK_OF(X509_ATTRIBUTE) *signedAttrs;
97 STACK_OF(X509_ATTRIBUTE) *unsignedAttrs;
120 STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs;
261 STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs;
271 STACK_OF(X509_ATTRIBUTE) *authAttrs;
273 STACK_OF(X509_ATTRIBUTE) *unauthAttrs;
281 STACK_OF(X509_ATTRIBUTE) *authAttrs;
283 STACK_OF(X509_ATTRIBUTE) *unauthAttrs;
Dcms_asn1.c62 ASN1_IMP_SET_OF_OPT(CMS_SignerInfo, signedAttrs, X509_ATTRIBUTE, 0),
65 ASN1_IMP_SET_OF_OPT(CMS_SignerInfo, unsignedAttrs, X509_ATTRIBUTE, 1)
232 ASN1_IMP_SET_OF_OPT(CMS_EnvelopedData, unprotectedAttrs, X509_ATTRIBUTE, 1)
245 ASN1_IMP_SET_OF_OPT(CMS_EncryptedData, unprotectedAttrs, X509_ATTRIBUTE, 1)
337 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SET_ORDER, 0, CMS_ATTRIBUTES, X509_ATTRIBUTE)
347 V_ASN1_SET, CMS_ATTRIBUTES, X509_ATTRIBUTE)
/third_party/openssl/ohos_lite/include/openssl/
Dx509.h87 typedef struct x509_attributes_st X509_ATTRIBUTE; typedef
89 DEFINE_STACK_OF(X509_ATTRIBUTE)
469 X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa);
538 DECLARE_ASN1_FUNCTIONS(X509_ATTRIBUTE)
539 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value);
702 X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc);
703 X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc);
704 int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr);
913 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x);
914 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid,
[all …]
Dpkcs7.h41 STACK_OF(X509_ATTRIBUTE) *auth_attr; /* [ 0 ] */
44 STACK_OF(X509_ATTRIBUTE) *unauth_attr; /* [ 1 ] */
272 ASN1_OCTET_STRING *PKCS7_digest_from_attributes(STACK_OF(X509_ATTRIBUTE) *sk);
280 STACK_OF(X509_ATTRIBUTE) *sk);
282 STACK_OF(X509_ATTRIBUTE) *sk);
Dcms.h252 X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc);
253 X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc);
254 int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
272 X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc);
273 X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc);
274 int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
Dpkcs12.h142 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs,
145 const STACK_OF(X509_ATTRIBUTE) *
/third_party/openssl/doc/man3/
DPKCS8_pkey_add1_attr.pod11 const STACK_OF(X509_ATTRIBUTE) *
13 int PKCS8_pkey_add1_attr(PKCS8_PRIV_KEY_INFO *p8, X509_ATTRIBUTE *attr);
21 PKCS8_pkey_get0_attrs() returns a const STACK of X509_ATTRIBUTE present in
24 PKCS8_pkey_add1_attr() adds a constructed X509_ATTRIBUTE B<attr> to the
28 X509_ATTRIBUTE from the passed arguments and add it to the existing
38 STACK of X509_ATTRIBUTE is present in many X509-related structures and some of
DPKCS12_SAFEBAG_get0_attrs.pod12 const STACK_OF(X509_ATTRIBUTE) *PKCS12_SAFEBAG_get0_attrs(const PKCS12_SAFEBAG *bag);
14 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs,
19 PKCS12_SAFEBAG_get0_attrs() retrieves the stack of B<X509_ATTRIBUTE>s from a
23 B<X509_ATTRIBUTE>s. I<attr_nid> is the NID of the attribute to retrieve.
27 PKCS12_SAFEBAG_get0_attrs() returns the stack of B<X509_ATTRIBUTE>s from a
/third_party/openssl/include/openssl/
Dx509.h.in105 typedef struct x509_attributes_st X509_ATTRIBUTE; typedef
107 generate_stack_macros("X509_ATTRIBUTE");
464 DECLARE_ASN1_DUP_FUNCTION(X509_ATTRIBUTE)
539 DECLARE_ASN1_FUNCTIONS(X509_ATTRIBUTE)
540 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value);
706 X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc);
707 X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc);
708 int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr);
937 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x);
938 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid,
[all …]
Dcms.h.in301 X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc);
302 X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc);
303 int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
322 X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc);
323 X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc);
324 int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr);
Dpkcs7.h.in59 STACK_OF(X509_ATTRIBUTE) *auth_attr; /* [ 0 ] */
62 STACK_OF(X509_ATTRIBUTE) *unauth_attr; /* [ 1 ] */
302 ASN1_OCTET_STRING *PKCS7_digest_from_attributes(STACK_OF(X509_ATTRIBUTE) *sk);
310 STACK_OF(X509_ATTRIBUTE) *sk);
312 STACK_OF(X509_ATTRIBUTE) *sk);
/third_party/openssl/crypto/asn1/
Dp8_pkey.c33 ASN1_IMP_SET_OF_OPT(PKCS8_PRIV_KEY_INFO, attributes, X509_ATTRIBUTE, 0)
68 const STACK_OF(X509_ATTRIBUTE) * in STACK_OF() argument
88 int PKCS8_pkey_add1_attr(PKCS8_PRIV_KEY_INFO *p8, X509_ATTRIBUTE *attr) in PKCS8_pkey_add1_attr()
/third_party/openssl/crypto/pkcs12/
Dp12_attr.c95 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs, in PKCS12_get_attr_gen()
98 X509_ATTRIBUTE *attrib; in PKCS12_get_attr_gen()
117 const STACK_OF(X509_ATTRIBUTE) * in STACK_OF() argument
Dp12_local.h31 STACK_OF(X509_ATTRIBUTE) *attrib;
Dp12_asn.c63 ASN1_SET_OF_OPT(PKCS12_SAFEBAG, attrib, X509_ATTRIBUTE)
/third_party/openssl/crypto/pkcs7/
Dpk7_asn1.c157 ASN1_IMP_SEQUENCE_OF_OPT(PKCS7_SIGNER_INFO, auth_attr, X509_ATTRIBUTE, 0),
160 ASN1_IMP_SET_OF_OPT(PKCS7_SIGNER_INFO, unauth_attr, X509_ATTRIBUTE, 1)
244 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SET_ORDER, 0, PKCS7_ATTRIBUTES, X509_ATTRIBUTE)
254 V_ASN1_SET, PKCS7_ATTRIBUTES, X509_ATTRIBUTE)
Dpk7_doit.c20 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype,
22 static ASN1_TYPE *get_attribute(const STACK_OF(X509_ATTRIBUTE) *sk, int nid);
734 STACK_OF(X509_ATTRIBUTE) *sk; in PKCS7_dataFinal()
1023 STACK_OF(X509_ATTRIBUTE) *sk; in PKCS7_signatureVerify()
1171 static ASN1_TYPE *get_attribute(const STACK_OF(X509_ATTRIBUTE) *sk, int nid) in get_attribute()
1174 X509_ATTRIBUTE *xa; in get_attribute()
1180 ASN1_OCTET_STRING *PKCS7_digest_from_attributes(STACK_OF(X509_ATTRIBUTE) *sk) in PKCS7_digest_from_attributes()
1189 STACK_OF(X509_ATTRIBUTE) *sk) in PKCS7_set_signed_attributes()
1208 STACK_OF(X509_ATTRIBUTE) *sk) in PKCS7_set_attributes()
1238 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, in add_attribute()
[all …]
/third_party/openssl/include/crypto/
Dx509.h73 STACK_OF(X509_ATTRIBUTE) *attributes;
292 STACK_OF(X509_ATTRIBUTE) *attributes;
329 STACK_OF(X509_ATTRIBUTE) *ossl_x509at_dup(const STACK_OF(X509_ATTRIBUTE) *x);
/third_party/openssl/crypto/evp/
Devp_pkey.c180 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr()
185 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr()
190 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr()
/third_party/openssl/ohos_lite/include/crypto/
Dx509.h67 STACK_OF(X509_ATTRIBUTE) *attributes;
266 STACK_OF(X509_ATTRIBUTE) *attributes;
/third_party/openssl/test/helpers/
Dpkcs12.c45 static int check_attrs(const STACK_OF(X509_ATTRIBUTE) *bag_attrs, const PKCS12_ATTR *attrs);
504 static int check_attrs(const STACK_OF(X509_ATTRIBUTE) *bag_attrs, const PKCS12_ATTR *attrs) in check_attrs()
507 X509_ATTRIBUTE *attr; in check_attrs()

12