ike-sa: Add method to verify certificates in completed authentication rounds

This commit is contained in:
Tobias Brunner
2016-03-10 11:07:14 +01:00
parent ef9171ad1e
commit 1b9c1ae018
2 changed files with 111 additions and 0 deletions
+8
View File
@@ -521,6 +521,14 @@ struct ike_sa_t {
*/
enumerator_t* (*create_auth_cfg_enumerator)(ike_sa_t *this, bool local);
/**
* Verify the trustchains (validity, revocation) in completed public key
* auth rounds.
*
* @return TRUE if certificates were valid, FALSE otherwise
*/
bool (*verify_peer_certificate)(ike_sa_t *this);
/**
* Get the selected proposal of this IKE_SA.
*