Skip to content

Commit

Permalink
spec: Define the publisher topology structure
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
  • Loading branch information
mcb30 committed Apr 16, 2020
1 parent ed76b14 commit c8b60a8
Show file tree
Hide file tree
Showing 5 changed files with 1,547 additions and 319 deletions.
1 change: 0 additions & 1 deletion spec/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ASN1_FRAGS = cx-generatortype.asn1 \
cx-signaturevalue--signaturevalues.asn1 \
cx-seedreport.asn1 \
cx-publicationversion.asn1 \
cx-publicationaudience.asn1 \
cx-alertlevel.asn1 \
cx-seedvalues.asn1 \
cx-notification.asn1 \
Expand Down
2 changes: 0 additions & 2 deletions spec/cx-publicationaudience.asn1

This file was deleted.

3 changes: 2 additions & 1 deletion spec/cx-tbspublicationdata.asn1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
TBSPublicationData ::= SEQUENCE {
version PublicationVersion,
intendedAudience PublicationAudience,
zone UTF8String,
aggregated BOOLEAN DEFAULT TRUE,
publishedAt GeneralizedTime,
nextUpdateNotBefore GeneralizedTime,
nextUpdateNotAfter GeneralizedTime,
Expand Down
5 changes: 2 additions & 3 deletions spec/cx.asn1
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ SeedReport ::= SEQUENCE {

PublicationVersion ::= INTEGER { v1(1) }

PublicationAudience ::= INTEGER { observer(1), publisher(2) }

AlertLevel ::= INTEGER { no-alert(0), debug-alert(1), expired(2),
unknown-alert(3), symptomatic(4), diagnosed(5) }

Expand All @@ -70,7 +68,8 @@ UpdateURLs ::= SEQUENCE SIZE (0..MAX) OF UpdateURL

TBSPublicationData ::= SEQUENCE {
version PublicationVersion,
intendedAudience PublicationAudience,
zone UTF8String,
aggregated BOOLEAN DEFAULT TRUE,
publishedAt GeneralizedTime,
nextUpdateNotBefore GeneralizedTime,
nextUpdateNotAfter GeneralizedTime,
Expand Down
Loading

0 comments on commit c8b60a8

Please sign in to comment.