You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to sign an XML but with an URI = Id whose value is numerical.
But "compute Signature" will not sign and generates an error:
System.Security.Cryptography.CryptographicException: Malformed reference element.
Certificado = New X509Certificate2(_CertArchivo, _CertContrasenia, X509KeyStorageFlags.Exportable)
Dim ReferenceId As String = FindReferenceId(xdTmp)........'Call Function ReferenceID'
refTmp = New Reference With {
.Uri = "#" & ReferenceId
}
refTmp.AddTransform(New XmlDsigEnvelopedSignatureTransform)
Activity