Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems

IEC 62055-41:2018 specifies the application layer protocol of the standard transfer specification (STS) used for transferring units of credit and other management information from a point of sale (POS) system to an STS-compliant payment meter in a one-way token carrier system. It is primarily intended for application with electricity payment meters without a tariff employing energy-based tokens, but may also have application with currency-based token systems and for services other than electricity. It is intended for use by manufacturers of payment meters that have to accept tokens that comply with the STS and also by manufacturers of POS systems that have to produce STS-compliant tokens and is to be read in conjunction with IEC 62055-5x series. This third edition cancels and replaces the second edition of IEC 62055-41, issued in 2014. It constitutes a technical revision. The main technical changes with regard to the previous edition are as follows:
- currency transfer tokens for electricity, water, gas and time metering;
- finer resolution for gas and time credit transfer;
- common code PAN for 2 and 4 digit manufacturer codes;
- reserved MfrCode values for certification and testing purposes;
- provision for DLMS/COSEM as a virtual token carrier type;
- addition of DKGA04, an advanced key derivation function from 160-bit VendingKey;
- withdrawal of DES for EA09 and TDES for DKGA03 cryptographic algorithms, but DES for DKGA02 remains in use;
- addition of MISTY1 cryptographic algorithm using a 128-bit DecoderKey with supporting key change tokens;
- transfer of SGC values to the meter via key change tokens;
- revision of the test/display token requirements;
- revision of the KMS to reflect current best practice;
- revision of the TID roll over management guidelines;
- definition of BaseDate is referenced to Coordinated Universal Time;
- some clarifications and additional examples have been added.

Partie 41: Spécification de transfert normalisé (STS) – Protocole de couche application pour les systèmes de supports de jeton unidirectionnel

IEC 62055-41:2018 spécifie le protocole de couche application de la standard transfer specification (STS) pour transférer des unités de crédit et autres informations de gestion, et ce, d'un système de point de vente (POS) vers un compteur à paiement conforme à la STS dans un système de support de jeton unidirectionnel. Elle est destinée principalement à être appliquée avec les compteurs à paiement d'électricité simple tarif utilisant des jetons basés sur l'énergie. Elle peut également être appliquée aux systèmes de jeton basés sur la monnaie et pour les services autres que l'électricité. Elle est destinée à être utilisée par les constructeurs de compteurs à paiement qui doivent accepter les jetons conformes à la STS et aussi par les constructeurs de systèmes POS qui doivent produire des jetons conformes à la STS. Elle doit être utilisée conjointement avec la série IEC 62055-5x.
Cette troisième édition annule et remplace la deuxième édition de l’IEC 62055-41, parue en 2014. Cette édition constitue une révision technique.
Les modifications techniques majeures par rapport à l'édition précédente sont les suivantes:
• jetons de transfert de monnaies pour le comptage de l’électricité, de l’eau, du gaz et du temps;
• résolution plus affinée du transfert de crédit pour le gaz et la durée;
• code PAN commun pour les codes de constructeur de 2 chiffres et de 4 chiffres;
• valeurs de MfrCode réservées à des fins de certification et d’essai;
• instauration d’une suite DLMS/COSEM comme type de support de jeton virtuel;
• ajout de DKGA04, fonction de dérivation de clé avancée issue de la VendingKey de 160 bits;
• suppression de DES et de TDES pour l’algorithme cryptographique EA09 et DKGA03 respectivement, mais DES pour l’algorithme DKGA02 continue à être utilisé;
• ajout de l’algorithme cryptographique MISTY1 utilisant une DecoderKey (Clé de décodeur) de 128 bits avec jetons de changement de clé de prise en charge;
• transfert des valeurs SGC au compteur par l’intermédiaire des jetons de changement de clé;
• révision des exigences concernant les jetons d’essai/affichage;
• révision du KMS afin de refléter les meilleures pratiques actuelles;
• révision des lignes directrices de gestion du passage à zéro des TID;
• définition de BaseDate référencée par rapport au Temps Universel Coordonné;
• désassociation de l’IIN de la définition de la norme ISO;
• diverses clarifications et améliorations venant à l’appui des éléments ci-dessus.

General Information

Status
Published
Publication Date
27-Mar-2018
Current Stage
PPUB - Publication issued
Start Date
13-Apr-2018
Completion Date
28-Mar-2018
Ref Project

