UaPkiCertificate::signatureAlgorithm() supported algorithms

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
ThomasZ
Sr. Member
Sr. Member
Posts: 12
Joined: 02 Mar 2023, 13:41

UaPkiCertificate::signatureAlgorithm() supported algorithms

Post by ThomasZ »

Hi,
is there a reason that UaPkiCertificate::signatureAlgorithm() does not know the following signature algorithms?

#define NID_ecdsa_with_SHA1 416
#define NID_ecdsa_with_SHA224 793
#define NID_ecdsa_with_SHA256 794
#define NID_ecdsa_with_SHA384 795
#define NID_ecdsa_with_SHA512 796

For me it was a bit unexpected that these return SignatureAlgorithm_Unknown from this function.

Greetings,
Thomas

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: UaPkiCertificate::signatureAlgorithm() supported algorithms

Post by Support Team »

Hi,

the OPC Foundation has defined a fixed set of algorithms that are defined in "Securtiy Profile".
The Security Profiles allows two applications (a Client and a Server) to easily find a matching pair and use as such for establishing connection.

Note: some Security Profiles are already "deprecated" and should not be used anymore (our SDK support those for backward compatibility, but switched OFF by default).
Best regards
Unified Automation Support Team

Post Reply