From 7410ac59ba8e1994254a872104ea660b992cba9a Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Fri, 28 Jan 2022 17:06:47 +0100 Subject: new dynamic header version --- misc/uicBarcodeHeader_v2.0.0.asn | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'misc') diff --git a/misc/uicBarcodeHeader_v2.0.0.asn b/misc/uicBarcodeHeader_v2.0.0.asn index 79d104d..e7363b0 100644 --- a/misc/uicBarcodeHeader_v2.0.0.asn +++ b/misc/uicBarcodeHeader_v2.0.0.asn @@ -52,10 +52,7 @@ ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN level2SignedData Level2DataType, -- signature is calculated on the PER unaligned encoding of level2 signature data - level2Signature OCTET STRING OPTIONAL, - ... - - + level2Signature OCTET STRING OPTIONAL } Level2DataType ::= SEQUENCE { @@ -65,8 +62,7 @@ ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN -- signature is calculated on the PER unaligned encoding of level1 signature data level1Signature OCTET STRING OPTIONAL, - level2Data DataType OPTIONAL, - ... + level2Data DataType OPTIONAL } @@ -98,17 +94,21 @@ ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN level2SigningAlg OBJECT IDENTIFIER OPTIONAL, level2PublicKey OCTET STRING OPTIONAL, - -- end of the validity of the bar code, after this date and time the bar code needs to be regenerated + -- end of the validity of the bar code, after this date and time the bar code needs to be regenerated + -- by the provider of the ticket -- if end of validity is provided year day and time must be provided. -- year, day, time are in UTC - -- the provider of the bar code must ensure that the end of validity of the bar code is - -- before the end of validity of the key pair used on level 2 + -- the provider of the bar code should ensure that the endOfValidity given here does not exceed + -- the validity of the key pair used on level 2. endOfValidityYear INTEGER (2016..2269) OPTIONAL, -- number of the day in the year (1.1. = 1) endOfValidityDay INTEGER (1..366) OPTIONAL, -- The number of the minutes of the day - endOfValidityTime INTEGER (0..1439) OPTIONAL, - ... + endOfValidityTime INTEGER (0..1439) OPTIONAL, + + -- validity duration in seconds of the bar code shown with reference to the time stamp dynamicContentTimeStamp + -- in the dynamic data included in the level2Data + validityDuration INTEGER (1..3600) OPTIONAL } DataType ::= SEQUENCE { @@ -118,8 +118,7 @@ ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN -- or proprietary: -- _RICS company code + addon dataFormat IA5String, - data OCTET STRING, - ... + data OCTET STRING } -- cgit v1.2.3