Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/x509/
Dx509_att.c20 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) in X509at_get_attr_count()
25 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, in X509at_get_attr_by_NID()
35 int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, in X509at_get_attr_by_OBJ()
39 X509_ATTRIBUTE *ex; in X509at_get_attr_by_OBJ()
55 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_get_attr()
63 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_delete_attr()
65 X509_ATTRIBUTE *ret; in X509at_delete_attr()
73 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() argument
74 X509_ATTRIBUTE *attr) in STACK_OF()
76 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.c155 X509_ATTRIBUTE *attr; in STACK_OF()
223 X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc) in X509_REQ_get_attr()
228 X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc) in X509_REQ_delete_attr()
233 int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr) in X509_REQ_add1_attr()
Dx_req.c55 ASN1_IMP_SET_OF_OPT(X509_REQ_INFO, attributes, X509_ATTRIBUTE, 0)
Dt_req.c116 X509_ATTRIBUTE *a; in X509_REQ_print_ex()
/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()
151 X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc) in CMS_unsigned_get_attr()
156 X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc) in CMS_unsigned_delete_attr()
161 int CMS_unsigned_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr) in CMS_unsigned_add1_attr()
208 static X509_ATTRIBUTE *cms_attrib_get(int nid, in cms_attrib_get()
209 const STACK_OF(X509_ATTRIBUTE) *attrs, in cms_attrib_get()
212 X509_ATTRIBUTE *at; in cms_attrib_get()
225 const STACK_OF(X509_ATTRIBUTE) *attrs, in cms_check_attribute()
[all …]
Dcms_local.h85 STACK_OF(X509_ATTRIBUTE) *signedAttrs;
88 STACK_OF(X509_ATTRIBUTE) *unsignedAttrs;
110 STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs;
245 STACK_OF(X509_ATTRIBUTE) *unprotectedAttrs;
255 STACK_OF(X509_ATTRIBUTE) *authAttrs;
257 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)
325 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SET_ORDER, 0, CMS_ATTRIBUTES, X509_ATTRIBUTE)
335 V_ASN1_SET, CMS_ATTRIBUTES, X509_ATTRIBUTE)
/third_party/openssl/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/crypto/pkcs12/
Dp12_attr.c77 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs, in PKCS12_get_attr_gen()
80 X509_ATTRIBUTE *attrib; in PKCS12_get_attr_gen()
99 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)
Dp12_crt.c21 X509_ATTRIBUTE *attr; in copy_bag_attr()
/third_party/openssl/crypto/evp/
Devp_pkey.c107 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr()
112 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr()
117 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr()
/third_party/openssl/crypto/pkcs7/
Dpk7_asn1.c102 ASN1_IMP_SEQUENCE_OF_OPT(PKCS7_SIGNER_INFO, auth_attr, X509_ATTRIBUTE, 0),
105 ASN1_IMP_SET_OF_OPT(PKCS7_SIGNER_INFO, unauth_attr, X509_ATTRIBUTE, 1)
189 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SET_ORDER, 0, PKCS7_ATTRIBUTES, X509_ATTRIBUTE)
199 V_ASN1_SET, PKCS7_ATTRIBUTES, X509_ATTRIBUTE)
Dpk7_doit.c18 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype,
20 static ASN1_TYPE *get_attribute(STACK_OF(X509_ATTRIBUTE) *sk, int nid);
652 STACK_OF(X509_ATTRIBUTE) *sk; in PKCS7_dataFinal()
946 STACK_OF(X509_ATTRIBUTE) *sk; in PKCS7_signatureVerify()
1081 static ASN1_TYPE *get_attribute(STACK_OF(X509_ATTRIBUTE) *sk, int nid) in get_attribute()
1084 X509_ATTRIBUTE *xa; in get_attribute()
1090 ASN1_OCTET_STRING *PKCS7_digest_from_attributes(STACK_OF(X509_ATTRIBUTE) *sk) in PKCS7_digest_from_attributes()
1099 STACK_OF(X509_ATTRIBUTE) *sk) in PKCS7_set_signed_attributes()
1118 STACK_OF(X509_ATTRIBUTE) *sk) in PKCS7_set_attributes()
1148 static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype, in add_attribute()
[all …]
/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
Dasn1_item_list.h151 ASN1_ITEM_ref(X509_ATTRIBUTE),
/third_party/openssl/include/crypto/
Dx509.h67 STACK_OF(X509_ATTRIBUTE) *attributes;
266 STACK_OF(X509_ATTRIBUTE) *attributes;
/third_party/openssl/apps/
Dpkcs12.c41 int print_attribs(BIO *out, const STACK_OF(X509_ATTRIBUTE) *attrlst,
663 const STACK_OF(X509_ATTRIBUTE) *attrs; in dump_certs_pkeys_bag()
912 int print_attribs(BIO *out, const STACK_OF(X509_ATTRIBUTE) *attrlst, in print_attribs()
915 X509_ATTRIBUTE *attr; in print_attribs()
/third_party/openssl/doc/man7/
Dx509.pod26 X509_NAME (to express a certificate name), X509_ATTRIBUTE (to express
/third_party/openssl/fuzz/
Dasn1.c176 ASN1_ITEM_ref(X509_ATTRIBUTE),

12