summaryrefslogtreecommitdiffstats
path: root/PICA_client.h
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-10-07 21:24:43 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-10-07 21:24:43 +0000
commit56c1e5aacaaec79b24453d406e7c2b218fa0cc9f (patch)
tree87b5e478a4d9308837131434342fea357dc17b31 /PICA_client.h
parent57d45923fc62be7d11ac20abba8618ca4b90bea4 (diff)
downloadpica-pica-56c1e5aacaaec79b24453d406e7c2b218fa0cc9f.tar.gz
pica-pica-56c1e5aacaaec79b24453d406e7c2b218fa0cc9f.zip
update from database schema 1 to 2 with importing old accounts and converting them to the new id formats; implemented new function PICA_get_id_from_cert_string
git-svn-id: svn://localhost/project_picapica/trunk@276 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_client.h')
-rwxr-xr-xPICA_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/PICA_client.h b/PICA_client.h
index 2e3b9d5..fc12aa1 100755
--- a/PICA_client.h
+++ b/PICA_client.h
@@ -169,7 +169,9 @@ extern "C" {
#endif
//read certificate from cert_file in PEM format, store id in buffer pointed by id
-int PICA_get_id_from_cert_file(const char *cert_file, unsigned char *id);
+int PICA_get_id_from_cert_file(const char *cert_file, unsigned char *id);
+//read certificate from C string in PEM format, store id in buffer pointed by id
+int PICA_get_id_from_cert_string(const char *cert_pem, unsigned char *id);
int PICA_client_init(struct PICA_client_callbacks *clcbs);
int PICA_new_connection