summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2007-05-06 13:23:21 +0000
committerStef Walter <stef@memberwebs.com>2007-05-06 13:23:21 +0000
commit8ae74e82e50a2e4e7e48b6a25aad42fadfbcfaca (patch)
tree356fa936ff03991a3830e1340677bce853c8dce1
parent16be360038c56328695f1dd8133718f82cd0c36c (diff)
A bit of documentation
-rw-r--r--ckcapi-trust.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/ckcapi-trust.c b/ckcapi-trust.c
index c49a2de..9acbfed 100644
--- a/ckcapi-trust.c
+++ b/ckcapi-trust.c
@@ -6,6 +6,23 @@
#include <wincrypt.h>
+/*
+ * These are the attributes expected by NSS on a trust object:
+ *
+ * CKA_CLASS
+ * CKA_TOKEN
+ * CKA_LABEL
+ * CKA_CERT_SHA1_HASH
+ * CKA_CERT_MD5_HASH
+ * CKA_ISSUER
+ * CKA_SUBJECT
+ * CKA_TRUST_SERVER_AUTH
+ * CKA_TRUST_CLIENT_AUTH
+ * CKA_TRUST_EMAIL_PROTECTION
+ * CKA_TRUST_CODE_SIGNING
+ * CKA_SERIAL_NUMBER
+ */
+
typedef struct _TrustObject
{
CkCapiObject obj;