自学内容网 自学内容网

电能表预付费系统-标准传输规范(STS)(38)

7.3 Security functions

7.3.1 Key attributes and key changes

7.3.1.1 Key change requirements

The payment meter shall comply with the relevant requirements of 6.5.2, 7.3.1.2 and 7.3.1.3.

        支付计价器应符合6.5.2、7.3.1.2、7.3.1.3的相关要求。 

7.3.1.2 Key change processing without key expiry

The following defines the key change processing required if key expiry is not implemented in the payment meter:

        下面定义了在支付计量表中未实现密钥到期时所需的密钥更改处理:
– compare the KT value on the token against the KT value in the payment meter:

-将令牌上的KT值与支付仪表中的KT值进行比较:
• if KT values are equal, change the DecoderKeyRegister content, decoder KRN and payment meter TI to the corresponding new values on the token;

        如果KT值相等,将DecoderKeyRegister内容、解码器KRN和支付仪表TI更改为令牌上相应的新值;
• if KT values are not equal, validate KT rules (see 6.5.2.4):
a) if key change is allowed, change the DecoderKeyRegister content, decoder KRN,
decoder KT and payment meter TI to the corresponding new values on the token;
b) if key change is not allowed, reject the key change operation.

        如果KT值不相等,验证KT规则(见6.5.2.4):
        a)如果允许更改密钥,则更改DecoderKeyRegister内容、解码器KRN、将解码器KT和支付仪表TI转换为令牌上相应的新值;
        b)如果不允许更改密钥,则拒绝更改密钥操作。

7.3.1.3 Key change processing with key expiry密钥过期后的密钥变更处理

The following defines the key change processing required if key expiry is implemented in the
payment meter:
– compare the token KT value against the decoder KT value:
• if KT values are equal, change the DecoderKeyRegister content, decoder KEN,
decoder KRN and payment meter TI to the corresponding token values;
• if KT values are not equal, validate KT rules (see 6.5.2.4):
a) if key change is allowed, change the DecoderKeyRegister content, decoder KEN,
decoder KRN, decoder KT and payment meter TI to the corresponding token
values;
b) if key change is not allowed, reject the key change operation.

如果在中实现密钥到期,则定义所需的密钥更改处理付费表计:

-比较token和解码器的KT值:

  • 如果KT值相等,更改DecoderKeyRegister内容、解码器KEN、将KRN和支付仪表TI解码为相应的令牌值;
  • 如果KT值不相等,验证KT规则(见6.5.2.4):

        a)如果允许更改键,则更改DecoderKeyRegister内容、解码器KEN、解码器KRN,解码器KT和付费仪表TI到相应的令牌值;

        b)如果不允许更改密钥,则拒绝更改密钥操作。

7.3.2 DKR: DecoderKeyRegister

The payment meter shall store the values given in Table 50 in secure non-volatile memory.

        付费表计应将表50中给出的值存储在安全的非易失存储器中。 

In all cases where the payment meter provides configuration information, the KT shall be considered part of the KeyRevisionNumber information. The payment meter shall therefore always provide the KT information together with, or else directly after, the KRN information.

        在付费仪表提供配置信息的所有情况下,KT应被视为KeyRevisionNumber信息的一部分。因此,付费仪表应始终提供KT信息连同KRN信息一起提供,或者在KRN信息之后直接提供。


原文地址:https://blog.csdn.net/huaqianzkh/article/details/143752775

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!