Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_mbedtls.c99 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 …]
Dcoap_openssl.c994 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 …]
Dcoap_gnutls.c1039 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 …]
Dcoap_tinydtls.c1013 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/
Dcoap_dtls.h160 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/
Dcoap_encryption.txt.in689 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 …]
Dcoap_endpoint_client.txt.in269 dtls_pki.pki_key.key.pem.public_cert = public_cert_file;
Dcoap_endpoint_server.txt.in325 dtls_pki.pki_key.key.pem.public_cert = public_cert_file;
/third_party/libcoap/examples/
Dcoap-client.c1252 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()
Dcoap-server.c1863 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()
Dcoap-rd.c668 dtls_pki.pki_key.key.pem.public_cert = cert_file; in fill_keystore()