Skip to content

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

@ronnysallomy

Description

@ronnysallomy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions