diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2009-10-25 20:49:18 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2009-10-25 23:20:24 +0200 |
commit | dc18e91405903607a7c5c8a9b185f8c286c244b6 (patch) | |
tree | 6daddc29e47dcbb07ca78f9dec63d8c8cfdcc2ff /lib/pkix_asn1_tab.c | |
parent | ac0d81e93315fc3ac5595396a179b0d31189a7ef (diff) | |
download | gnutls-dc18e91405903607a7c5c8a9b185f8c286c244b6.tar.gz |
Added GNUTLS_BAG_SECRET that adds support for storing a randomly generated key
into a PKCS-12 structure. This is a gnutls extension, since PKCS-12 does not
specify what should be in the secret bag. What we do is store the key as
OCTET string and specify an OID of the PKCS-9 random nonce.
Diffstat (limited to 'lib/pkix_asn1_tab.c')
-rw-r--r-- | lib/pkix_asn1_tab.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pkix_asn1_tab.c b/lib/pkix_asn1_tab.c index 1139a5f93f..bbba01ff7b 100644 --- a/lib/pkix_asn1_tab.c +++ b/lib/pkix_asn1_tab.c @@ -478,6 +478,11 @@ const ASN1_ARRAY_TYPE pkix_asn1_tab[] = { { "crlValue", 541073421, NULL }, { NULL, 1073743880, "0"}, { "crlId", 1, NULL }, + { "pkcs-12-SecretBag", 1610612741, NULL }, + { "secretTypeId", 1073741836, NULL }, + { "secretValue", 541073421, NULL }, + { NULL, 1073743880, "0"}, + { "secretTypeId", 1, NULL }, { "pkcs-12-PKCS12Attribute", 1073741826, "Attribute"}, { "pkcs-7-Data", 1073741831, NULL }, { "pkcs-7-EncryptedData", 1610612741, NULL }, |