summaryrefslogtreecommitdiff
path: root/common/x509.c
Commit message (Collapse)AuthorAgeFilesLines
* hash: Rename file and functions for hashesStef Walter2013-03-201-2/+2
| | | | | We're going to be adding other hashes. Also build as part of a different common library.
* trust: Use a SHA-1 hash of subjectPublicKeyInfo as CKA_ID by defaultStef Walter2013-03-151-0/+22
| | | | | | | This is what's recommended by the spec, and allows stapled extensions to hang off a predictable CKA_ID. https://bugs.freedesktop.org/show_bug.cgi?id=62329
* x509: Don't break when cA field of BasicConstraints is missingStef Walter2013-03-071-2/+9
| | | | | | | The field defaults to FALSE. It sucks that libtasn1 doesn't fill this in for us. https://bugs.freedesktop.org/show_bug.cgi?id=61975
* Use the CN, OU or O of certificates to generate a labelStef Walter2013-02-051-0/+136
| | | | | * This is in cases where the certificate information does not already have a friendly name or alias.
* Move the X.509 extension parsing code in common/Stef Walter2013-02-051-4/+63
| | | | * So it can be used by other code, in addition to the trust stuff
* Refactor how parsing of ASN.1 data and certificate extensions workStef Walter2013-02-051-0/+152