Searched refs:public_cert (Results 1 – 11 of 11) sorted by relevance
/third_party/libcoap/src/ |
D | coap_mbedtls.c | 99 mbedtls_x509_crt public_cert; member 114 mbedtls_x509_crt public_cert; member 453 mbedtls_x509_crt *public_cert, in setup_pki_credentials() argument 470 if (setup_data->pki_key.key.pem.public_cert && in setup_pki_credentials() 471 setup_data->pki_key.key.pem.public_cert[0] && in setup_pki_credentials() 475 mbedtls_x509_crt_init(public_cert); in setup_pki_credentials() 478 ret = mbedtls_x509_crt_parse_file(public_cert, in setup_pki_credentials() 479 setup_data->pki_key.key.pem.public_cert); in setup_pki_credentials() 494 ret = mbedtls_ssl_conf_own_cert(&m_env->conf, public_cert, private_key); in setup_pki_credentials() 522 if (setup_data->pki_key.key.pem_buf.public_cert && in setup_pki_credentials() [all …]
|
D | coap_openssl.c | 994 if (setup_data->pki_key.key.pem.public_cert && in setup_pki_server() 995 setup_data->pki_key.key.pem.public_cert[0]) { in setup_pki_server() 997 setup_data->pki_key.key.pem.public_cert, in setup_pki_server() 1002 setup_data->pki_key.key.pem.public_cert); in setup_pki_server() 1070 if (setup_data->pki_key.key.pem_buf.public_cert && in setup_pki_server() 1072 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.public_cert, in setup_pki_server() 1138 if (setup_data->pki_key.key.asn1.public_cert && in setup_pki_server() 1142 setup_data->pki_key.key.asn1.public_cert))) { in setup_pki_server() 1267 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_server() 1268 setup_data->pki_key.key.pkcs11.public_cert[0]) { in setup_pki_server() [all …]
|
D | coap_gnutls.c | 1039 if (setup_data->pki_key.key.pem.public_cert && in setup_pki_credentials() 1040 setup_data->pki_key.key.pem.public_cert[0] && in setup_pki_credentials() 1050 setup_data->pki_key.key.pem.public_cert, in setup_pki_credentials() 1082 if (setup_data->pki_key.key.pem_buf.public_cert && in setup_pki_credentials() 1092 if (setup_data->pki_key.key.pem_buf.public_cert[cert.size-1] != '\000') { in setup_pki_credentials() 1100 memcpy(cert.data, setup_data->pki_key.key.pem_buf.public_cert, in setup_pki_credentials() 1108 &setup_data->pki_key.key.pem_buf.public_cert, sizeof(cert.data)); in setup_pki_credentials() 1230 if (setup_data->pki_key.key.asn1.public_cert && in setup_pki_credentials() 1238 memcpy(&cert.data, &setup_data->pki_key.key.asn1.public_cert, in setup_pki_credentials() 1320 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_credentials() [all …]
|
D | coap_tinydtls.c | 1013 if (setup_data->pki_key.key.pem_buf.public_cert && in coap_dtls_context_set_pki() 1014 setup_data->pki_key.key.pem_buf.public_cert[0] && in coap_dtls_context_set_pki() 1039 setup_data->pki_key.key.pem_buf.public_cert); in coap_dtls_context_set_pki() 1092 if (setup_data->pki_key.key.asn1.public_cert && in coap_dtls_context_set_pki() 1097 setup_data->pki_key.key.asn1.public_cert, in coap_dtls_context_set_pki()
|
/third_party/libcoap/include/coap3/ |
D | coap_dtls.h | 160 const char *public_cert; /**< File location of Public Cert */ member 175 const uint8_t *public_cert; /**< PEM buffer Public Cert, or Public Key if RPK */ member 189 const uint8_t *public_cert; /**< ASN1 (DER) Public Cert, or Public Key if RPK */ member 202 const char *public_cert; /**< pkcs11: URI for Public Cert */ member
|
/third_party/libcoap/man/ |
D | coap_encryption.txt.in | 689 const char *public_cert; /* File location of Public Cert */ 700 *key.pem.public_cert* points to the public certificate location on disk which 711 const uint8_t *public_cert; /* PEM buffer Public Cert, or Public Key if RPK */ 714 for both the public_cert and private_key */ 729 *key.pem_buf.public_cert* points to the public certificate (or public key if 736 'EC PRIVATE KEY' this can be used for both the public_cert and private_key. 750 const uint8_t *public_cert; /* ASN1 (DER) Public Cert, or Public Key if RPK */ 783 *key.asn1.public_cert* points to a DER encoded ASN.1 definition of the 807 const char *public_cert; /* pkcs11: URI for Public Cert */ 822 *key.pkcs11.public_cert* is a pkcs11: URI for the Public Certificate which [all …]
|
D | coap_endpoint_client.txt.in | 269 dtls_pki.pki_key.key.pem.public_cert = public_cert_file;
|
D | coap_endpoint_server.txt.in | 325 dtls_pki.pki_key.key.pem.public_cert = public_cert_file;
|
/third_party/libcoap/examples/ |
D | coap-client.c | 1252 dtls_pki.pki_key.key.pkcs11.public_cert = cert_file; in setup_pki() 1260 dtls_pki.pki_key.key.pem.public_cert = cert_file; in setup_pki() 1273 dtls_pki.pki_key.key.pem_buf.public_cert = cert_mem; in setup_pki()
|
D | coap-server.c | 1863 dtls_key->key.pkcs11.public_cert = cert_name; in update_pki_key() 1870 dtls_key->key.pem.public_cert = cert_name; in update_pki_key() 1885 dtls_key->key.pem_buf.public_cert = cert_mem; in update_pki_key()
|
D | coap-rd.c | 668 dtls_pki.pki_key.key.pem.public_cert = cert_file; in fill_keystore()
|