summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/format
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>1998-10-19 21:47:13 +0000
committercvs2svn <admin@example.com>1998-10-19 21:47:13 +0000
commitf954a53a9a7dced3fb4c80b1e8dd267981ae025d (patch)
treec667406046ddb1efca5ed4316b02e43494241660 /src/lib/libcrypto/x509v3/format
parent536c76cbb863bab152f19842ab88772c01e922c7 (diff)
downloadopenbsd-OPENBSD_2_4.tar.gz
openbsd-OPENBSD_2_4.tar.bz2
openbsd-OPENBSD_2_4.zip
This commit was manufactured by cvs2git to create branch 'OPENBSD_2_4'.OPENBSD_2_4
Diffstat (limited to 'src/lib/libcrypto/x509v3/format')
-rw-r--r--src/lib/libcrypto/x509v3/format92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/lib/libcrypto/x509v3/format b/src/lib/libcrypto/x509v3/format
new file mode 100644
index 0000000000..3307978121
--- /dev/null
+++ b/src/lib/libcrypto/x509v3/format
@@ -0,0 +1,92 @@
1AuthorityKeyIdentifier
2 {
3 keyIdentifier [0] OCTET_STRING OPTIONAL
4 authorityCertIssuer [1] GeneralNames OPTIONAL
5 authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL
6 }
7
8SubjectKeyIdentifier OCTET_STRING
9
10KeyUsage
11 {
12 BIT_STRING
13 digitalSignature 0
14 nonRepudiation 1
15 keyEncipherment 2
16 dataEncipherment 3
17 keyAgreement 4
18 keyCertSign 5
19 cRLSign 6
20 encipherOnly 7
21 decipherOnly 8
22 }
23
24extKeyUsage
25 {
26 SEQUENCE of OBJECT_IDENTIFIER
27 }
28
29privateKeyUsagePeriod
30 {
31 notBefore [0] GeneralizedTime OPTIONAL
32 notAfter [1] GeneralizedTime OPTIONAL
33 }
34
35certificatePoliciesSyntax
36 SEQUENCE of PoliciesInformation
37
38PoliciesInformation XXX
39policyMappings XXX
40supportedAlgorithms XXX
41
42subjectAltName
43 GeneralNames sequence of GeneralName
44
45GeneralName
46 {
47 otherName [0] INSTANCE OF OTHER-NAME
48 rfc882Name [1] IA5String
49 dNSName [2] IA5String
50 x400Address [3] ORAddress
51 directoryName [4] Name
52 ediPartyName [5]
53 {
54 nameAssigner [0] DirectoryString OPTIONAL
55 partyName [1] DirectoryString
56 }
57 uniformResourceIdentifier [6] IA5String
58 iPAddress [7] OCTET_STRING
59 registeredID [8] OBJECT_IDENTIFIER
60 }
61
62issuerAltName
63 GeneralNames sequence of GeneralName
64
65subjectDirectoryAttribute SEQUENCE of Attribute
66
67basicConstraints
68 {
69 cA BOOLEAN default FALSE
70 pathLenConstraint INTEGER OPTIONAL
71 }
72
73nameConstraints
74 {
75 permittedSubtrees [0] sequence of GeneralSubtree OPTIONAL
76 excludedSubtrees [1] sequence of GeneralSubtree OPTIONAL
77 }
78
79GeneralSubtree
80 {
81 base GeneralName
82 minimum [0] BaseDistance DEFAULT 0
83 maximum [1] BaseDistance OPTIONAL
84 }
85
86PolicyConstraints
87 {
88 requiredExplicitPolicy [0] SkipCerts OPTIONAL
89 inhibitPolicyMapping [1] SkipCerts OPTIONAL
90 }
91SkipCerts == INTEGER
92