|
| 1 | +/* |
| 2 | + * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | +// This file is auto-generated |
| 7 | +#include "esp_eap_client.h" |
| 8 | +#include "esp_eap_client_remote_api.h" |
| 9 | + |
| 10 | +esp_err_t esp_wifi_sta_enterprise_enable(void) |
| 11 | +{ |
| 12 | + return esp_wifi_remote_sta_enterprise_enable(); |
| 13 | +} |
| 14 | + |
| 15 | +esp_err_t esp_wifi_sta_enterprise_disable(void) |
| 16 | +{ |
| 17 | + return esp_wifi_remote_sta_enterprise_disable(); |
| 18 | +} |
| 19 | + |
| 20 | +esp_err_t esp_eap_client_set_identity(const unsigned char *identity, int len) |
| 21 | +{ |
| 22 | + return esp_eap_client_remote_set_identity(identity, len); |
| 23 | +} |
| 24 | + |
| 25 | +void esp_eap_client_clear_identity(void) |
| 26 | +{ |
| 27 | + esp_eap_client_remote_clear_identity(); |
| 28 | +} |
| 29 | + |
| 30 | +esp_err_t esp_eap_client_set_username(const unsigned char *username, int len) |
| 31 | +{ |
| 32 | + return esp_eap_client_remote_set_username(username, len); |
| 33 | +} |
| 34 | + |
| 35 | +void esp_eap_client_clear_username(void) |
| 36 | +{ |
| 37 | + esp_eap_client_remote_clear_username(); |
| 38 | +} |
| 39 | + |
| 40 | +esp_err_t esp_eap_client_set_password(const unsigned char *password, int len) |
| 41 | +{ |
| 42 | + return esp_eap_client_remote_set_password(password, len); |
| 43 | +} |
| 44 | + |
| 45 | +void esp_eap_client_clear_password(void) |
| 46 | +{ |
| 47 | + esp_eap_client_remote_clear_password(); |
| 48 | +} |
| 49 | + |
| 50 | +esp_err_t esp_eap_client_set_new_password(const unsigned char *new_password, int len) |
| 51 | +{ |
| 52 | + return esp_eap_client_remote_set_new_password(new_password, len); |
| 53 | +} |
| 54 | + |
| 55 | +void esp_eap_client_clear_new_password(void) |
| 56 | +{ |
| 57 | + esp_eap_client_remote_clear_new_password(); |
| 58 | +} |
| 59 | + |
| 60 | +esp_err_t esp_eap_client_set_ca_cert(const unsigned char *ca_cert, int ca_cert_len) |
| 61 | +{ |
| 62 | + return esp_eap_client_remote_set_ca_cert(ca_cert, ca_cert_len); |
| 63 | +} |
| 64 | + |
| 65 | +void esp_eap_client_clear_ca_cert(void) |
| 66 | +{ |
| 67 | + esp_eap_client_remote_clear_ca_cert(); |
| 68 | +} |
| 69 | + |
| 70 | +esp_err_t esp_eap_client_set_certificate_and_key(const unsigned char *client_cert, int client_cert_len, const unsigned char *private_key, int private_key_len, const unsigned char *private_key_password, int private_key_passwd_len) |
| 71 | +{ |
| 72 | + return esp_eap_client_remote_set_certificate_and_key(client_cert, client_cert_len, private_key, private_key_len, private_key_password, private_key_passwd_len); |
| 73 | +} |
| 74 | + |
| 75 | +void esp_eap_client_clear_certificate_and_key(void) |
| 76 | +{ |
| 77 | + esp_eap_client_remote_clear_certificate_and_key(); |
| 78 | +} |
| 79 | + |
| 80 | +esp_err_t esp_eap_client_set_disable_time_check(_Bool disable) |
| 81 | +{ |
| 82 | + return esp_eap_client_remote_set_disable_time_check(disable); |
| 83 | +} |
| 84 | + |
| 85 | +esp_err_t esp_eap_client_get_disable_time_check(_Bool *disable) |
| 86 | +{ |
| 87 | + return esp_eap_client_remote_get_disable_time_check(disable); |
| 88 | +} |
| 89 | + |
| 90 | +esp_err_t esp_eap_client_set_ttls_phase2_method(esp_eap_ttls_phase2_types type) |
| 91 | +{ |
| 92 | + return esp_eap_client_remote_set_ttls_phase2_method(type); |
| 93 | +} |
| 94 | + |
| 95 | +esp_err_t esp_eap_client_set_suiteb_192bit_certification(_Bool enable) |
| 96 | +{ |
| 97 | + return esp_eap_client_remote_set_suiteb_192bit_certification(enable); |
| 98 | +} |
| 99 | + |
| 100 | +esp_err_t esp_eap_client_set_pac_file(const unsigned char *pac_file, int pac_file_len) |
| 101 | +{ |
| 102 | + return esp_eap_client_remote_set_pac_file(pac_file, pac_file_len); |
| 103 | +} |
| 104 | + |
| 105 | +esp_err_t esp_eap_client_set_fast_params(esp_eap_fast_config config) |
| 106 | +{ |
| 107 | + return esp_eap_client_remote_set_fast_params(config); |
| 108 | +} |
| 109 | + |
| 110 | +esp_err_t esp_eap_client_use_default_cert_bundle(_Bool use_default_bundle) |
| 111 | +{ |
| 112 | + return esp_eap_client_remote_use_default_cert_bundle(use_default_bundle); |
| 113 | +} |
0 commit comments