Sheldon Reddy
Member
Members
Forum Posts: 3
Member Since:
04/20/2017
04/20/2017
Offline
Hi,
I have skimmed through the .NET sample applications and found that in the session.cs file, the clientSignature is achieved as follows:
// create the client signature.
byte[] dataToSign = Utils.Append(endpoint.ServerCertificate, m_serverNonce);
SignatureData clientSignature = SecurityPolicies.Sign(m_instanceCertificate, endpoint.SecurityPolicyUri, dataToSign);
I wish to perform the same using the AnsiC stack but can't seem to find a function to assist me with line2 above.
Has anyone performed this before?
The OPC UA Specification Part4 PAge 50 shows the ActivateSession() function requires a clientSignature in order to activate the session.
Please advise, been stuck with this for a while now.
Thanks
Sheldon
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 48
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855