Obseleted BUILD_PASSPHRASE(_CALLBACK) for private key loading, use credential sets
This commit is contained in:
@@ -58,6 +58,14 @@ struct nm_creds_t {
|
||||
*/
|
||||
void (*set_username_password)(nm_creds_t *this, identification_t *id,
|
||||
char *password);
|
||||
|
||||
/**
|
||||
* Set the passphrase to use for private key decryption.
|
||||
*
|
||||
* @param password password to use
|
||||
*/
|
||||
void (*set_key_password)(nm_creds_t *this, char *password);
|
||||
|
||||
/**
|
||||
* Set the certificate and private key to use for client authentication.
|
||||
*
|
||||
@@ -66,6 +74,7 @@ struct nm_creds_t {
|
||||
*/
|
||||
void (*set_cert_and_key)(nm_creds_t *this, certificate_t *cert,
|
||||
private_key_t *key);
|
||||
|
||||
/**
|
||||
* Clear the stored credentials.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user