{"id":434392,"date":"2024-10-20T07:43:51","date_gmt":"2024-10-20T07:43:51","guid":{"rendered":"https:\/\/pdfstandards.shop\/product\/uncategorized\/bs-en-iec-62055-422022-2023\/"},"modified":"2024-10-26T14:40:21","modified_gmt":"2024-10-26T14:40:21","slug":"bs-en-iec-62055-422022-2023","status":"publish","type":"product","link":"https:\/\/pdfstandards.shop\/product\/publishers\/bsi\/bs-en-iec-62055-422022-2023\/","title":{"rendered":"BS EN IEC 62055-42:2022 2023"},"content":{"rendered":"
IEC 62055-42:2022, specifies a token generation mechanism and token structure for smart prepayment functionality in markets where IEC 62055-41 compliant systems are not used, and where a different security mechanism is required by project-specific or national requirements. This document specifies token structure, authentication and an anti-replay mechanism, token operating model, and protocol. This document is informed by the STS Association key management services, and by the key management mechanisms used within the DLMS\/COSEM security model within IEC 62056\u20116\u20112. Reference is made to the international STS token standards (IEC 62055-41, IEC 62055-51 and IEC 62055-52) for payment metering systems, and interworking has been considered where appropriate in terms of token carrier ranges in the decimal domain. IEC 62055-41 tokens and those described in this document are not interoperable, however their domains are designed to be mutually exclusive to ensure the two kinds of tokens do not interfere with each other. Metering application processing and functionality, HAN interface commands and attributes, WAN interface commands and attributes are outside the scope of this document; however, reference is made to other standards in this regard. The mechanism for auditing and retrieving data from the meter relating to tariffication, meter readings, profile data and other legal metrology information is outside the scope of this document; however, this is defined as part of any overall metering solution. Such interfaces for retrieving data from a meter may be defined using suitable protocols such as DLMS\/COSEM as defined in the IEC 62056 series.<\/p>\n
PDF Pages<\/th>\n | PDF Title<\/th>\n<\/tr>\n | ||||||
---|---|---|---|---|---|---|---|
2<\/td>\n | undefined <\/td>\n<\/tr>\n | ||||||
5<\/td>\n | Annex ZA (normative)Normative references to international publicationswith their corresponding European publications <\/td>\n<\/tr>\n | ||||||
7<\/td>\n | English CONTENTS <\/td>\n<\/tr>\n | ||||||
12<\/td>\n | FOREWORD <\/td>\n<\/tr>\n | ||||||
14<\/td>\n | INTRODUCTION <\/td>\n<\/tr>\n | ||||||
15<\/td>\n | 1 Scope 2 Normative references <\/td>\n<\/tr>\n | ||||||
16<\/td>\n | 3 Terms, definitions, abbreviated terms and notation 3.1 Terms and definitions <\/td>\n<\/tr>\n | ||||||
17<\/td>\n | 3.2 Abbreviated terms <\/td>\n<\/tr>\n | ||||||
18<\/td>\n | 3.3 Notation 4 Numbering conventions in this document 5 Reference smart meter model 5.1 Generic functional reference diagram <\/td>\n<\/tr>\n | ||||||
19<\/td>\n | Figures Figure 1 \u2013 Functional block diagram of a generic payment meter <\/td>\n<\/tr>\n | ||||||
20<\/td>\n | 5.2 Token transfer protocol reference model Figure 2 \u2013 Reference model as a 2-layer collapsed OSI protocol stack <\/td>\n<\/tr>\n | ||||||
21<\/td>\n | 5.3 Dataflow from the POSApplicationProcess to the TokenCarrier 5.4 Dataflow from the TokenCarrier to the MeterApplicationProcess Figure 3 \u2013 Generic model of POSApplicationProcess to TokenCarrier Figure 4 \u2013 Dataflow from the TokenCarrier to the MeterApplicationProcess <\/td>\n<\/tr>\n | ||||||
22<\/td>\n | 5.5 MeterFunctionObjects \/ companion specifications 6 POSToTokenCarrierInterface application layer protocol 6.1 APDU: ApplicationProtocolDataUnit 6.1.1 Data elements in the APDU Tables Table 1 \u2013 Basic and derived elements of APDU and TCDU construction <\/td>\n<\/tr>\n | ||||||
24<\/td>\n | 6.1.2 SupplierID 6.1.3 MeterID 6.1.4 TokenOriginationID 6.1.5 MessageIdentifier <\/td>\n<\/tr>\n | ||||||
25<\/td>\n | Table 2 \u2013 SubClass-wise MessageIdentifier detail and SubClass Functional Class <\/td>\n<\/tr>\n | ||||||
26<\/td>\n | 6.1.6 SequentialTokenNumber (STN) 6.1.7 TruncatedSequentialTokenNumber (TSTN) 6.1.8 Deducing the MS part of STN and validating TSTN <\/td>\n<\/tr>\n | ||||||
27<\/td>\n | Table 3 \u2013 Example of defining LN and UN for each SubClass <\/td>\n<\/tr>\n | ||||||
28<\/td>\n | Table 4 \u2013 Process of validating STN and deducing MS(N) Table 5 \u2013 Last accepted token example(a) Table 6 \u2013 Last accepted token example(b) <\/td>\n<\/tr>\n | ||||||
29<\/td>\n | 6.1.9 FunctionIndex Table 7 \u2013 Last accepted token example(c) Table 8 \u2013 Last accepted token example(d) <\/td>\n<\/tr>\n | ||||||
30<\/td>\n | 6.1.10 Relating the FunctionIndex and STN <\/td>\n<\/tr>\n | ||||||
32<\/td>\n | 6.1.11 SingleTokenPayload 6.1.12 SuperTokenPayload 6.1.13 MessageAuthenticationCode (MAC) and TruncatedMAC (TMAC) <\/td>\n<\/tr>\n | ||||||
33<\/td>\n | Figure 5 \u2013 Generic data elements for AAD payload construction for SingleTokenPayload <\/td>\n<\/tr>\n | ||||||
34<\/td>\n | Figure 6 \u2013 Generic data elements for AAD payload construction for SuperTokenPayload Figure 7 \u2013 InitializationVector (IV) construction <\/td>\n<\/tr>\n | ||||||
35<\/td>\n | 6.1.14 AdditionalAuthenticationData (AAD) 6.1.15 SingleTokenPayload AAD preparation, TMAC derivation and APDU preparation Figure 8 \u2013 GMAC construction <\/td>\n<\/tr>\n | ||||||
36<\/td>\n | 6.1.16 SuperTokenPayload AAD preparation, TMAC derivation and APDU preparation Figure 9 \u2013 Class 5 SubClass 8 TMAC derivation and full APDU preparation example <\/td>\n<\/tr>\n | ||||||
38<\/td>\n | Figure 10 \u2013 Class 5 SubClass 10 TMAC derivation and full APDU preparation example <\/td>\n<\/tr>\n | ||||||
39<\/td>\n | 6.1.17 Offset 6.2 Tokens 6.2.1 Token definition and format Table 9 \u2013 Numeric constants and their purpose <\/td>\n<\/tr>\n | ||||||
40<\/td>\n | 6.2.2 Class 4: RESERVED FOR FUTURE ASSIGNMENT 6.2.3 Class 5 tokens Table 10 \u2013 Token definition and format <\/td>\n<\/tr>\n | ||||||
41<\/td>\n | Table 11 \u2013 Class 5 SubClass assignment <\/td>\n<\/tr>\n | ||||||
42<\/td>\n | Table 12 \u2013SubClass-wise boundaries for Class 5 APDU before encryption Table 13 \u2013 SubClass-wise boundaries for Class 5 tokens, TCDU after encryption (if applicable) and adding offset (without CheckDigit) <\/td>\n<\/tr>\n | ||||||
43<\/td>\n | Table 14 \u2013 Class 5 SubClass boundaries for TCDU (reserved space) <\/td>\n<\/tr>\n | ||||||
44<\/td>\n | 6.2.4 Class 5: Unencrypted tokens Table 15 \u2013 SubClass related FunctionalClass and associated use cases <\/td>\n<\/tr>\n | ||||||
45<\/td>\n | Table 16 \u2013 SubClass 0: TransferCredit token <\/td>\n<\/tr>\n | ||||||
46<\/td>\n | 6.2.5 Class 5: Encrypted tokens Table 17 \u2013 SubClass 8: TransferCredit token Table 18 \u2013 Class 5, SubClass 9: SpecialFunction token <\/td>\n<\/tr>\n | ||||||
47<\/td>\n | Table 19 \u2013 Service types <\/td>\n<\/tr>\n | ||||||
48<\/td>\n | Table 20 \u2013 Block 1 of TransferCredit + Function token <\/td>\n<\/tr>\n | ||||||
49<\/td>\n | Table 21 \u2013 Block 2 to N-1 of N (N > 2) TransferCredit + Function token Table 22 \u2013 Last block TransferCredit + Function token <\/td>\n<\/tr>\n | ||||||
50<\/td>\n | Table 23 \u2013 Block 1 for Class 5 SubClass 11 meter generated token structure Table 24 \u2013 Block 2 for Class 5 SubClass 11 meter generated token structure <\/td>\n<\/tr>\n | ||||||
52<\/td>\n | 6.3 Token data elements 6.4 TCDU generation functions Table 25 \u2013 Token data elements <\/td>\n<\/tr>\n | ||||||
53<\/td>\n | Figure 11 \u2013 TCDU generation for SubClass 0 unencrypted tokens <\/td>\n<\/tr>\n | ||||||
54<\/td>\n | 6.5 Security functions 6.5.1 General requirements 6.5.2 Key management Figure 12 \u2013 TCDU generation for SubClass 8 encrypted tokens <\/td>\n<\/tr>\n | ||||||
55<\/td>\n | 6.5.3 Key deriviation 6.5.4 Encryption process 7 TokenCarriertoMeterInterface application layer protocol 7.1 APDU: ApplicationProtocolDataUnit 7.1.1 Data elements in the APDU 7.1.2 TokenData 7.1.3 AuthenticationResult Table 26 \u2013 Data elements in the APDU <\/td>\n<\/tr>\n | ||||||
56<\/td>\n | 7.1.4 ValidationResult 7.1.5 TokenResult Table 27 \u2013 Possible values for AuthenticationResult Table 28 \u2013 Possible values for ValidationResult <\/td>\n<\/tr>\n | ||||||
57<\/td>\n | 7.2 APDU Extraction processes 7.2.1 APDU Extraction process for Class 5 tokens Table 29 \u2013 Possible values for TokenResult <\/td>\n<\/tr>\n | ||||||
58<\/td>\n | 7.2.2 APDU Extraction process for SubClass 0 unencrypted token 7.2.3 APDU Extraction process for SubClass 8 encrypted token Figure 13 \u2013 APDU extraction process for SubClass 0 tokens <\/td>\n<\/tr>\n | ||||||
59<\/td>\n | 7.3 Security functions 7.3.1 Key attributes and key changes Figure 14 \u2013 APDU extraction process for SubClass 8 tokens <\/td>\n<\/tr>\n | ||||||
60<\/td>\n | 7.3.2 Decryption algorithm 7.3.3 TokenAuthentication 7.3.4 TokenValidation 7.3.5 TokenResult <\/td>\n<\/tr>\n | ||||||
61<\/td>\n | 8 MeterApplicationProcess requirements 8.1 General requirements 8.2 Token acceptance\/rejection <\/td>\n<\/tr>\n | ||||||
62<\/td>\n | 8.3 Display indicators and markings 8.4 TransferCredit tokens 8.5 Engineering\/SpecialFunction tokens <\/td>\n<\/tr>\n | ||||||
63<\/td>\n | 9 KMS: KeyManagementSystem generic requirements 10 Maintenance of unassigned entities <\/td>\n<\/tr>\n | ||||||
64<\/td>\n | Annex A (informative) Verhoeff code implementation example A.1 Sample code <\/td>\n<\/tr>\n | ||||||
66<\/td>\n | Annex B (informative) Example of ExtendedTransferCredit B.1 Class 5: SubClass 10: TransferCredit + Tariff B.1.1 General B.1.2 Block sequence\/SuperTokenBlockToFollow Table B.1 \u2013 Block 1 of TransferCredit + tariff token Table B.2 \u2013 Block 2 of TransferCredit + Tariff token <\/td>\n<\/tr>\n | ||||||
67<\/td>\n | B.1.3 Complete tariff B.1.4 Tariff sub-information B.1.5 Tariff activation month <\/td>\n<\/tr>\n | ||||||
68<\/td>\n | B.1.6 Tariff data B.1.7 Tariff types B.1.8 Tariff sub-information Table B.3 \u2013 Block 3 of TransferCredit + Tariff token Table B.4 \u2013 Block 4 of TransferCredit + Tariff token Table B.5 \u2013 Tariff types <\/td>\n<\/tr>\n | ||||||
69<\/td>\n | B.2 Class 5, SubClass 10, tariff type 0: TransferCredit + slab or time-of-use tariff B.2.1 Class 5, SubClass 10, tariff type 0, sub-type 0: TransferCredit + slab tariff Table B.6 \u2013 Details of tariff sub-information Table B.7 \u2013 Block 2 for class 5, SubClass 10, tariff type 0, sub-type 0 (TransferCredit + slab tariff) <\/td>\n<\/tr>\n | ||||||
70<\/td>\n | B.2.2 Number of slab boundaries B.2.3 Slab scaling B.2.4 Slab field size Table B.8 \u2013 Block 2 for Class 5, SubClass 10, tariff type 0, sub-type 0 (TransferCredit + slab tariff) \u2013 tariff data part <\/td>\n<\/tr>\n | ||||||
71<\/td>\n | B.2.5 Slab value B.2.6 Class 5, SubClass 10, tariff type 0, sub-type 1: TransferCredit + time of use (TOU) tariff B.2.7 Week definition Table B.9 \u2013 Block 3 for class 5, SubClass 10, tariff type 0, sub-type 0 (TransferCredit + slab tariff) Table B.10 \u2013 Block 2 for class 5, SubClass 10, tariff type 0, sub-type 1 (TransferCredit + time of use tariff) <\/td>\n<\/tr>\n | ||||||
72<\/td>\n | B.2.8 Time period definitions <\/td>\n<\/tr>\n | ||||||
73<\/td>\n | B.2.9 Register definitions B.3 Class 5, SubClass 10, tariff type 1: TransferCredit + rate prices or fixed charge price token format B.3.1 Class 5, SubClass 10, tariff type 1: tariff sub-information B.3.2 Class 5, SubClass 10, tariff type 1, sub-type 0: TransferCredit + rate prices Table B.11 \u2013 Block 3 for class 5, SubClass 10, tariff type 0, sub-type 1 (TransferCredit + time of use tariff) Table B.12 \u2013 Block 4 for class 5, SubClass 10, tariff type 0, sub-type 1 (TransferCredit + time of use tariff) <\/td>\n<\/tr>\n | ||||||
74<\/td>\n | B.3.3 Class 5, SubClass 10, tariff type 1: tariff sub-information B.3.4 Number of rate prices Table B.13 \u2013 Block 2 for class 5, SubClass 10, tariff type 1, sub-type 0 (TransferCredit + rate prices) Table B.14 \u2013 Block 2 for class 5, SubClass 10, tariff type 1, sub-type 0 (TransferCredit + rate prices) \u2013 tariff data <\/td>\n<\/tr>\n | ||||||
75<\/td>\n | B.3.5 Rate price multiplier B.3.6 Rate price field size B.3.7 Rate price value Table B.15 \u2013 Block 3 for class 5, SubClass 10, tariff type 1, sub-type 0 (TransferCredit + rate prices) <\/td>\n<\/tr>\n | ||||||
76<\/td>\n | B.3.8 Class 5, SubClass 10, tariff type 1, sub type 1: TransferCredit + fixed charge prices B.3.9 Number of fixed charge prices Table B.16 \u2013 Block 4 for class 5, SubClass 10, tariff type 1, sub-type 0 (TransferCredit + rate prices) Table B.17 \u2013 Block 2 for class 5, SubClass 10, tariff type 1, sub-type 1 (TransferCredit + fixed charge prices) Table B.18 \u2013 Block 2 for class 5, SubClass 10, tariff type 1, sub-type 1 (TransferCredit + fixed charge prices) \u2013 tariff data <\/td>\n<\/tr>\n | ||||||
77<\/td>\n | B.3.10 Fixed charge price multiplier B.3.11 Fixed charge price field size B.3.12 Fixed charge application B.3.13 Fixed charge price value B.4 Class 5, SubClass 10, tariff type 2: TransferCredit + electricity duty (ED) token format B.4.1 Electricity duty (ED) <\/td>\n<\/tr>\n | ||||||
78<\/td>\n | B.4.2 Electricity duty on energy charges B.4.3 Electricity duty on fixed charges B.4.4 Number of electricity duty slabs B.4.5 Electricity duty rate Table B.19 \u2013 Block 2 for class 5, SubClass 10, tariff type 2, sub-type 0 (TransferCredit + electricity duty) Table B.20 \u2013 Block 2 for class 5, SubClass 10, tariff type 2, sub-type 0 (TransferCredit + electricity duty) \u2013 data field <\/td>\n<\/tr>\n | ||||||
79<\/td>\n | B.4.6 Electricity duty slab size Table B.21 \u2013 Electricity duty slab value encoding <\/td>\n<\/tr>\n | ||||||
80<\/td>\n | B.5 SubClass 0 TCDU generation detailed process B.6 SubClass 8 TCDU generation detailed process Figure B.1 \u2013 TCDU generation process for SubClass 0 Table B.22 \u2013 Block 3 for class 5, SubClass 10, tariff type 2, sub-type 0 (TransferCredit + electricity duty) <\/td>\n<\/tr>\n | ||||||
81<\/td>\n | B.7 SubClass 10 TCDU generation detailed process Figure B.2 \u2013 TCDU generation process for SubClass 8 <\/td>\n<\/tr>\n | ||||||
82<\/td>\n | B.8 SubClass 10 APDU extraction detailed process Figure B.3 \u2013 TCDU generation process for SubClass 10 <\/td>\n<\/tr>\n | ||||||
83<\/td>\n | Figure B.4 \u2013 APDU extraction process for SubClass 10 <\/td>\n<\/tr>\n | ||||||
85<\/td>\n | Bibliography <\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":" Electricity metering. Payment systems – Transaction Reference Numbers (TRN)<\/b><\/p>\n |