summaryrefslogtreecommitdiff
path: root/lib/pkix_asn1_tab.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-18 11:31:44 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-03-18 11:43:01 +0100
commit1dd7d7955774b3384c7d6d2c38aa87a85a9cfba1 (patch)
treef1a22617b03cb59fb62a2890c6385894496f9a4b /lib/pkix_asn1_tab.c
parent33162437d298621b441ab074e295762f833fe859 (diff)
downloadgnutls-1dd7d7955774b3384c7d6d2c38aa87a85a9cfba1.tar.gz
Added gnutls_x509_crt_set_private_key_usage_period() and
gnutls_x509_crt_get_private_key_usage_period(). The time stored in generated certificates is now GeneralizedTime.
Diffstat (limited to 'lib/pkix_asn1_tab.c')
-rw-r--r--lib/pkix_asn1_tab.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pkix_asn1_tab.c b/lib/pkix_asn1_tab.c
index 159bba5fcd..d5b820cb6b 100644
--- a/lib/pkix_asn1_tab.c
+++ b/lib/pkix_asn1_tab.c
@@ -15,6 +15,11 @@ const ASN1_ARRAY_TYPE pkix_asn1_tab[] = {
{ "security", 1073741825, "5"},
{ "mechanisms", 1073741825, "5"},
{ "pkix", 1, "7"},
+ { "PrivateKeyUsagePeriod", 1610612741, NULL },
+ { "notBefore", 1619025937, NULL },
+ { NULL, 4104, "0"},
+ { "notAfter", 545284113, NULL },
+ { NULL, 4104, "1"},
{ "AuthorityKeyIdentifier", 1610612741, NULL },
{ "keyIdentifier", 1610637314, "KeyIdentifier"},
{ NULL, 4104, "0"},