Relations

Buy Standard

Standard
IEC 62055-41:2018 RLV - Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems Released:3/28/2018 Isbn:9782832254998
English language
386 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62055-41:2018 - Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems
English and French language
257 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62055-41 ®
Edition 3.0 2018-03
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
Electricity metering – Payment systems –
Part 41: Standard transfer specification (STS) – Application layer protocol for
one-way token carrier systems
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing 21 000 terms and definitions in
Technical Specifications, Technical Reports and other English and French, with equivalent terms in 16 additional
documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical
iPad. Vocabulary (IEV) online.

IEC publications search - webstore.iec.ch/advsearchform IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a 67 000 electrotechnical terminology entries in English and
variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of
committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been
and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
IEC 62055-41 ®
Edition 3.0 2018-03
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
Electricity metering – Payment systems –

Part 41: Standard transfer specification (STS) – Application layer protocol for

one-way token carrier systems
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 17.220.20; 35.100.70; 91.140.50 ISBN 978-2-8322-5556-8

– 2 – IEC 62055-41:2018 RLV © IEC 2018
CONTENTS
FOREWORD . 9
INTRODUCTION . 2
1 Scope . 15
2 Normative references . 15
3 Terms, definitions, abbreviated terms, notation and terminology . 15
3.1 Terms and definitions . 16
3.2 Abbreviated terms . 18
3.3 Notation and terminology . 18
4 Numbering conventions . 20
5 Reference model for the standard transfer specification . 21
5.1 Generic payment meter functional reference diagram . 21
5.2 STS protocol reference model . 21
5.3 Dataflow from the POSApplicationProcess to the TokenCarrier . 23
5.4 Dataflow from the TokenCarrier to the MeterApplicationProcess . 23
5.5 MeterFunctionObjects / companion specifications . 24
5.6 ISO Transaction reference numbers . 25
6 POSToTokenCarrierInterface application layer protocol . 25
6.1 APDU: ApplicationProtocolDataUnit . 25
6.1.1 Data elements in the APDU . 25
6.1.2 MeterPAN: MeterPrimaryAccountNumber . 27
6.1.3 TCT: TokenCarrierType . 28
6.1.4 DKGA: DecoderKeyGenerationAlgorithm . 29
6.1.5 EA: EncryptionAlgorithm . 29
6.1.6 SGC: SupplyGroupCode . 30
6.1.7 TI: TariffIndex . 31
6.1.8 KRN: KeyRevisionNumber . 31
6.1.9 KT: KeyType . 31
6.1.10 KEN: KeyExpiryNumber . 31
6.1.11 DOE: DateOfExpiry . 31
6.1.12 BDT: BaseDate . 32
6.2 Tokens . 32
6.2.1 Token definition format . 32
6.2.2 Class 0: TransferCredit . 33
6.2.3 Class 1: InitiateMeterTest/Display. 33
6.2.4 Class 2: SetMaximumPowerLimit . 34
6.2.5 Class 2: ClearCredit . 34
6.2.6 Class 2: SetTariffRate . 34
6.2.7 Key change token set for 64-bit DecoderKey transfer . 34
6.2.8 Key change token set for 128-bit DecoderKey transfer . 35
6.2.9 Class 2: ClearTamperCondition . 36
6.2.10 Class 2: SetMaximumPhasePowerUnbalanceLimit . 37
6.2.11 Class 2: SetWaterMeterFactor . 37
6.2.12 Class 2: Reserved for STS use . 37
6.2.13 Class 2: Reserved for Proprietary use . 37
6.2.14 Class 3: Reserved for STS use . 37
6.3 Token data elements. 34

