/third_party/openssl/crypto/x509/ |
D | x509_att.c | 21 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 …]
|
D | x_attrib.c | 28 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;
|
D | x509_req.c | 141 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/ |
D | cms_att.c | 85 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 …]
|
D | cms_local.h | 94 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;
|
D | cms_asn1.c | 62 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/ |
D | x509.h | 87 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 …]
|
D | pkcs7.h | 41 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);
|
D | cms.h | 252 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);
|
D | pkcs12.h | 142 ASN1_TYPE *PKCS12_get_attr_gen(const STACK_OF(X509_ATTRIBUTE) *attrs, 145 const STACK_OF(X509_ATTRIBUTE) *
|
/third_party/openssl/doc/man3/ |
D | PKCS8_pkey_add1_attr.pod | 11 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
|
D | PKCS12_SAFEBAG_get0_attrs.pod | 12 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/ |
D | x509.h.in | 105 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 …]
|
D | cms.h.in | 301 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);
|
D | pkcs7.h.in | 59 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/ |
D | p8_pkey.c | 33 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/ |
D | p12_attr.c | 95 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
|
D | p12_local.h | 31 STACK_OF(X509_ATTRIBUTE) *attrib;
|
D | p12_asn.c | 63 ASN1_SET_OF_OPT(PKCS12_SAFEBAG, attrib, X509_ATTRIBUTE)
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_asn1.c | 157 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)
|
D | pk7_doit.c | 20 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/ |
D | x509.h | 73 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/ |
D | evp_pkey.c | 180 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/ |
D | x509.h | 67 STACK_OF(X509_ATTRIBUTE) *attributes; 266 STACK_OF(X509_ATTRIBUTE) *attributes;
|
/third_party/openssl/test/helpers/ |
D | pkcs12.c | 45 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()
|