aboutsummaryrefslogtreecommitdiff
path: root/libcacard/cac.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-03-05 15:32:19 +0200
committerAlon Levy <alevy@redhat.com>2013-04-24 11:48:02 +0300
commit7a6858962457c54be44715d6562504c765d9ea76 (patch)
tree6b88e90d4a6b90cd9e814d795cefe9d2d45f139e /libcacard/cac.h
parent2f8f916b6d4482976bb5cf179f65aa2cfcd1aec9 (diff)
libcacard/vreader: add debugging messages for apdu
Using g_debug with log domain libcacard Signed-off-by: Alon Levy <alevy@redhat.com> Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
Diffstat (limited to 'libcacard/cac.h')
-rw-r--r--libcacard/cac.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcacard/cac.h b/libcacard/cac.h
index 15a61be980..d24a2a846a 100644
--- a/libcacard/cac.h
+++ b/libcacard/cac.h
@@ -9,6 +9,14 @@
#define CAC_H 1
#include "vcard.h"
#include "vreader.h"
+
+#define CAC_GET_PROPERTIES 0x56
+#define CAC_GET_ACR 0x4c
+#define CAC_READ_BUFFER 0x52
+#define CAC_UPDATE_BUFFER 0x58
+#define CAC_SIGN_DECRYPT 0x42
+#define CAC_GET_CERTIFICATE 0x36
+
/*
* Initialize the cac card. This is the only public function in this file. All
* the rest are connected through function pointers.