diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-09-04 13:57:05 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-09-04 13:58:49 +0200 |
commit | d1604d0551ea591c12ce15ab59d2d2f074cf674f (patch) | |
tree | 4dd1b2f8f0f82333e76fcbc03c8c6985a1f13d53 /src/frontends/android/jni/libandroidbridge/backend/android_creds.h | |
parent | 1323dc1138246a6e2819bcc20b167b75d52e6d7c (diff) | |
parent | c89cc2269259fcc2ea140e199cef9eff230e4e80 (diff) | |
download | strongswan-d1604d0551ea591c12ce15ab59d2d2f074cf674f.tar.bz2 strongswan-d1604d0551ea591c12ce15ab59d2d2f074cf674f.tar.xz |
Merge branch 'android-client-cert'
Introduces IKEv2 client certificate authentication for the Android App.
Diffstat (limited to 'src/frontends/android/jni/libandroidbridge/backend/android_creds.h')
-rw-r--r-- | src/frontends/android/jni/libandroidbridge/backend/android_creds.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontends/android/jni/libandroidbridge/backend/android_creds.h b/src/frontends/android/jni/libandroidbridge/backend/android_creds.h index 33de838c1..a3ecddde4 100644 --- a/src/frontends/android/jni/libandroidbridge/backend/android_creds.h +++ b/src/frontends/android/jni/libandroidbridge/backend/android_creds.h @@ -47,6 +47,13 @@ struct android_creds_t { char *password); /** + * Load the user certificate and private key + * + * @preturn loaded client certificate, NULL on failure + */ + certificate_t *(*load_user_certificate)(android_creds_t *this); + + /** * Clear the cached certificates and stored credentials. */ void (*clear)(android_creds_t *this); |