diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-04 15:48:38 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-04 15:48:38 +0200 |
commit | 7d4941715b5afc2ef8ea18716990d28965737c70 (patch) | |
tree | 65b860118fbcf084b855e3e8d78c818b6b8fe765 /common/constants.c | |
parent | 2be55821c1ffab99b91c76c43c91dd95db1c21c7 (diff) |
trust: Port to use CKA_PUBLIC_KEY_INFO and updated trust store spec
* Use the concepts and PKCS#11 objects described in the
recently updated (still work in progress) storing trust spec.
* Define our own CKA_X_PUBLIC_KEY_INFO define for now, since the
the CKA_PUBLIC_KEY_INFO isn't defined yet.
* Most notably, the association between certificates and stapled
extensions is by public key.
* Rework some of the tests to take into account the above.
Diffstat (limited to 'common/constants.c')
-rw-r--r-- | common/constants.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/constants.c b/common/constants.c index 3ff93bd..ca956d3 100644 --- a/common/constants.c +++ b/common/constants.c @@ -175,6 +175,7 @@ const p11_constant p11_constant_types[] = { CT (CKA_X_PEER, "x-peer") CT (CKA_X_DISTRUSTED, "x-distrusted") CT (CKA_X_CRITICAL, "x-critical") + CT (CKA_X_PUBLIC_KEY_INFO, "x-public-key-info") { CKA_INVALID }, }; |