Home
last modified time | relevance | path

Searched refs:mbedtls_x509_buf (Results 1 – 13 of 13) sorted by relevance

/mbedtls-latest/include/mbedtls/
Dx509_crl.h41 mbedtls_x509_buf raw;
43 mbedtls_x509_buf serial;
51 mbedtls_x509_buf entry_ext;
65 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */
66mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed…
69 mbedtls_x509_buf sig_oid; /**< CRL signature type identifier */
71 mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). */
80 mbedtls_x509_buf crl_ext;
82 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_oid2);
83 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
Dx509.h216 typedef mbedtls_asn1_buf mbedtls_x509_buf; typedef
238 mbedtls_x509_buf keyIdentifier;
240 mbedtls_x509_buf authorityCertSerialNumber;
241 mbedtls_x509_buf raw;
267 mbedtls_x509_buf type_id; /**< The type id. */
276 mbedtls_x509_buf oid; /**< The object identifier. */
277 mbedtls_x509_buf val; /**< The named value. */
297mbedtls_x509_buf unstructured_name; /**< The buffer for the unstructured types. rfc822Name, dnsNam…
373 int mbedtls_x509_serial_gets(char *buf, size_t size, const mbedtls_x509_buf *serial);
460 int mbedtls_x509_parse_subject_alt_name(const mbedtls_x509_buf *san_buf,
Dx509_crt.h44 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */
45mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Si…
48 mbedtls_x509_buf serial; /**< Unique id for certificate issued by a specific CA. */
49 mbedtls_x509_buf sig_oid; /**< Signature algorithm, e.g. sha1RSA */
51mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). Used for quick comparison. */
52mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). Used for quick comparison. */
60 mbedtls_x509_buf pk_raw;
63 mbedtls_x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */
64 mbedtls_x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */
65 mbedtls_x509_buf v3_ext; /**< Optional X.509 v3 extensions. */
[all …]
Dx509_csr.h39 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */
40 mbedtls_x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */
44 mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). */
55 mbedtls_x509_buf sig_oid;
56 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
125 mbedtls_x509_buf const *oid,
Dpkcs7.h110 mbedtls_x509_buf MBEDTLS_PRIVATE(serial);
112 mbedtls_x509_buf MBEDTLS_PRIVATE(issuer_raw);
113 mbedtls_x509_buf MBEDTLS_PRIVATE(alg_identifier);
114 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_alg_identifier);
115 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
/mbedtls-latest/library/
Dx509_internal.h27 mbedtls_x509_buf *alg);
29 mbedtls_x509_buf *alg, mbedtls_x509_buf *params);
31 int mbedtls_x509_get_rsassa_pss_params(const mbedtls_x509_buf *params,
35 int mbedtls_x509_get_sig(unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig);
36 int mbedtls_x509_get_sig_alg(const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params,
42 mbedtls_x509_buf *serial);
44 mbedtls_x509_buf *ext, int tag);
46 int mbedtls_x509_sig_alg_gets(char *buf, size_t size, const mbedtls_x509_buf *sig_oid,
Dx509.c64 mbedtls_x509_buf *serial) in mbedtls_x509_get_serial()
98 mbedtls_x509_buf *alg) in mbedtls_x509_get_alg_null()
113 mbedtls_x509_buf *alg, mbedtls_x509_buf *params) in mbedtls_x509_get_alg()
179 static int x509_get_hash_alg(const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg) in x509_get_hash_alg()
184 mbedtls_x509_buf md_oid; in x509_get_hash_alg()
245 int mbedtls_x509_get_rsassa_pss_params(const mbedtls_x509_buf *params, in mbedtls_x509_get_rsassa_pss_params()
253 mbedtls_x509_buf alg_id, alg_params; in mbedtls_x509_get_rsassa_pss_params()
412 mbedtls_x509_buf *oid; in x509_get_attr_type_value()
413 mbedtls_x509_buf *val; in x509_get_attr_type_value()
689 int mbedtls_x509_get_sig(unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig) in mbedtls_x509_get_sig()
[all …]
Dx509_crl.c78 mbedtls_x509_buf *ext) in x509_get_crl_ext()
162 mbedtls_x509_buf *ext) in x509_get_crl_entry_ext()
289 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in mbedtls_x509_crl_parse_der()
299 memset(&sig_params1, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der()
300 memset(&sig_params2, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der()
301 memset(&sig_oid2, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_crl_parse_der()
Dx509_csr.c74 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_csr_parse_extensions()
210 mbedtls_x509_buf attr_oid = { 0, 0, NULL }; in x509_csr_parse_attributes()
273 mbedtls_x509_buf sig_params; in mbedtls_x509_csr_parse_der_internal()
275 memset(&sig_params, 0, sizeof(mbedtls_x509_buf)); in mbedtls_x509_csr_parse_der_internal()
Dx509_crt.c276 static int x509_check_wildcard(const char *cn, const mbedtls_x509_buf *name) in x509_check_wildcard()
311 static int x509_string_cmp(const mbedtls_x509_buf *a, const mbedtls_x509_buf *b) in x509_string_cmp()
468 mbedtls_x509_buf *uid, int n) in x509_get_uid()
589 mbedtls_x509_buf *subject_key_id) in x509_get_subject_key_id()
769 mbedtls_x509_buf policy_oid; in x509_get_certificate_policies()
888 mbedtls_x509_buf extn_oid = { 0, 0, NULL }; in x509_get_crt_ext()
1083 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in x509_crt_parse_der_core()
1085 memset(&sig_params1, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core()
1086 memset(&sig_params2, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core()
1087 memset(&sig_oid2, 0, sizeof(mbedtls_x509_buf)); in x509_crt_parse_der_core()
[all …]
Dpkcs7.c119 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm()
135 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm_set()
279 mbedtls_x509_buf *alg) in pkcs7_get_signer_info()
379 mbedtls_x509_buf *digest_alg) in pkcs7_get_signers_info_set()
/mbedtls-latest/tests/suites/
Dtest_suite_x509parse.function324 static int parse_crt_ext_cb(void *p_ctx, mbedtls_x509_crt const *crt, mbedtls_x509_buf const *oid,
329 mbedtls_x509_buf *new_oid = (mbedtls_x509_buf *) p_ctx;
427 mbedtls_x509_buf const *oid,
444 mbedtls_x509_buf const *oid,
1201 mbedtls_x509_buf oid;
1506 mbedtls_x509_buf oid;
1535 mbedtls_x509_buf oid;
1636 mbedtls_x509_buf buf;
/mbedtls-latest/
DChangeLog4279 * Fix mbedtls_x509_get_sig() to update the ASN1 type in the mbedtls_x509_buf