简体   繁体   中英

Signing file with detached signature

I'm trying to make detached signature for doc, xml etc. files. I was started at example from Microsoft website ( example ). But even that simple example isn't working for me. Every time I get "Can not recognize the URI...". I was also tryied to set reference to @"file://c://1.xml" etc. but no success.

After a security update in March 2016, external signatures are disabled by default.

You can enable it by setting a registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Security@SignedXmlAllowDetachedSignature=1

See more in MS Knowledge Base

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM