aboutsummaryrefslogtreecommitdiff
path: root/myrpki.rototill
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-03-14 04:35:22 +0000
committerRob Austein <sra@hactrn.net>2010-03-14 04:35:22 +0000
commitafa7cc1447bca813b9c7b9aec6e1d50e0ec67b23 (patch)
treec5bfd5cf112467464130892cb9c39b2f9943423f /myrpki.rototill
parentd17d25caeb661bff996b9f83608b8abbc951ab28 (diff)
Checkpoint
svn path=/myrpki.rototill/myrpki.rnc; revision=3084
Diffstat (limited to 'myrpki.rototill')
-rw-r--r--myrpki.rototill/myrpki.rnc30
1 files changed, 16 insertions, 14 deletions
diff --git a/myrpki.rototill/myrpki.rnc b/myrpki.rototill/myrpki.rnc
index 98dcbbc7..c076369e 100644
--- a/myrpki.rototill/myrpki.rnc
+++ b/myrpki.rototill/myrpki.rnc
@@ -77,12 +77,7 @@ parent_pdu = element parent {
element bpki_child_ta { base64 },
element repository {
((attribute type { "offer" }) |
- (attribute type { "referral" },
- element authorization {
- attribute referrer { pubd_handle },
- base64
- },
- element contact_info { xsd:string }))
+ (attribute type { "referral" }, authorization_elt, contact_info_elt))
}?
}
@@ -102,7 +97,7 @@ repository_pdu |= element repository {
repository_pdu |= element repository {
attribute version { version },
attribute type { "request" },
- attribute handle { pubd_handle },
+ attribute handle { object_handle },
attribute parent_handle { object_handle },
element bpki_ta { base64 },
element contact_info { xsd:string }?,
@@ -115,7 +110,7 @@ repository_pdu |= element repository {
repository_pdu |= element repository {
attribute version { version },
attribute type { "offer" },
- attribute handle { pubd_handle },
+ attribute handle { object_handle },
attribute parent_handle { object_handle },
element bpki_ta { base64 }
}
@@ -123,13 +118,10 @@ repository_pdu |= element repository {
repository_pdu |= element repository {
attribute version { version },
attribute type { "referral" },
- attribute handle { pubd_handle },
+ attribute handle { object_handle },
attribute parent_handle { object_handle },
- element authorization {
- attribute referrer { pubd_handle },
- base64
- },
- element contact_info { xsd:string }?,
+ authorization_elt,
+ contact_info_elt?,
element bpki_ta { base64 }
}
@@ -139,6 +131,16 @@ referral_pdu = element referral {
base64
}
+authorization_elt = element authorization {
+ attribute referrer { pubd_handle },
+ base64
+}
+
+contact_info_elt = element contact_info {
+ attribute uri { uri }?,
+ xsd:string
+}
+
# Local Variables:
# indent-tabs-mode: nil
# End: