From 493428532cb113f28ca8f1a5def7f2a6cee78f5e Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Thu, 26 Jun 2008 18:07:47 +0000 Subject: Apple PKINIT LKDC support ticket: 5968 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20476 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/pkinit_cert_store.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/include/pkinit_cert_store.h') 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 -- cgit