Also from the request of General signing generated by gurux i understand that:
1. It follows the general signing APDU structure.
2. first encryption is applied to the plane text then Digital signature is applied
but as per the green book "If both ciphering and digital signature is applied by the same party for the same party, then normally the digital signature is applied first"
also attached the snippet. also how it is decided that which type of APDU is to be used.
Gurux client is working as a Client. There is no Third Party who will sign the messages. The client will do it.
"If both ciphering and digital signature is applied by the same party for the same party, then normally the digital signature is applied first"
You are right about this. Our clients are reading DLMS meters with general signing and those meters are adding digital signature last. I asked this from DLMS UA from this some time ago and I received an answer that NORMALLY the digital signature is applied first.
This is implemented in the same way as our clients have done it.
This makes it possible to remove digital signing and sign the message again without knowing block cipher or authentication keys. This can be used when 3rd party signing is used.
Dear Sir,
Thanks!!!
What inputs are used for signature calculation in general signing?
Means which data used whether it is plain text DLMS APDU or Encrypted APDU with lenght and Authentication tag.
Also i have another client which uses service specific glo ciphering APDU which encapsulating general signing APDU, for reference please go through the snap which confused me that which APDU is correct.
You will sign DLMS APDU. It doesn't matter if it's encrypted or not.
DLMS standard allows both. :-(
Gurux libraries are using the option where the digital signature is coming last at the moment. It might be that support for an option where a digital signature is applied before ciphering is added later.
Also may i know whether gurux
Also may i know whether gurux works as a Client or Third Part or as both and how i set gurux to work as a client and not a third party.
Dear Sir,
Dear Sir,
Sorry for bothering you!!!
Also from the request of General signing generated by gurux i understand that:
1. It follows the general signing APDU structure.
2. first encryption is applied to the plane text then Digital signature is applied
but as per the green book "If both ciphering and digital signature is applied by the same party for the same party, then normally the digital signature is applied first"
also attached the snippet. also how it is decided that which type of APDU is to be used.
BR,
AP
Hi,
Hi,
Gurux client is working as a Client. There is no Third Party who will sign the messages. The client will do it.
"If both ciphering and digital signature is applied by the same party for the same party, then normally the digital signature is applied first"
You are right about this. Our clients are reading DLMS meters with general signing and those meters are adding digital signature last. I asked this from DLMS UA from this some time ago and I received an answer that NORMALLY the digital signature is applied first.
This is implemented in the same way as our clients have done it.
This makes it possible to remove digital signing and sign the message again without knowing block cipher or authentication keys. This can be used when 3rd party signing is used.
BR,
Mikko
Dear Sir,
Dear Sir,
Thanks!!!
What inputs are used for signature calculation in general signing?
Means which data used whether it is plain text DLMS APDU or Encrypted APDU with lenght and Authentication tag.
Also i have another client which uses service specific glo ciphering APDU which encapsulating general signing APDU, for reference please go through the snap which confused me that which APDU is correct.
BR,
AP
BR,
AP
Hi,
Hi,
You will sign DLMS APDU. It doesn't matter if it's encrypted or not.
DLMS standard allows both. :-(
Gurux libraries are using the option where the digital signature is coming last at the moment. It might be that support for an option where a digital signature is applied before ciphering is added later.
BR,
Mikko