I'm trying to sign a message in Outlook using SecureMail and RSAPSS.
I set the command like this:
Dim Parametros As New Rebex.Mail.MailSignatureParameters
Parametros.Silent = False
Parametros.PaddingScheme = MailSignaturePaddingScheme.Pss
Parametros.SaltLength = 8
Parametros.HashAlgorithm = MailHashingAlgorithm.SHA256
My Certificate is accessible in Windows Store but it requires just a Permission-Confirmation (not a password). It is loaded in SIGNER normally, without any error:
Dim Signer As Rebex.Security.Certificates.Certificate = Certificado(0)
(Certificado(0) is where my Certificate was loaded)
When trying to sign using:
I receive the error:
Unable to export private key in order to use a more capable algorithm. Err 0x80131430
Does anyone can help me to understand what is happening?