Home
last modified time | relevance | path

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

/mbedtls-3.4.0/include/mbedtls/
Dx509_crl.h54 mbedtls_x509_buf raw;
56 mbedtls_x509_buf serial;
64 mbedtls_x509_buf entry_ext;
79 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */
80mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Signed…
83 mbedtls_x509_buf sig_oid; /**< CRL signature type identifier */
85 mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). */
94 mbedtls_x509_buf crl_ext;
96 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_oid2);
97 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
Dx509.h228 typedef mbedtls_asn1_buf mbedtls_x509_buf; typedef
299 int mbedtls_x509_serial_gets( char *buf, size_t size, const mbedtls_x509_buf *serial );
338 mbedtls_x509_buf *alg );
340 mbedtls_x509_buf *alg, mbedtls_x509_buf *params );
342 int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params,
346 int mbedtls_x509_get_sig( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig );
347 int mbedtls_x509_get_sig_alg( const mbedtls_x509_buf *sig_oid, const mbedtls_x509_buf *sig_params,
353 mbedtls_x509_buf *serial );
355 mbedtls_x509_buf *ext, int tag );
357 int mbedtls_x509_sig_alg_gets( char *buf, size_t size, const mbedtls_x509_buf *sig_oid,
Dx509_crt.h58 mbedtls_x509_buf raw; /**< The raw certificate data (DER). */
59mbedtls_x509_buf tbs; /**< The raw certificate body (DER). The part that is To Be Si…
62 mbedtls_x509_buf serial; /**< Unique id for certificate issued by a specific CA. */
63 mbedtls_x509_buf sig_oid; /**< Signature algorithm, e.g. sha1RSA */
65mbedtls_x509_buf issuer_raw; /**< The raw issuer data (DER). Used for quick comparison. */
66mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). Used for quick comparison. */
74 mbedtls_x509_buf pk_raw;
77 mbedtls_x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */
78 mbedtls_x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */
79 mbedtls_x509_buf v3_ext; /**< Optional X.509 v3 extensions. */
[all …]
Dx509_csr.h52 mbedtls_x509_buf raw; /**< The raw CSR data (DER). */
53 mbedtls_x509_buf cri; /**< The raw CertificateRequestInfo body (DER). */
57 mbedtls_x509_buf subject_raw; /**< The raw subject data (DER). */
62 mbedtls_x509_buf sig_oid;
63 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
Dpkcs7.h127 mbedtls_x509_buf MBEDTLS_PRIVATE(serial);
129 mbedtls_x509_buf MBEDTLS_PRIVATE(issuer_raw);
130 mbedtls_x509_buf MBEDTLS_PRIVATE(alg_identifier);
131 mbedtls_x509_buf MBEDTLS_PRIVATE(sig_alg_identifier);
132 mbedtls_x509_buf MBEDTLS_PRIVATE(sig);
/mbedtls-3.4.0/library/
Dx509.c72 mbedtls_x509_buf *serial ) in mbedtls_x509_get_serial()
103 mbedtls_x509_buf *alg ) in mbedtls_x509_get_alg_null()
117 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()
238 int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params, in mbedtls_x509_get_rsassa_pss_params()
246 mbedtls_x509_buf alg_id, alg_params; in mbedtls_x509_get_rsassa_pss_params()
387 mbedtls_x509_buf *oid; in x509_get_attr_type_value()
388 mbedtls_x509_buf *val; in x509_get_attr_type_value()
686 int mbedtls_x509_get_sig( unsigned char **p, const unsigned char *end, mbedtls_x509_buf *sig ) in mbedtls_x509_get_sig()
[all …]
Dx509_crl.c91 mbedtls_x509_buf *ext ) in x509_get_crl_ext()
171 mbedtls_x509_buf *ext ) in x509_get_crl_entry_ext()
295 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in mbedtls_x509_crl_parse_der()
304 memset( &sig_params1, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_crl_parse_der()
305 memset( &sig_params2, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_crl_parse_der()
306 memset( &sig_oid2, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_crl_parse_der()
Dx509_crt.c279 static int x509_check_wildcard( const char *cn, const mbedtls_x509_buf *name ) in x509_check_wildcard()
315 static int x509_string_cmp( const mbedtls_x509_buf *a, const mbedtls_x509_buf *b ) in x509_string_cmp()
469 mbedtls_x509_buf *uid, int n ) in x509_get_uid()
802 mbedtls_x509_buf policy_oid; in x509_get_certificate_policies()
915 mbedtls_x509_buf extn_oid = {0, 0, NULL}; in x509_get_crt_ext()
1082 mbedtls_x509_buf sig_params1, sig_params2, sig_oid2; in x509_crt_parse_der_core()
1084 memset( &sig_params1, 0, sizeof( mbedtls_x509_buf ) ); in x509_crt_parse_der_core()
1085 memset( &sig_params2, 0, sizeof( mbedtls_x509_buf ) ); in x509_crt_parse_der_core()
1086 memset( &sig_oid2, 0, sizeof( mbedtls_x509_buf ) ); in x509_crt_parse_der_core()
1701 static int x509_get_other_name( const mbedtls_x509_buf *subject_alt_name, in x509_get_other_name()
[all …]
Dx509_csr.c83 mbedtls_x509_buf sig_params; in mbedtls_x509_csr_parse_der()
85 memset( &sig_params, 0, sizeof( mbedtls_x509_buf ) ); in mbedtls_x509_csr_parse_der()
Dpkcs7.c129 mbedtls_x509_buf *alg ) in pkcs7_get_digest_algorithm()
144 mbedtls_x509_buf *alg ) in pkcs7_get_digest_algorithm_set()
/mbedtls-3.4.0/tests/suites/
Dtest_suite_x509parse.function303 int parse_crt_ext_cb( void *p_ctx, mbedtls_x509_crt const *crt, mbedtls_x509_buf const *oid,
308 mbedtls_x509_buf *new_oid = (mbedtls_x509_buf *)p_ctx;
1046 mbedtls_x509_buf oid;
1259 mbedtls_x509_buf oid;
1287 mbedtls_x509_buf oid;
1378 mbedtls_x509_buf buf;
/mbedtls-3.4.0/
DChangeLog3291 * Fix mbedtls_x509_get_sig() to update the ASN1 type in the mbedtls_x509_buf