diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2022-01-28 17:06:47 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2022-01-28 17:06:47 +0100 |
commit | 7410ac59ba8e1994254a872104ea660b992cba9a (patch) | |
tree | 049814e34b34a6a8688a79db1d97055b51ae4cc3 /misc/uicBarcodeHeader_v2.0.0.asn | |
parent | test for the new dynamic header version 2 (diff) | |
download | UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.tar UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.tar.gz UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.tar.bz2 UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.tar.lz UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.tar.xz UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.tar.zst UIC-barcode-7410ac59ba8e1994254a872104ea660b992cba9a.zip |
Diffstat (limited to 'misc/uicBarcodeHeader_v2.0.0.asn')
-rw-r--r-- | misc/uicBarcodeHeader_v2.0.0.asn | 25 |
1 files changed, 12 insertions, 13 deletions
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
}
|