From 8ae74e82e50a2e4e7e48b6a25aad42fadfbcfaca Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 6 May 2007 13:23:21 +0000 Subject: A bit of documentation --- ckcapi-trust.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ckcapi-trust.c') 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 +/* + * 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; -- cgit v1.2.3