implemented NetworkManager certificate/private key authentication using ssh-agent

This commit is contained in:
Martin Willi
2008-09-04 08:40:37 +00:00
parent 994ed35312
commit aff26a62c3
8 changed files with 456 additions and 170 deletions
+15 -2
View File
@@ -50,8 +50,21 @@ struct nm_creds_t {
* @param id ID of the user
* @param password password to use for authentication
*/
void (*set_password)(nm_creds_t *this, identification_t *id, char *password);
void (*set_username_password)(nm_creds_t *this, identification_t *id,
char *password);
/**
* Set the certificate and private key to use for client authentication.
*
* @param cert client certificate
* @param key associated private key
*/
void (*set_cert_and_key)(nm_creds_t *this, certificate_t *cert,
private_key_t *key);
/**
* Clear the stored credentials.
*/
void (*clear)(nm_creds_t *this);
/**
* Destroy a nm_creds instance.
*/