6.3.1 Data elements used in tokens . 38
6.3.2 Class: TokenClass . 39
6.3.3 SubClass: TokenSubClass . 40
6.3.4 RND: RandomNumber . 40
6.3.5 TID: TokenIdentifier . 41
6.3.6 Amount: TransferAmount . 43
6.3.7 CRC: CyclicRedundancCodeCheck . 46
6.3.8 Control: InitiateMeterTest/DisplayControlField . 46
6.3.9 MPL: MaximumPowerLimit . 47
6.3.10 MPPUL: MaximumPhasePowerUnbalanceLimit . 48
6.3.11 Rate: TariffRate . 48
6.3.12 WMFactor: WaterMeterFactor . 48
6.3.13 Register: RegisterToClear . 48
6.3.14 NKHO: NewKeyHighOrder . 48
6.3.15 NKLO: NewKeyLowOrder . 48
6.3.16 NKMO1: NewKeyMiddleOrder1 . 48
6.3.17 NKMO2: NewKeyMiddleOrder2 . 48
6.3.18 KENHO: KeyExpiryNumberHighOrder . 49
6.3.19 KENLO: KeyExpiryNumberLowOrder . 49
6.3.20 RO: RolloverKeyChange . 49
6.3.21 S&E: SignAndExponent . 49
6.3.22 CRC_C: CyclicRedundancyCheck_C . 49
6.4 TCDUGeneration functions . 49
6.4.1 Definition of the TCDU . 49
6.4.2 Transposition of the Class bits . 49
6.4.3 TCDUGeneration function for Class 0,1 and 2 tokens . 50
6.4.4 TCDUGeneration function for Set1stSectionDecoderKey key change
tokens . 52
6.4.5 TCDUGeneration function for Set2ndSectionDecoderKey token . 54
6.5 Security functions . 54
6.5.1 General requirements . 55
6.5.2 Key attributes and key changes . 55
6.5.3 DecoderKey generation . 64
6.5.4 STA: EncryptionAlgorithm07 . 69
6.5.5 DEA: EncryptionAlgorithm09 . 75
6.5.6 MISTY1: EncryptionAlgorithm11 . 75
7 TokenCarriertoMeterInterface application layer protocol . 75
7.1 APDU: ApplicationProtocolDataUnit . 77
7.1.1 Data elements in the APDU . 77
7.1.2 Token . 78
7.1.3 AuthenticationResult . 78
7.1.4 ValidationResult . 78
7.1.5 TokenResult . 79
7.2 APDUExtraction functions . 80
7.2.1 Extraction process . 80
7.2.2 Extraction of the 2 Class bits . 80
7.2.3 APDUExtraction function for Class 0 and Class 2 tokens . 81
7.2.4 APDUExtraction function for Class 1 tokens . 82

– 4 – IEC 62055-41:2018 RLV © IEC 2018
7.2.5 APDUExtraction function for Set1stSectionDecoderKey and
Set2ndSectionDecoderKey key change tokens set . 82
7.3 Security functions . 83
7.3.1 Key attributes and key changes .
...


IEC 62055-41 ®
Edition 3.0 2018-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Electricity metering – Payment systems –
Part 41: Standard transfer specification (STS) – Application layer protocol for
one-way token carrier systems
Comptage de l'électricité – Systèmes de paiement –
Partie 41: Spécification de transfert normalisé (STS) – Protocole de couche
application pour les systèmes de supports de jeton unidirectionnel

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing 21 000 terms and definitions in
Technical Specifications, Technical Reports and other English and French, with equivalent terms in 16 additional
documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical
iPad. Vocabulary (IEV) online.

IEC publications search - webstore.iec.ch/advsearchform IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a 67 000 electrotechnical terminology entries in English and
variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of
committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been
and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient 21 000 termes et définitions en anglais
Spécifications techniques, Rapports techniques et autres
et en français, ainsi que les termes équivalents dans 16
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.

Recherche de publications IEC -
Glossaire IEC - std.iec.ch/glossary
webstore.iec.ch/advsearchform
67 000 entrées terminologiques électrotechniques, en anglais
La recherche avancée permet de trouver des publications IEC et en français, extraites des articles Termes et Définitions des
en utilisant différents critères (numéro de référence, texte, publications IEC parues depuis 2002. Plus certaines entrées
comité d’études,…). Elle donne aussi des informations sur les antérieures extraites des publications des CE 37, 77, 86 et
projets et les publications remplacées ou retirées. CISPR de l'IEC.

IEC Just Published - webstore.iec.ch/justpublished Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just Si vous désirez nous donner des commentaires sur cette
Published détaille les nouvelles publications parues. publication ou si vous avez des questions contactez-nous:
Disponible en ligne et aussi une fois par mois par email. sales@iec.ch.

IEC 62055-41 ®
Edition 3.0 2018-03
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Electricity metering – Payment systems –

Part 41: Standard transfer specification (STS) – Application layer protocol for

