Returning Invalid Algorithm Specified error, when will it be signed, how to proceed?
Dim data = Encoding.UTF8.GetBytes(Me.txtCNPJEmpresa.Text + Me.txtCNPJSoftwareHouse.Text)
Dim csp As RSACryptoServiceProvider = DirectCast(Certificado.PrivateKey, RSACryptoServiceProvider)
Dim sha As SHA256 = SHA256Managed.Create()
Dim hash As Byte() = New Byte() {}
hash = sha.ComputeHash(data)
Dim encrypted As Byte() = csp.SignHash(hash, "SHA256")