<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for sbeaudoin</title><link href="https://forge.codesys.com/u/sbeaudoin/activity/" rel="alternate"/><id>https://forge.codesys.com/u/sbeaudoin/activity/</id><updated>2023-06-07T15:25:09.745000Z</updated><subtitle>Recent activity for sbeaudoin</subtitle><entry><title>sbeaudoin posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/279d8e3bb6/?limit=25#dee2" rel="alternate"/><published>2023-06-07T15:25:09.745000Z</published><updated>2023-06-07T15:25:09.745000Z</updated><author><name>sbeaudoin</name><uri>https://forge.codesys.com/u/sbeaudoin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/279d8e3bb6/?limit=25#dee2</id><summary type="html">Sorry, I accidentally posted this in Runtime but I think this forum may be more appropriate. I am having trouble verifying a RSA PKCS1.5 SHA256 signature given a message, the signature as a hex string, and a public key as a .pem file. Here is an example of how I am trying to verify a signature using the CmpCrypto library in CODESYS V3.5 SP15: FUNCTION AsymmetricVerifyMessage : BOOL VAR_INTPUT sMessage : REFERENCE TO STRING; szMessage : ULINT; abySignature : REFERENCE TO ARRAY[0..255] OF BYTE; szSignature...</summary></entry><entry><title>sbeaudoin posted a comment on discussion Runtime 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/3451a31771/?limit=25#93aa" rel="alternate"/><published>2023-06-06T17:50:29.178000Z</published><updated>2023-06-06T17:50:29.178000Z</updated><author><name>sbeaudoin</name><uri>https://forge.codesys.com/u/sbeaudoin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/3451a31771/?limit=25#93aa</id><summary type="html">I am having trouble verifying a RSA PKCS1.5 SHA256 signature given a message, the signature as a hex string, and a public key as a .pem file. Here is an example of how I am trying to verify a signature using the CmpCrypto library in CODESYS V3.5.15: FUNCTION AsymmetricVerifyMessage : BOOL VAR_INTPUT sMessage : REFERENCE TO STRING; szMessage : ULINT; abySignature : REFERENCE TO ARRAY[0..255] OF BYTE; szSignature : ULINT; abyPublicKey : REFERENCE TO ARRAY[0..291] OF BYTE; szPublicKey : ULINT; END_VAR...</summary></entry></feed>