/openssl/doc/man3/ |
H A D | X509_REQ_get_attr.pod | 18 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, 24 const ASN1_OBJECT *obj, int type, 35 X509_REQ_get_attr_by_OBJ() finds the location of the first matching object I<obj> 59 I<obj> with type I<type> and data I<bytes> of length I<len> and then pushes it 61 will occur. If I<obj> already exists in the attribute list then an error occurs. 79 list is empty OR I<obj> is not found, otherwise it returns the location of the 80 I<obj> in the attribute list.
|
H A D | CMS_signed_get_attr.pod | 26 int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, 32 const ASN1_OBJECT *obj, int type, 48 const ASN1_OBJECT *obj, int lastpos); 53 const ASN1_OBJECT *obj, int type, 74 I<obj> in the SignerInfo's I<si> signed attribute list. The search starts at the 99 I<obj> with type I<type> and data I<bytes> of length I<len> and then pushes it 111 attributes list that matches the I<obj> starting at index I<lastpos> 117 objects in the signed attribute list that match I<obj>. 132 I<si> is empty OR if I<obj> is not found, otherwise it returns the location of 133 the I<obj> in the SignerInfo's I<si> signed attribute list.
|
H A D | EVP_PKEY_get_attr.pod | 19 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, 25 const ASN1_OBJECT *obj, int type, 38 EVP_PKEY_get_attr_by_OBJ() finds the location of the first matching object I<obj> 62 I<obj> with type I<type> and data I<bytes> of length I<len> and then pushes it 63 to the I<key> object's attribute list. If I<obj> already exists in the attribute
|
H A D | PKCS12_item_decrypt_d2i.pod | 24 void *obj, int zbuf); 28 void *obj, int zbuf, 41 I<passlen>, returning an encoded object in I<obj>. If I<zbuf> is nonzero then
|
H A D | OBJ_nid2obj.pod | 35 size_t OBJ_length(const ASN1_OBJECT *obj); 36 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj); 95 OBJ_length() returns the size of the content octets of I<obj>. 97 OBJ_get0_data() returns a pointer to the content octets of I<obj>. 174 if (OBJ_obj2nid(obj) == NID_commonName) 180 ASN1_OBJECT *obj = OBJ_nid2obj(new_nid); 184 obj = OBJ_txt2obj("1.2.3.4", 1);
|
H A D | X509_NAME_get_index_by_NID.pod | 15 const ASN1_OBJECT *obj, int lastpos); 22 int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, 33 the next index matching B<nid> or B<obj> after B<lastpos>. B<lastpos> 46 B<obj>, if no such entry exists -1 is returned. At most B<len> bytes
|
/openssl/crypto/ocsp/ |
H A D | ocsp_ext.c | 34 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, const ASN1_OBJECT *obj, in OCSP_REQUEST_get_ext_by_OBJ() argument 38 (x->tbsRequest.requestExtensions, obj, lastpos)); in OCSP_REQUEST_get_ext_by_OBJ() 87 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, const ASN1_OBJECT *obj, in OCSP_ONEREQ_get_ext_by_OBJ() argument 90 return X509v3_get_ext_by_OBJ(x->singleRequestExtensions, obj, lastpos); in OCSP_ONEREQ_get_ext_by_OBJ() 139 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, const ASN1_OBJECT *obj, in OCSP_BASICRESP_get_ext_by_OBJ() argument 143 (x->tbsResponseData.responseExtensions, obj, lastpos)); in OCSP_BASICRESP_get_ext_by_OBJ() 195 int OCSP_SINGLERESP_get_ext_by_OBJ(OCSP_SINGLERESP *x, const ASN1_OBJECT *obj, in OCSP_SINGLERESP_get_ext_by_OBJ() argument 198 return X509v3_get_ext_by_OBJ(x->singleExtensions, obj, lastpos); in OCSP_SINGLERESP_get_ext_by_OBJ()
|
/openssl/test/ |
H A D | asn1_decode_test.c | 257 ASN1_OBJECT *obj; in test_reuse_asn1_object() local 262 if (!TEST_ptr(obj = ASN1_OBJECT_create(NID_undef, cn_der, sizeof(cn_der), in test_reuse_asn1_object() 266 if (!TEST_ptr(d2i_ASN1_OBJECT(&obj, &p, sizeof(oid_der)))) in test_reuse_asn1_object() 270 ASN1_OBJECT_free(obj); in test_reuse_asn1_object()
|
H A D | x509_load_cert_file_test.c | 35 const X509_OBJECT *obj = sk_X509_OBJECT_value(objs, i); in test_load_cert_file() local 36 if (!TEST_int_eq(X509_OBJECT_get_type(obj), X509_LU_X509)) in test_load_cert_file()
|
/openssl/crypto/x509/ |
H A D | v3_extku.c | 83 ASN1_OBJECT *obj; in ASN1_ITEM_TEMPLATE() local 86 obj = sk_ASN1_OBJECT_value(eku, i); in ASN1_ITEM_TEMPLATE() 87 i2t_ASN1_OBJECT(obj_tmp, 80, obj); in ASN1_ITEM_TEMPLATE()
|
H A D | x509_trust.c | 257 ASN1_OBJECT *obj = sk_ASN1_OBJECT_value(ax->reject, i); in obj_trust() local 258 int nid = OBJ_obj2nid(obj); in obj_trust() 268 ASN1_OBJECT *obj = sk_ASN1_OBJECT_value(ax->trust, i); in obj_trust() local 269 int nid = OBJ_obj2nid(obj); in obj_trust()
|
H A D | x509_req.c | 188 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, in X509_REQ_get_attr_by_OBJ() argument 191 return X509at_get_attr_by_OBJ(req->req_info.attributes, obj, lastpos); in X509_REQ_get_attr_by_OBJ() 226 const ASN1_OBJECT *obj, int type, in X509_REQ_add1_attr_by_OBJ() argument 233 if (!X509at_add1_attr_by_OBJ(&req->req_info.attributes, obj, in X509_REQ_add1_attr_by_OBJ()
|
H A D | t_req.c | 172 ASN1_OBJECT *obj; in X509_REQ_print_ex() local 178 obj = X509_EXTENSION_get_object(ex); in X509_REQ_print_ex() 179 if (i2a_ASN1_OBJECT(bp, obj) <= 0) in X509_REQ_print_ex()
|
H A D | v3_conf.c | 244 ASN1_OBJECT *obj = NULL; in v3_generic_extension() local 248 if ((obj = OBJ_txt2obj(ext, 0)) == NULL) { in v3_generic_extension() 274 extension = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct); in v3_generic_extension() 277 ASN1_OBJECT_free(obj); in v3_generic_extension() 301 ASN1_OBJECT *obj; in delete_ext() local 303 obj = X509_EXTENSION_get_object(dext); in delete_ext() 304 while ((idx = X509v3_get_ext_by_OBJ(sk, obj, -1)) >= 0) in delete_ext()
|
H A D | x509_acert.c | 202 int X509_ACERT_get_attr_by_OBJ(const X509_ACERT *x, const ASN1_OBJECT *obj, in X509_ACERT_get_attr_by_OBJ() argument 205 return X509at_get_attr_by_OBJ(x->acinfo->attributes, obj, lastpos); in X509_ACERT_get_attr_by_OBJ() 225 int X509_ACERT_add1_attr_by_OBJ(X509_ACERT *x, const ASN1_OBJECT *obj, in X509_ACERT_add1_attr_by_OBJ() argument 230 return X509at_add1_attr_by_OBJ(attrs, obj, type, bytes, len) != NULL; in X509_ACERT_add1_attr_by_OBJ()
|
/openssl/crypto/cms/ |
H A D | cms_ess.c | 30 ASN1_OBJECT *obj = OBJ_nid2obj(NID_id_smime_aa_receiptRequest); in IMPLEMENT_ASN1_FUNCTIONS() local 34 str = CMS_signed_get0_data_by_OBJ(si, obj, -3, V_ASN1_SEQUENCE); in IMPLEMENT_ASN1_FUNCTIONS() 57 ASN1_OBJECT *obj = OBJ_nid2obj(NID_id_smime_aa_signingCertificate); in ossl_cms_signerinfo_get_signing_cert() local 61 str = CMS_signed_get0_data_by_OBJ(si, obj, -3, V_ASN1_SEQUENCE); in ossl_cms_signerinfo_get_signing_cert() 84 ASN1_OBJECT *obj = OBJ_nid2obj(NID_id_smime_aa_signingCertificateV2); in ossl_cms_signerinfo_get_signing_cert_v2() local 88 str = CMS_signed_get0_data_by_OBJ(si, obj, -3, V_ASN1_SEQUENCE); in ossl_cms_signerinfo_get_signing_cert_v2()
|
/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 180 void *obj, int zbuf, in PKCS12_item_i2d_encrypt_ex() argument 192 inlen = ASN1_item_i2d(obj, &in, it); in PKCS12_item_i2d_encrypt_ex() 215 void *obj, int zbuf) in PKCS12_item_i2d_encrypt() argument 217 return PKCS12_item_i2d_encrypt_ex(algor, it, pass, passlen, obj, zbuf, NULL, NULL); in PKCS12_item_i2d_encrypt()
|
/openssl/Configurations/ |
H A D | descrip.mms.tmpl | 218 my $obj = platform->obj($_); 222 my $obj = platform->obj($_); 226 my $obj = platform->obj($_); 230 my $obj = platform->obj($_); 243 my $obj = platform->obj($_); 252 my $obj = platform->obj($_); 262 my $obj = platform->obj($_); 277 my $obj = platform->obj($_); 1149 my $obj = platform->obj($args{obj}); 1196 $obj : $deps [all …]
|
/openssl/crypto/evp/ |
H A D | evp_pkey.c | 195 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ() argument 198 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); in EVP_PKEY_get_attr_by_OBJ() 219 const ASN1_OBJECT *obj, int type, in EVP_PKEY_add1_attr_by_OBJ() argument 222 if (X509at_add1_attr_by_OBJ(&key->attributes, obj, type, bytes, len)) in EVP_PKEY_add1_attr_by_OBJ()
|
/openssl/crypto/encode_decode/ |
H A D | encoder_pkey.c | 162 const void *obj; member 184 if (data->obj == NULL) { in encoder_construct_pkey() 197 data->obj = data->constructed_obj; in encoder_construct_pkey() 199 data->obj = pk->keydata; in encoder_construct_pkey() 203 return data->obj; in encoder_construct_pkey()
|
/openssl/crypto/asn1/ |
H A D | asn_pack.c | 16 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack() argument 31 if ((octmp->length = ASN1_item_i2d(obj, &octmp->data, it)) <= 0) { in ASN1_item_pack()
|
H A D | p8_pkey.c | 82 int PKCS8_pkey_add1_attr_by_OBJ(PKCS8_PRIV_KEY_INFO *p8, const ASN1_OBJECT *obj, int type, in PKCS8_pkey_add1_attr_by_OBJ() argument 85 return (X509at_add1_attr_by_OBJ(&p8->attributes, obj, type, bytes, len) != NULL); in PKCS8_pkey_add1_attr_by_OBJ()
|
/openssl/util/ |
H A D | check-format-test-negatives.c | 312 #define X509_OBJECT_get0_X509(obj) \ argument 313 ((obj) == NULL || (obj)->type != X509_LU_X509 ? NULL : (obj)->data.x509)
|
/openssl/include/openssl/ |
H A D | objects.h | 164 int OBJ_add_object(const ASN1_OBJECT *obj); 171 size_t OBJ_length(const ASN1_OBJECT *obj); 172 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
|
/openssl/Configurations/platform/ |
H A D | BASE.pm | 42 sub obj { return __base($_[1], '.o') . $_[0]->objext() } subroutine 59 if ($_[0]->isobj($_[1])) { return $_[0]->obj($_[1]); }
|