X.509: Extract both parts of the AuthorityKeyIdentifier
authorDavid Howells <dhowells@redhat.com>
Mon, 20 Jul 2015 20:16:26 +0000 (21:16 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Aug 2015 15:26:13 +0000 (16:26 +0100)
commitb92e6570a992c7d793a209db282f68159368201c
tree37f9f533b4d28508fca8c1f6c1229c0182d47acc
parentc05cae9a58dca6dcbc6e66b228a9589c6b60880c
X.509: Extract both parts of the AuthorityKeyIdentifier

Extract both parts of the AuthorityKeyIdentifier, not just the keyIdentifier,
as the second part can be used to match X.509 certificates by issuer and
serialNumber.

Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Vivek Goyal <vgoyal@redhat.com>
crypto/asymmetric_keys/Makefile
crypto/asymmetric_keys/pkcs7_trust.c
crypto/asymmetric_keys/pkcs7_verify.c
crypto/asymmetric_keys/x509_akid.asn1 [new file with mode: 0644]
crypto/asymmetric_keys/x509_cert_parser.c
crypto/asymmetric_keys/x509_parser.h
crypto/asymmetric_keys/x509_public_key.c