summaryrefslogtreecommitdiff
path: root/lib/pkix.asn
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-23 21:47:11 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-23 21:47:11 +0000
commitc10891c3ee5a37ba4a1f22d4443cadf8c3240a7b (patch)
treefa6fecd78c272ae5cdff759671eaa92a7627055e /lib/pkix.asn
parent9ed56d8896141d63f5bc3d8f68c2d5c3b6c26d65 (diff)
downloadgnutls-c10891c3ee5a37ba4a1f22d4443cadf8c3240a7b.tar.gz
Added support for reading and generating CRL distribution
points extensions in certificates (not working yet).
Diffstat (limited to 'lib/pkix.asn')
-rw-r--r--lib/pkix.asn17
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/pkix.asn b/lib/pkix.asn
index 01b1e7e940..446f5b5455 100644
--- a/lib/pkix.asn
+++ b/lib/pkix.asn
@@ -184,7 +184,7 @@ SkipCerts ::= INTEGER (0..MAX)
id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::= {id-ce 31}
-CRLDistPointsSyntax ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
+CRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
DistributionPoint ::= SEQUENCE {
distributionPoint [0] DistributionPointName OPTIONAL,
@@ -195,6 +195,21 @@ DistributionPointName ::= CHOICE {
fullName [0] GeneralNames,
nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
+-- Those are used to raw write a fullname.
+
+WritableCRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF WritableDistributionPoint
+
+WritableDistributionPoint ::= SEQUENCE {
+ distributionPoint [0] WriteableDistributionPointName OPTIONAL,
+ reasons [1] ReasonFlags OPTIONAL,
+ cRLIssuer [2] GeneralNames OPTIONAL }
+
+WriteableDistributionPointName ::= CHOICE {
+ fullName [0] ANY,
+ nameRelativeToCRLIssuer [1] RelativeDistinguishedName }
+
+
+
ReasonFlags ::= BIT STRING {