Classes | Functions
tlsv1_cred.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tlsv1_credentials

Functions

struct tlsv1_credentialstlsv1_cred_alloc (void)
void tlsv1_cred_free (struct tlsv1_credentials *cred)
int tlsv1_set_ca_cert (struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path)
int tlsv1_set_cert (struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len)
int tlsv1_set_dhparams (struct tlsv1_credentials *cred, const char *dh_file, const u8 *dh_blob, size_t dh_blob_len)
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)

Function Documentation

struct tlsv1_credentials* tlsv1_cred_alloc ( void  ) [read]

Definition at line 24 of file tlsv1_cred.c.

void tlsv1_cred_free ( struct tlsv1_credentials cred)

Definition at line 32 of file tlsv1_cred.c.

int tlsv1_set_ca_cert ( struct tlsv1_credentials cred,
const char *  cert,
const u8 *  cert_blob,
size_t  cert_blob_len,
const char *  path 
)

tlsv1_set_ca_cert - Set trusted CA certificate(s) : TLSv1 credentials from tlsv1_cred_alloc() : File or reference name for X.509 certificate in PEM or DER format : cert as inlined data or NULL if not used : ca_cert_blob length : Path to CA certificates (not yet supported) Returns: 0 on success, -1 on failure

Definition at line 183 of file tlsv1_cred.c.

int tlsv1_set_cert ( struct tlsv1_credentials cred,
const char *  cert,
const u8 *  cert_blob,
size_t  cert_blob_len 
)

tlsv1_set_cert - Set certificate : TLSv1 credentials from tlsv1_cred_alloc() : File or reference name for X.509 certificate in PEM or DER format : cert as inlined data or NULL if not used : cert_blob length Returns: 0 on success, -1 on failure

Definition at line 210 of file tlsv1_cred.c.

int tlsv1_set_dhparams ( struct tlsv1_credentials cred,
const char *  dh_file,
const u8 *  dh_blob,
size_t  dh_blob_len 
)

tlsv1_set_dhparams - Set Diffie-Hellman parameters : TLSv1 credentials from tlsv1_cred_alloc() : File or reference name for the DH params in PEM or DER format : DH params as inlined data or NULL if not used : dh_blob length Returns: 0 on success, -1 on failure

Definition at line 469 of file tlsv1_cred.c.

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 
)

tlsv1_set_private_key - Set private key : TLSv1 credentials from tlsv1_cred_alloc() : File or reference name for the key in PEM or DER format : Passphrase for decrypted private key, NULL if no passphrase is used. : private_key as inlined data or NULL if not used : private_key_blob length Returns: 0 on success, -1 on failure

Definition at line 304 of file tlsv1_cred.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:39