diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-06-26 18:07:47 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-06-26 18:07:47 +0000 |
commit | 493428532cb113f28ca8f1a5def7f2a6cee78f5e (patch) | |
tree | 632dcfa7ca3105d442efb6add826245bacf465f0 /src/include/pkinit_cert_store.h | |
parent | e09372d4532a7b30c4dce89335e0e11c2b1411f8 (diff) | |
download | krb5-493428532cb113f28ca8f1a5def7f2a6cee78f5e.tar.gz krb5-493428532cb113f28ca8f1a5def7f2a6cee78f5e.tar.xz krb5-493428532cb113f28ca8f1a5def7f2a6cee78f5e.zip |
Apple PKINIT LKDC support
ticket: 5968
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20476 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/pkinit_cert_store.h')
-rw-r--r-- | src/include/pkinit_cert_store.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/pkinit_cert_store.h b/src/include/pkinit_cert_store.h index 1e848d7b5..6811d5a72 100644 --- a/src/include/pkinit_cert_store.h +++ b/src/include/pkinit_cert_store.h @@ -44,6 +44,12 @@ extern "C" { */ typedef void *krb5_pkinit_signing_cert_t; +/* + * Opaque reference to a machine-dependent representation of a certificate. + * On Mac OS X this is actually a SecCertificateRef. + */ +typedef void *krb5_pkinit_cert_t; + /* * Opaque reference to a database in which PKINIT-related certificates are stored. */ @@ -72,9 +78,12 @@ krb5_boolean krb5_pkinit_have_client_cert( * in NULL for the client_cert has the effect of deleting the relevant entry * in the cert storage. */ -krb5_error_code krb5_pkinit_set_client_cert( +krb5_error_code krb5_pkinit_set_client_cert_from_signing_cert( const char *principal, /* full principal string */ krb5_pkinit_signing_cert_t client_cert); +krb5_error_code krb5_pkinit_set_client_cert( + const char *principal, /* full principal string */ + krb5_pkinit_cert_t client_cert); /* * Obtain a reference to the client's cert database. Specify either principal |