one-way token carrier systems
Comptage de l'électricité – Systèmes de paiement –

Partie 41: Spécification de transfert normalisé (STS) – Protocole de couche

application pour les systèmes de supports de jeton unidirectionnel

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 17.220.20; 35.100.70; 91.140.50 ISBN 978-2-8322-5499-8

– 2 – IEC 62055-41:2018 © IEC 2018
CONTENTS
FOREWORD . 9
INTRODUCTION . 11
1 Scope . 14
2 Normative references . 14
3 Terms, definitions, abbreviated terms, notation and terminology . 15
3.1 Terms and definitions . 15
3.2 Abbreviated terms . 17
3.3 Notation and terminology . 19
4 Numbering conventions . 19
5 Reference model for the standard transfer specification . 20
5.1 Generic payment meter functional reference diagram . 20
5.2 STS protocol reference model . 21
5.3 Dataflow from the POSApplicationProcess to the TokenCarrier . 22
5.4 Dataflow from the TokenCarrier to the MeterApplicationProcess . 22
5.5 MeterFunctionObjects / companion specifications . 24
5.6 Transaction reference numbers . 24
6 POSToTokenCarrierInterface application layer protocol . 24
6.1 APDU: ApplicationProtocolDataUnit . 24
6.1.1 Data elements in the APDU . 24
6.1.2 MeterPAN: MeterPrimaryAccountNumber . 26
6.1.3 TCT: TokenCarrierType . 27
6.1.4 DKGA: DecoderKeyGenerationAlgorithm . 28
6.1.5 EA: EncryptionAlgorithm . 28
6.1.6 SGC: SupplyGroupCode . 28
6.1.7 TI: TariffIndex . 29
6.1.8 KRN: KeyRevisionNumber . 29
6.1.9 KT: KeyType . 29
6.1.10 KEN: KeyExpiryNumber . 30
6.1.11 DOE: DateOfExpiry . 30
6.1.12 BDT: BaseDate . 30
6.2 Tokens . 31
6.2.1 Token definition format . 31
6.2.2 Class 0: TransferCredit . 31
6.2.3 Class 1: InitiateMeterTest/Display. 32
6.2.4 Class 2: SetMaximumPowerLimit . 32
6.2.5 Class 2: ClearCredit . 32
6.2.6 Class 2: SetTariffRate . 32
6.2.7 Key change token set for 64-bit DecoderKey transfer . 33
6.2.8 Key change token set for 128-bit DecoderKey transfer . 34
6.2.9 Class 2: ClearTamperCondition . 35
6.2.10 Class 2: SetMaximumPhasePowerUnbalanceLimit . 35
6.2.11 Class 2: SetWaterMeterFactor . 35
6.2.12 Class 2: Reserved for STS use . 35
6.2.13 Class 2: Reserved for Proprietary use . 36
6.2.14 Class 3: Reserved for STS use . 36
6.3 Token data elements. 36

6.3.1 Data elements used in tokens . 36
6.3.2 Class: TokenClass . 37
6.3.3 SubClass: TokenSubClass . 38
6.3.4 RND: RandomNumber . 38
6.3.5 TID: TokenIdentifier . 39
6.3.6 Amount: TransferAmount . 40
6.3.7 CRC: CyclicRedundancyCheck . 44
6.3.8 Control: InitiateMeterTest/DisplayControlField . 45
6.3.9 MPL: MaximumPowerLimit . 46
6.3.10 MPPUL: MaximumPhasePowerUnbalanceLimit . 46
6.3.11 Rate: TariffRate . 46
6.3.12 WMFactor: WaterMeterFactor . 46
6.3.13 Register: RegisterToClear . 46
6.3.14 NKHO: NewKeyHighOrder . 46
6.3.15 NKLO: NewKeyLowOrder . 46
6.3.16 NKMO1: NewKeyMiddleOrder1 . 46
6.3.17 NKMO2: NewKeyMiddleOrder2 . 47
6.3.18 KENHO: KeyExpiryNumberHighOrder . 47
6.3.19 KENLO: KeyExpiryNumberLowOrder . 47
6.3.20 RO: RolloverKeyChange . 47
6.3.21 S&E: SignAndExponent . 47
6.3.22 CRC_C: CyclicRedundancyCheck_C . 47
6.4 TCDUGeneration functions .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.