Added new functions to convert types to strings.
[gnutls.git] / tests / cert-tests / template-test.tmpl
blob8acbd053962e7d03f5e60c094269097bbbb9f1ff
1 # X.509 Certificate options
3 # DN options
5 # The organization of the subject.
6 organization = "Koko inc."
8 # The organizational unit of the subject.
9 unit = "sleeping dept."
11 # The locality of the subject.
12 # locality =
14 # The state of the certificate owner.
15 state = "Attiki"
17 # The country of the subject. Two letter code.
18 country = GR
20 # The common name of the certificate owner.
21 cn = "Cindy Lauper"
23 # A user id of the certificate owner.
24 uid = "clauper"
26 # If the supported DN OIDs are not adequate you can set
27 # any OID here.
28 # For example set the X.520 Title and the X.520 Pseudonym
29 # by using OID and string pairs.
30 dn_oid = 2.5.4.12 Dr.
31 dn_oid = 2.5.4.65 jackal
33 # This is deprecated and should not be used in new
34 # certificates.
35 pkcs9_email = "none@none.org"
37 # The serial number of the certificate
38 serial = 7
40 # In how many days, counting from today, this certificate will expire.
41 expiration_days = 2590
43 # X.509 v3 extensions
45 # A dnsname in case of a WWW server.
46 dns_name = "www.none.org"
47 dns_name = "www.morethanone.org"
49 # An IP address in case of a server.
50 ip_address = "192.168.1.1"
52 dns_name = "www.evenmorethanone.org"
54 # An email in case of a person
55 email = "none@none.org"
57 # An URL that has CRLs (certificate revocation lists)
58 # available. Needed in CA certificates.
59 crl_dist_points = "http://www.getcrl.crl/getcrl/"
61 email = "where@none.org"
63 # Whether this is a CA certificate or not
66 # Whether this certificate will be used for a TLS client
67 #tls_www_client
69 # Whether this certificate will be used for a TLS server
70 #tls_www_server
72 # Whether this certificate will be used to sign data (needed
73 # in TLS DHE ciphersuites).
74 signing_key
76 # Whether this certificate will be used to encrypt data (needed
77 # in TLS RSA ciphersuites). Note that it is preferred to use different
78 # keys for encryption and signing.
79 #encryption_key
81 # Whether this key will be used to sign other certificates.
82 cert_signing_key
84 # Whether this key will be used to sign CRLs.
85 #crl_signing_key
87 # Whether this key will be used to sign code.
88 #code_signing_key
90 # Whether this key will be used to sign OCSP data.
91 ocsp_signing_key
93 # Whether this key will be used for time stamping.
94 #time_stamping_key
96 # Whether this key will be used for IPsec IKE operations.
97 #ipsec_ike_key