fernandodsanjos / BizTalk.PipelineComponents.SecureEnvelope

Nordea Secure Envelope Encoder and Decoder
0 stars 2 forks source link

Nordea no longer supports SHA-1 but prefers SHA-256 #3

Open ronnysallomy opened 9 months ago

ronnysallomy commented 9 months ago

I believe the .net version needs to be updated or this needs to be added to force SHA256:

// Set the signing algorithm to RSA-SHA256. signedXml.SignedInfo.SignatureMethod = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";

// Set the digest method to SHA-256. reference.DigestMethod = "http://www.w3.org/2001/04/xmlenc#sha256";

Please verify this, when I do a local test on sign method for the version today it write SHA256.

fernandodsanjos commented 9 months ago

New version commited using SHA256 instead