# Applying Digital Signatures

/text/shared/guide/digitalsign_send.xhp
signing documents with digital signatures
digital signatures;getting/managing/applying
mw transferred one entry from digital_signatures.xhp and added a new entry
Applying Digital Signatures
MW created this file by splitting shared/guide/digital_signatures.xhp
Getting a Certificate
You can get a certificate from a certification authority, which may be a private company or a governmental institution. Some certification authorities want money for their service, for example when they certify your identity. Other certificates are free of costs, for example those offered by some e-mail providers, which certify your e-mail address. A few of the companies that offer certificates to private persons are listed in the following, in alphabetical order: GlobalSign, Verisign.
Managing your Certificates
If you are using Microsoft Windows, you can manage your certificates from the Control Panel applet "Internet Options" on the "Contents" tab page.
Import your new root certificate into the Trusted Root Certification Authorities list.
If you are using Solaris or Linux, you must install a recent version of Thunderbird, Mozilla Suite, or Firefox software to install some system files that are needed for encryption.how about Mac OS X?
If you have created different profiles in Thunderbird, Mozilla, or Firefox, and you want %PRODUCTNAME to use one specified profile for certificates, then you can set the environment variable MOZILLA_CERTIFICATE_FOLDER to point to the folder of that specified profile.
- Open your Web browser's preferences dialog, select the Privacy & Security tab page, click on Certificates - Manage Certificates.
- Import your new root certificate, then select and edit the certificate. Enable the root certificate to be trusted at least for web and email access. This ensures that the certificate can sign your documents. You may edit any intermediate certificate in the same way, but it is not mandatory for signing documents.
- When you have edited the new certificates, restart %PRODUCTNAME.
Signing a document
- Choose File - Digital Signatures.
- A message box advises you to save the document. Click Yes to save the file.
- After saving, you see the Digital Signatures dialog. Click Add to add a public key to the document.
- In the Select Certificate dialog, select your certificate and click OK.
- You see again the Digital Signatures dialog, where you can add more certificates if you want. Click OK to add the public key to the saved file.
A signed document shows an icon Icon in the status bar. You can double-click the icon in the status bar to view the certificate.
The result of the signature validation is displayed in the status bar and within the Digital Signature dialog. Several documents and macro signatures can exist inside an ODF document. If there is a problem with one signature, then the validation result of that one signature is assumed for all signatures. That is, if there are ten valid signatures and one invalid signature, then the status bar and the status field in the dialog will flag the signature as invalid.
Signing the macros inside a document
Normally, macros are part of a document. If you sign a document, the macros inside the document are signed automatically. If you want to sign only the macros, but not the document, proceed as follows:
- Choose Tools - Macros - Digital Signature.
- Apply the signature as described above for documents.
When you open the Basic IDE that contains signed macros, you see an icon Icon in the status bar. You can double-click the icon in the status bar to view the certificate.
WebDAV see issue 32935
main dialog IDs are here to lead the user initially to this help page
Examine certificate button
Click to open the View Certificate dialog.
Accept this certificate temporarily for this session radio button
Choose this setting to accept the certificate until you exit %PRODUCTNAME.
Do not accept this certificate and do not connect to this Web site radio button
Choose this setting to cancel the connection.
English Wiki page on digital signatures
About digital signatures