Basic question about the detection of the encrypted payload's size of an UADP NetworkMessage in OPC UA specifcation 14|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Basic question about the detection of the encrypted payload's size of an UADP NetworkMessage in OPC UA specifcation 14
Avatar
qua
Member
Members
Forum Posts: 4
Member Since:
10/15/2020
sp_UserOfflineSmall Offline
1
08/31/2021 - 10:37
sp_Permalink sp_Print

Dear all, I have a quite basic question. In specification 14, as I understand: the size of a DataSet Message and the DataSet Message itself are parts of the payload (figure 29 in specification 14). We then can use this information to detect the size of the whole payload. However, the payload is the data to be encrypted (figure 27 in specification 14), so I cannot find a way to calculate the size of the payload after the encryption (encrypted payload). More detail, a subscriber after receiving the UADP Network Message cannot detect the size of the encrypted payload so that it cannot decrypt it? I mean, which information in which field of the UADP Network Message can specify the size of the encrypted payload? Thank you for your answer.

 

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/31/2021 - 21:03
sp_Permalink sp_Print

The signature length is specified by the security policy and appended to the end of the packet. Subscribers strip off the signature to validate it. The leftover data is the block of encrypted payload.

Avatar
Zbynek Zahradnik
Member
Members
Forum Posts: 62
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
3
08/31/2021 - 22:38
sp_Permalink
Awaiting Moderation

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 29
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855