Join
Sign in
Search Options
Search Everything
Search Formats
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Formats
»
WordprocessingML
»
Signing with SHA2
Signing with SHA2
Formats
Discussions about working with different Open XML Formats
Get this RSS feed
Details
4
Replies
1
Subscriber
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
WordprocessingML
Signing with SHA2
rated by 0 users
This post has
4 Replies |
1
Follower
alexrait1
75
Posted by
alexrait1
on
Mon, Jul 12 2010 11:40 AM
rated by 0 users
Post Points: 35
Signing with SHA2
Hello,
Is it possible to sign a document with SHA2 (instead sha1 which is the default?)
Is it possible to use pkcs11 instead of CSP? i.e to place an external signature?
aCoder
,
Darina
Intergen
2610
Posted by
Intergen
on
Thu, Jul 15 2010 5:02 PM
rated by 0 users
Post Points: 20
Re: Signing with SHA2
Hi
I would take a look at this blog which details thorough sample code of hashing using Open XML SDK v2.0:
http://blogs.msdn.com/b/vsod/archive/2010/04/05/how-to-set-the-editing-restrictions-in-word-using-open-xml-sdk-2-0.aspx
I'm not sure if SHA2 is supported - but I can't see why you couldn't simply use SHA256Managed instead of the blog's suggested SHA1Managed.
alexrait1
75
Posted by
alexrait1
on
Tue, Aug 3 2010 9:19 AM
rated by 0 users
Post Points: 5
Re: Signing with SHA2
The reason is because Ms Word 2007 does not know how to validate SHA2, if you look at the list of predefined hash algorithms that appear in openXML SDK, then you will see that that it is not there
aCoder
,
Darina
accurate1234
20
Posted by
accurate1234
on
Thu, Aug 19 2010 8:25 AM
rated by 0 users
Post Points: 20
Re: Signing with SHA2
Yeah i think it is possible to use pkcs11 instead of CSP?
orange county pests control
,
termite control, pest control
,
pest control irvine
,
Exterminators
,
orange county
alexrait1
75
Posted by
alexrait1
on
Tue, Sep 28 2010 5:25 AM
rated by 0 users
Post Points: 5
Re: Signing with SHA2
You can use pkcs11 if you really want to..
However OpenXML SDK won't let you do this, so you should do it directly instead.
Does Office 2010 support SHA2? When signing on a document from the Word/Excel application by adding a signature line, one can not choose a digest algorithm...
aCoder
,
Darina
Page 1 of 1 (5 items)