24 const u8 *cert_blob,
size_t cert_blob_len,
27 const u8 *cert_blob,
size_t cert_blob_len);
29 const char *private_key,
30 const char *private_key_passwd,
31 const u8 *private_key_blob,
32 size_t private_key_blob_len);
34 const u8 *dh_blob,
size_t dh_blob_len);
Definition: tlsv1_cred.h:8
int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path)
Set trusted CA certificate(s)
Definition: tlsv1_cred.c:185
int tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len)
Set private key.
Definition: tlsv1_cred.c:313
int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, const u8 *dh_blob, size_t dh_blob_len)
Set Diffie-Hellman parameters.
Definition: tlsv1_cred.c:478
int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len)
Set certificate.
Definition: tlsv1_cred.c:212
Definition: crypto_libtomcrypt.c:407