Lines Matching refs:mbedtls_x509_crt
41 typedef struct mbedtls_x509_crt { struct
90 struct mbedtls_x509_crt *next; argument
92 mbedtls_x509_crt; typedef
251 mbedtls_x509_crt *MBEDTLS_PRIVATE(crt);
272 mbedtls_x509_crt *MBEDTLS_PRIVATE(trust_ca_cb_result);
286 mbedtls_x509_crt *MBEDTLS_PRIVATE(parent); /* non-null iff parent_in in progress */
287 mbedtls_x509_crt *MBEDTLS_PRIVATE(fallback_parent);
368 int mbedtls_x509_crt_parse_der(mbedtls_x509_crt *chain,
403 mbedtls_x509_crt const *crt,
453 int mbedtls_x509_crt_parse_der_with_ext_cb(mbedtls_x509_crt *chain,
491 int mbedtls_x509_crt_parse_der_nocopy(mbedtls_x509_crt *chain,
529 int mbedtls_x509_crt_parse(mbedtls_x509_crt *chain, const unsigned char *buf, size_t buflen);
549 int mbedtls_x509_crt_parse_file(mbedtls_x509_crt *chain, const char *path);
564 int mbedtls_x509_crt_parse_path(mbedtls_x509_crt *chain, const char *path);
582 const mbedtls_x509_crt *crt);
670 int mbedtls_x509_crt_verify(mbedtls_x509_crt *crt,
671 mbedtls_x509_crt *trust_ca,
674 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
711 int mbedtls_x509_crt_verify_with_profile(mbedtls_x509_crt *crt,
712 mbedtls_x509_crt *trust_ca,
716 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
745 int mbedtls_x509_crt_verify_restartable(mbedtls_x509_crt *crt,
746 mbedtls_x509_crt *trust_ca,
750 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
785 mbedtls_x509_crt const *child,
786 mbedtls_x509_crt **candidate_cas);
811 int mbedtls_x509_crt_verify_with_ca_cb(mbedtls_x509_crt *crt,
816 int (*f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *),
842 int mbedtls_x509_crt_check_key_usage(const mbedtls_x509_crt *crt,
858 int mbedtls_x509_crt_check_extended_key_usage(const mbedtls_x509_crt *crt,
872 int mbedtls_x509_crt_is_revoked(const mbedtls_x509_crt *crt, const mbedtls_x509_crl *crl);
880 void mbedtls_x509_crt_init(mbedtls_x509_crt *crt);
887 void mbedtls_x509_crt_free(mbedtls_x509_crt *crt);
913 static inline int mbedtls_x509_crt_has_ext_type(const mbedtls_x509_crt *ctx, in mbedtls_x509_crt_has_ext_type()
929 int mbedtls_x509_crt_get_ca_istrue(const mbedtls_x509_crt *crt);