Home
last modified time | relevance | path

Searched refs:public_cert (Results 1 – 11 of 11) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_dtls.h200 const char *public_cert; /**< File location of Public Cert */ member
215 const uint8_t *public_cert; /**< PEM buffer Public Cert, or Public Key if RPK */ member
229 const uint8_t *public_cert; /**< ASN1 (DER) Public Cert, or Public Key if RPK */ member
242 const char *public_cert; /**< pkcs11: URI for Public Cert */ member
/third_party/libcoap/src/
Dcoap_mbedtls.c126 mbedtls_x509_crt public_cert; member
142 mbedtls_x509_crt public_cert; member
498 mbedtls_x509_crt *public_cert, in setup_pki_credentials() argument
513 if (setup_data->pki_key.key.pem.public_cert && in setup_pki_credentials()
514 setup_data->pki_key.key.pem.public_cert[0] && in setup_pki_credentials()
518 mbedtls_x509_crt_init(public_cert); in setup_pki_credentials()
521 ret = mbedtls_x509_crt_parse_file(public_cert, in setup_pki_credentials()
522 setup_data->pki_key.key.pem.public_cert); in setup_pki_credentials()
543 ret = mbedtls_ssl_conf_own_cert(&m_env->conf, public_cert, private_key); in setup_pki_credentials()
569 if (setup_data->pki_key.key.pem_buf.public_cert && in setup_pki_credentials()
[all …]
Dcoap_openssl.c1128 if (setup_data->pki_key.key.pem.public_cert && in setup_pki_server()
1129 setup_data->pki_key.key.pem.public_cert[0]) { in setup_pki_server()
1131 setup_data->pki_key.key.pem.public_cert, in setup_pki_server()
1135 setup_data->pki_key.key.pem.public_cert); in setup_pki_server()
1197 if (setup_data->pki_key.key.pem_buf.public_cert && in setup_pki_server()
1199 BIO *bp = BIO_new_mem_buf(setup_data->pki_key.key.pem_buf.public_cert, in setup_pki_server()
1267 if (setup_data->pki_key.key.asn1.public_cert && in setup_pki_server()
1271 setup_data->pki_key.key.asn1.public_cert))) { in setup_pki_server()
1381 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_server()
1382 setup_data->pki_key.key.pkcs11.public_cert[0]) { in setup_pki_server()
[all …]
Dcoap_gnutls.c1049 if (setup_data->pki_key.key.pem.public_cert && in setup_pki_credentials()
1050 setup_data->pki_key.key.pem.public_cert[0] && in setup_pki_credentials()
1058 setup_data->pki_key.key.pem.public_cert, in setup_pki_credentials()
1086 if (setup_data->pki_key.key.pem_buf.public_cert && in setup_pki_credentials()
1096 if (setup_data->pki_key.key.pem_buf.public_cert[cert.size-1] != '\000') { in setup_pki_credentials()
1104 memcpy(cert.data, setup_data->pki_key.key.pem_buf.public_cert, in setup_pki_credentials()
1111 &setup_data->pki_key.key.pem_buf.public_cert, sizeof(cert.data)); in setup_pki_credentials()
1232 if (setup_data->pki_key.key.asn1.public_cert && in setup_pki_credentials()
1240 memcpy(&cert.data, &setup_data->pki_key.key.asn1.public_cert, in setup_pki_credentials()
1316 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_credentials()
[all …]
Dcoap_tinydtls.c1232 if (setup_data->pki_key.key.pem_buf.public_cert && in coap_dtls_context_set_pki()
1233 setup_data->pki_key.key.pem_buf.public_cert[0] && in coap_dtls_context_set_pki()
1258 setup_data->pki_key.key.pem_buf.public_cert); in coap_dtls_context_set_pki()
1311 if (setup_data->pki_key.key.asn1.public_cert && in coap_dtls_context_set_pki()
1316 setup_data->pki_key.key.asn1.public_cert, in coap_dtls_context_set_pki()
/third_party/libcoap/man/
Dcoap_encryption.txt.in691 const char *public_cert; /* File location of Public Cert */
702 *key.pem.public_cert* points to the public certificate location on disk which
713 const uint8_t *public_cert; /* PEM buffer Public Cert, or Public Key if RPK */
716 for both the public_cert and private_key */
731 *key.pem_buf.public_cert* points to the public certificate (or public key if
738 'EC PRIVATE KEY' this can be used for both the public_cert and private_key.
752 const uint8_t *public_cert; /* ASN1 (DER) Public Cert, or Public Key if RPK */
785 *key.asn1.public_cert* points to a DER encoded ASN.1 definition of the
809 const char *public_cert; /* pkcs11: URI for Public Cert */
824 *key.pkcs11.public_cert* is a pkcs11: URI for the Public Certificate which
[all …]
Dcoap_endpoint_client.txt.in381 dtls_pki.pki_key.key.pem.public_cert = public_cert_file;
Dcoap_endpoint_server.txt.in414 dtls_pki.pki_key.key.pem.public_cert = public_cert_file;
/third_party/libcoap/examples/
Dcoap-client.c1377 dtls_pki.pki_key.key.pkcs11.public_cert = cert_file; in setup_pki()
1384 dtls_pki.pki_key.key.pem.public_cert = cert_file; in setup_pki()
1396 dtls_pki.pki_key.key.pem_buf.public_cert = cert_mem; in setup_pki()
Dcoap-rd.c658 dtls_pki.pki_key.key.pem.public_cert = cert_file; in fill_keystore()
Dcoap-server.c1875 dtls_key->key.pkcs11.public_cert = cert_name; in update_pki_key()
1881 dtls_key->key.pem.public_cert = cert_name; in update_pki_key()
1895 dtls_key->key.pem_buf.public_cert = cert_mem; in update_pki_key()