summaryrefslogtreecommitdiff
path: root/ckcapi-trust.c
diff options
context:
space:
mode:
Diffstat (limited to 'ckcapi-trust.c')
-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;