Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


I believe those APIs are for OOXML packages, not the binary formats.

It could be that they also work on the binary formats (.doc, .xls, ...),
but I would be a little surprised if that were the case.

This has me wonder if digital signatures are even available on the
binary formats (.doc, .xls, ...).  

To confirm that they are (perhaps):

I created a document in Word 2010 and then inserted a "signature line."
This is an inserted block where a recipient is expected to review and 
then "sign" the document.  The signature is then protected as a digital 
signature.

I saved it as a .doc

When I opened it, there is a notice on the top that says "This document
needs to be signed."  The View Signatures button showed me that there
is a requested signature from Dennis E. Hamilton.

I clicked the option to sign it as Dennis E. Hamilton. I typed my name
into the signature line field, and clicked Sign.  This had the document
marked as final too.

Then when I clicked to see signature details, it says valid XAdES-EPES
signature.  Wow, and it shows that I signed with a certificate issued
to orcmid that is valid from 2011-03-03 to 2111-02-07.  Hmm, this is
a self-issued certificate that the operating system gave to me.  

When this .doc is opened in LibreOffice, it is as if I had never 
signed it, and the text I typed in for my signature is also missing
in the signature block.

I could find no way to have a .doc signature that was on the document
the way that LibreOffice signs ODF documents.  It could be that I
didn't know where to look, but the signing in Word seems wildly
different from signing in LibreOffice.

-----Original Message-----
From: draganb [mailto:d_bocevski@yahoo.com] 
Sent: Friday, September 16, 2011 00:18
To: users@global.libreoffice.org
Subject: [libreoffice-users] Re: Digital signing MS format documents

Yes, the available API could be used for signing AND verification. And also,
as I learned today, MS also offers a non .NET set of APIs for C and C++
developers.
"The Windows 7 Packaging feature is a set of COM-based API that provides
support for accessing, modifying, and saving packages by using C and C++." -
(http://msdn.microsoft.com/en-us/library/dd371623.aspx) 

(from:
http://blogs.msdn.com/b/dmahugh/archive/2011/04/19/libopc-version-0-0-1-released.aspx)
Historically, there have been two popular .NET APIs for Open XML
development: System.IO.Packaging (which first appeared in .NET 3.0) and the
Open XML SDK, released in early 2007. There’s also a COM-based native
packaging API available for non-.NET Windows developers.


Aside from this, some enthusiasts began working on a open source component
for working with OPC container named libopc. They also wrote a LibreOffice
extension for working with MS formats as an alternative to the LO native
support for MS formats. It could turn out an interesting project. 
(http://www.youtube.com/watch?v=RzUlEVLnz6U&feature=player_embedded#!)

Dragan



--
View this message in context: 
http://nabble.documentfoundation.org/Digital-signing-MS-format-documents-tp3331970p3341213.html
Sent from the Users mailing list archive at Nabble.com.

-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.