diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2016-06-05 00:00:57 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2016-06-27 08:17:55 -0300 |
commit | 75f45d9bfa92ade227dc35aa7f0ce455079c4cc5 (patch) | |
tree | 66452cc38fbf1b38774b0cbeb4537c87d39f4b13 /libkmod | |
parent | dcdb17715e451acc5bd6fef0d18b0c3cef77f2c9 (diff) | |
download | kmod-75f45d9bfa92ade227dc35aa7f0ce455079c4cc5.tar.gz kmod-75f45d9bfa92ade227dc35aa7f0ce455079c4cc5.tar.bz2 kmod-75f45d9bfa92ade227dc35aa7f0ce455079c4cc5.zip |
libkmod-signature: handle PKCS#7
Diffstat (limited to 'libkmod')
-rw-r--r-- | libkmod/libkmod-signature.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkmod/libkmod-signature.c b/libkmod/libkmod-signature.c index 6fc06fc..ef5fe6e 100644 --- a/libkmod/libkmod-signature.c +++ b/libkmod/libkmod-signature.c @@ -69,12 +69,14 @@ const char *const pkey_hash_algo[PKEY_HASH__LAST] = { enum pkey_id_type { PKEY_ID_PGP, /* OpenPGP generated key ID */ PKEY_ID_X509, /* X.509 arbitrary subjectKeyIdentifier */ + PKEY_ID_PKCS7, /* Signature in PKCS#7 message */ PKEY_ID_TYPE__LAST }; const char *const pkey_id_type[PKEY_ID_TYPE__LAST] = { [PKEY_ID_PGP] = "PGP", [PKEY_ID_X509] = "X509", + [PKEY_ID_PKCS7] = "PKCS#7", }; /* |