summaryrefslogtreecommitdiff
path: root/trust/tests/test-data.h
Commit message (Collapse)AuthorAgeFilesLines
* trust: Support a p11-kit specific serialization formatStef Walter2013-03-151-0/+39
| | | | | | | This is documented in doc/internals/ subdirectory Add tests for the format as well. https://bugs.freedesktop.org/show_bug.cgi?id=62156
* Refactor how parsing of ASN.1 data and certificate extensions workStef Walter2013-02-051-26/+2
|
* Fill in certificate authority and trust data correctlyStef Walter2013-02-051-0/+9
| | | | | | | | | | | | * Fill in CKA_CERTIFICATE_CATEGORY properly for authorities based on the presence of BasicConstraints and/or v1 certificates * Fill in CKA_TRUSTED and CKA_X_DISTRUSTED based on whether the parser is running for anchors or blacklist * In addition support the concept of blacklisted certificates mixed in with the anchors (without any purposes) since that's what exists in the real world. * We do this after the various hooks have had a chance to mess with the certificate extensions and such.
* Better debugging and checks for attribute valuesStef Walter2013-02-051-2/+30
|
* Add basic trust moduleStef Walter2013-02-051-0/+220
This is based off the roots-store from gnome-keyring and loads certificates from a root directory and exposes them as PKCS#11 objects.