SlideShare a Scribd company logo
Digital Signatures 
How it’s done in PDF
iText, an open source PDF library 
Java 
C#
Shareholders: 
-Ingeborg Willaert (50%) 
-Bruno Lowagie (50%) 
iText Group NV 
°2008 Belgium 
IP, TM, Development 
Marketing 
iText Software BVBA 
°2011 Belgium 
Sales EMEA/Asia 
iText Software Corp. 
°2009 USA (CA/MA) 
Sales Americas/Oceania 
Board of Directors: 
-Peter Camps (chairman) 
-Ingeborg Willaert 
-Bruno Lowagie 
Advisory Board: 
-Andrew Binstock 
-Mark de Visser 
-Bernard Slede 
iTextGroup 
Benelux: 10th place 
Belgium: 3rd place
Agenda 
•Why do we need digital signatures? 
•Basic concepts… 
•… applied to PDF 
•Architectures: server-side vs. client-side 
•Digital signatures and document workflow 
•Long term validation
Introduction 
Why do we need digital signatures?
Integrity 
I paid a forged invoice 
and lost 30K€!
Authenticity 
Why am I, Emperor Constantine I, in this picture? I never transferred authority to the Pope!
Non-repudiation 
I didn’t do it!
Three goals 
•Integrity —we want assurance that the document hasn’t been changed somewhere in the workflow 
•Authenticity —we want assurance that the author of the document is who we think it is (and not somebody else) 
•Non-repudiation —we want assurance that the author can’t deny his authorship.
Part 1 
Basic concepts…
Concept 1: Hashing 
•Hashing algorithm: 
•a cryptographic hash function to turn an arbitrary block of data into a fixed-size bit string. 
•Available algorithms: 
•MD5: Ron Rivest 
•SHA: 
•SHA-1: NSA (Being phased out!) 
•SHA-2: NSA / NIST 
•NEW: SHA-3 contest winner “Keccak” 
•RIPEMD: KULeuven
Concept 1: Integrity check using hash 
Document 
Generate Hash 
AF1B4C...D34E 
Secure Server / Website 
Retrieve Hash 
AF1B4C...D34E 
Compare!
Concept 2: encryption 
•Assymetric key algorithms 
•Encryption 
•Digital signing
Some name dropping 
•Public Key Cryptography Standards 
•PKCS#1: RSA Cryptography Standard (Rivest, Shamir, Adleman) 
•PKCS#7: Cryptographic Message Standard (CMS) 
•PKCS#11: Cryptographic Token Interface 
•PKCS#12: PersonalInformation Exchange SyntaxStandard 
•PKCS#13: Elliptic Curve Cryptography Standard (ECDSA) 
•Federal Information Processing Standards (FIPS) 
•DSA: Digital Signature Algorithm (DSA) 
•European Telecommunications Standards Institute (ETSI) 
•CMS Advanced Electronic Signatures (CAdES)
Concept 1 + Concept 2 
•Producer 
•Provides data as-is 
•Provides hash encrypted using private key 
•Provides public key 
•Consumer 
•Creates hash from data: hash1 
•Decrypts hash using public key: hash2 
•If (hash1== hash2) document OK!
Goals met? 
•Integrity: 
•hashes are identical 
•Authenticity: 
•identity found along with public key 
•Non-repudiation: 
•if hash can be decrypted with public key, the document was signed with the corresponding private key
Differences between EU and US 
•In the US, we make a distinction: 
•Electronic signatures don’t necessarily involve PKI 
•Digital signatures when a PKI infrastructure is involved 
•In Europe, we speak of electronic signatures 
•As a synonymfor digital signatures 
•All laws and regulations take this wording 
•There’s no sharp distinction between electronic and digital signatures (which leads to confusion) 
•I always speak of digital signatures
Part 2 
… applied to PDF
Standards 
•ISO 
•ISO-32000-1 (2008) based on PDF 1.7 (2006) 
•ISO-32000-2 will define PDF 2.0 (2016) 
•ETSI: TS 102 778 (2009 -2010) 
•PAdES1: Overview 
•PAdES2: Basic –CMS based (ISO-32000-1) 
•PAdES3: Enhanced –CAdESbased (ISO-32000-2) 
•PAdES4: LTV –Long Term Validation 
•PAdES5: XAdESbased (XML content) 
•PAdES6: Visual representation guidelines 
•ETSI: TS 103 172 (2011 -2013) 
•PAdESBaseline Profile
Signatures in PDF 
•There are no bytes in the PDF that aren’t covered, other than the PDF signature itself. (*) 
•The digital signature isn’t part of the ByteRange. 
•The concept “to initial a document” doesn’t exist; you sign the complete document at once, not on a page per page basis. (*)
Some PDF terminology 
•Signature field: 
•Visualisation (onewidget annotation) 
•Extra info about signature (Lock, SV) 
•/V refers to the signature dictionary 
•Signing: 
•Creating an /APfor the widget annotation 
•Creating a signature dictionary for /V
What’s inside the signature? 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificatechain 
•Revocation information 
•Timestamp 
ISO-32000-2: 
At minimum the PKCS#7 object shall include the signer’s X.509 signing certificate. This certificate shall be used to verify the signature value in /Contents. 
Best practices (“should” also have): 
•Full certificate chain 
•Revocation information (CRL / OCSP) 
•Timestamp
Part 3 
Architectures: 
Server-side vs. client-side signing
Server-side signing 
<</Type/Sig/ 
/Contents < 
%PDF-1.x 
... 
... 
%%EOF 
>>> 
Signed Message Digest 
Application 
Device 
SERVER
Use cases server-side signing 
•Company signature 
•Invoices 
•Contracts 
•… 
•Signing services in the Cloud 
•Docusign 
•Echosign 
•… 
•Security management responsibilities!
Client-side signing 
<</Type/Sig/ 
/Contents < 
%PDF-1.x 
... 
... 
%%EOF 
>>> 
Signed Message Digest 
Application 
Device 
CLIENT
Use cases client-side signing 
•Desktop applications 
•Adobe Acrobat Pro 
•Adobe Reader (only for Reader-enabled documents) 
•Home made, e.g. using iText 
•In a web context 
•The PDF software runs on the client, e.g. using Java Web Start 
•Access to the token or smart card through 
•MSCAPI 
•PKCS#11 
•Custom smart card library 
•Security 
•User has smart card and PIN or USB token and passphrase
Deferred signing 
Signed Message Digest 
App 
Device 
CLIENT 
<</Type/Sig/ 
/Contents < 
%PDF-1.x 
... 
... 
%%EOF 
>>> 
Application 
SERVER
Use cases deferred signing 
•Signing on an iPad / Tablet 
•App on the device has low footprint 
•Easy to link to integrate into a document management system 
•Disadvantage 
•You need to trust the server that the hash you receive is actually the hash of the document you want to sign 
•Common Criteria 
•a framework in which computer system users can specifytheir security functionaland assurancerequirements (SFRs and SARs respectively) through the use of Protection Profiles (PPs), vendors can then implementand/or make claims about the security attributes of their products, and testing laboratories can evaluatethe products to determine if they actually meet the claims.
Part 4 
Digital signatures 
and document workflow
Digital signatures: types 
•Certification (aka author) signature 
•only possible for the first revision (*) 
•involves modification detection permissions: 
•No changes allowed 
•Form filling and signing allowed 
•Form filling, signing and commenting allowed 
•Approval (aka recipient) signature 
•workflow with subsequent signers 
•New in PDF 2.0: modification detection permissions 
•Usage Rights signature 
•involving Adobe’s private key to Reader enable a PDF
Other possible icons 
•Signer’s identity is unknown 
•Document has been altered or corrupted
Serial signatures 
%PDF-1.x 
%Originaldocument 
% Additional content 1 
... 
... 
%%EOF 
DIGITAL SIGNATURE 1 
... 
%%EOF 
DIGITAL SIGNATURE 2 
% Additional content 2 
... 
... 
%%EOF 
DIGITAL SIGNATURE 3 
Rev1 
Rev2 
Rev3 
A PDF document can be signed more than once, but parallel signatures aren’t supported, only serial signatures: additional signatures sign all previous signatures.
Certified by Alice
Read and approved by Bob
Signed by Bob
Bob’s signature invalidated by Chuck
Read, approved and signed by Carol
Read, approved, and signed by Dave
Signature and lock broken by Chuck
Part 5 
Long-term validation
Certificates expire 
Expiration date 
2012 
2013 
2014
Certificates get revoked 
Expiration date 
Revocation date 
2012 
2013 
2014
How to survive revocation / expiration? 
2012 
2013 
2014 
Expiration date 
Revocation date
Timestamps
What to do when: 
•There’s no CRL/OCSP/TS in the document? 
•The certificate is about to expire in one of your documents? 
•The hashing / encryption algorithm is about to be deprecated?
Document Security Store 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificate 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DSS for DIGITAL SIGNATURE 
•VRI, Certs, OCSPs, CRLs 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificate
Document-level timestamp 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DSS for DIGITAL SIGNATURE 
•VRI, Certs, OCSPs, CRLs 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DSS for DIGITAL SIGNATURE 
•VRI, Certs, OCSPs, CRLs 
DOCUMENT TIMESTAMP TS1 
ETSI.RFC3161 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificate 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificate
Repeat as soon as needed 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DSS for DIGITAL SIGNATURE 
•VRI, Certs, OCSPs, CRLs 
DOCUMENT TIMESTAMP TS1 
%PDF-1.x 
... 
/ByteRange ... 
/Contents< 
>... 
%%EOF 
DSS for DIGITAL SIGNATURE 
•VRI, Certs, OCSPs, CRLs 
DOCUMENT TIMESTAMP TS1 
DSS for TS1 
DOCUMENT TIMESTAMP TS2 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificate 
DIGITAL SIGNATURE 
•Signed Message Digest 
•Certificate
Q & A 
EMEAKerkstraat 1089050 GentbruggeBELGIUME: sales.isb@itextpdf.com 
T: +32 92 98 02 31F: +32 92 70 33 75 
Americas, Oceania1 Broadway, 14th floorCambridge, MA 02142USA 
E: sales.isc@itextpdf.comT: +1 617 982 2646 
F: +1 617 982 2647 
iText HQAdolf Baeyensstraat 1219040 Sint-AmandsbergBELGIUM 
Asia71 Ayer Rajah Crescent #05-04139951SINGAPOREE: sales.isa@itextpdf,com 
T: tel: +65 31 58 39 47 
http://itextpdf.com

More Related Content

PDF
Kinh nghiệm triển khai Microservices tại Sapo.vn
PDF
Simple callcenter platform with PHP
PDF
PPT
Microsoft Unified Communications - Overview Presentation
PPTX
Tổng quan ASP.NET CORE - NIVIKI.COM
PPTX
Support vector machines
DOC
Diophantine equations Phương trình diophant
PPTX
Distributed Transaction in Microservice
Kinh nghiệm triển khai Microservices tại Sapo.vn
Simple callcenter platform with PHP
Microsoft Unified Communications - Overview Presentation
Tổng quan ASP.NET CORE - NIVIKI.COM
Support vector machines
Diophantine equations Phương trình diophant
Distributed Transaction in Microservice

What's hot (13)

DOC
Tu dien-vuong-tinh-chat
PDF
10 chuyên đề hình học tổ hợp
PDF
Ket tap, ke thua
PPT
Chuong 05 de quy
PPTX
API Testing & SoapUI
PDF
Api fundamentals
PDF
Do an xay_dung_website_thuong_mai_dien_tu
PDF
Bizweb Microservices Architecture
PDF
Giải tích Hàm.pdf
PDF
WSO2 ESB Introduction to Inbound Endpoints
PDF
[Đồ án môn học] - Đề tài: Tìm hiểu Git và Github
PDF
Grokking Techtalk #39: How to build an event driven architecture with Kafka ...
Tu dien-vuong-tinh-chat
10 chuyên đề hình học tổ hợp
Ket tap, ke thua
Chuong 05 de quy
API Testing & SoapUI
Api fundamentals
Do an xay_dung_website_thuong_mai_dien_tu
Bizweb Microservices Architecture
Giải tích Hàm.pdf
WSO2 ESB Introduction to Inbound Endpoints
[Đồ án môn học] - Đề tài: Tìm hiểu Git và Github
Grokking Techtalk #39: How to build an event driven architecture with Kafka ...
Ad

Viewers also liked (13)

PPTX
Digital Signatures: how it's done in PDF
PPTX
PDF made easy with iText 7
PDF
PAdES signatures in iText and the road ahead
PDF
The importance of standards
PDF
iText Summit 2014: Keynote talk
PPTX
Intellectual property and licensing
PPTX
Oops, I broke my API
PPTX
FIT Seminar Singapore presentation
PPTX
Monetizing open-source projects
PPTX
ZUGFeRD: an overview
PPTX
Tech Startup Day 2015: 4 failures and 1 hit
PPTX
Présentation de mon PFE
PPT
présentation soutenance PFE.ppt
Digital Signatures: how it's done in PDF
PDF made easy with iText 7
PAdES signatures in iText and the road ahead
The importance of standards
iText Summit 2014: Keynote talk
Intellectual property and licensing
Oops, I broke my API
FIT Seminar Singapore presentation
Monetizing open-source projects
ZUGFeRD: an overview
Tech Startup Day 2015: 4 failures and 1 hit
Présentation de mon PFE
présentation soutenance PFE.ppt
Ad

Similar to Digital Signatures: how it's done in PDF (20)

PPTX
What's new in PDF 2.0 regarding digital signatures
PPTX
ETDA Conference - Digital signatures: how it's done in PDF
PPTX
Digital Signatures in PDF: how it's done
PPTX
PDF Digital signatures
PPTX
the PDF Signing Slide slide howto guidance
PPT
Adobe PDF and LiveCycle ES Security
PPTX
Information Security (Digital Signatures)
PDF
Utilizing PKI to Reduce Risk & Cost
PPT
Digital Signature.ppt power ponit presentation
PPTX
Digital-Signatures.pptx POWERPOINT PRESENTATION FOR class
PDF
The Ultimate Guide to Digital Signatures
PDF
The ultimate guide to digital signatures
PPTX
Digital signatur
PPTX
Digital signatures - Bluebeam eXtreme Conference 2014
PPTX
Digital Signatures
PPTX
Digital signature & PKI Infrastructure
PPTX
Digital Signatures
PPT
Digital signature
PDF
CoverSpace : Certificate authority for internal use plus e tax and e-policy01
PPTX
Digital Signature
What's new in PDF 2.0 regarding digital signatures
ETDA Conference - Digital signatures: how it's done in PDF
Digital Signatures in PDF: how it's done
PDF Digital signatures
the PDF Signing Slide slide howto guidance
Adobe PDF and LiveCycle ES Security
Information Security (Digital Signatures)
Utilizing PKI to Reduce Risk & Cost
Digital Signature.ppt power ponit presentation
Digital-Signatures.pptx POWERPOINT PRESENTATION FOR class
The Ultimate Guide to Digital Signatures
The ultimate guide to digital signatures
Digital signatur
Digital signatures - Bluebeam eXtreme Conference 2014
Digital Signatures
Digital signature & PKI Infrastructure
Digital Signatures
Digital signature
CoverSpace : Certificate authority for internal use plus e tax and e-policy01
Digital Signature

More from iText Group nv (12)

PPTX
The effects of the GDPR
PPTX
Build your own_photobooth
PPTX
Start-ups: the tortoise and the hare
PDF
IANAL: what developers should know about IP and Legal
PDF
Digital Signatures in the Cloud: A B2C Case Study
PDF
PDF is dead. Long live PDF... with Java!
PDF
iText Summit 2014: Talk: iText throughout the document life cycle
PDF
iText Summit 2014: Talk: eGriffie and JustX, introducing digital documents at...
PDF
The XML Forms Architecture
PDF
Damn, the new generation kids are getting iPads in Highschool!
PDF
Best practices in Certifying and Signing PDFs
PDF
Choosing the iText Solution that is right for you: Community or Commercial ed...
The effects of the GDPR
Build your own_photobooth
Start-ups: the tortoise and the hare
IANAL: what developers should know about IP and Legal
Digital Signatures in the Cloud: A B2C Case Study
PDF is dead. Long live PDF... with Java!
iText Summit 2014: Talk: iText throughout the document life cycle
iText Summit 2014: Talk: eGriffie and JustX, introducing digital documents at...
The XML Forms Architecture
Damn, the new generation kids are getting iPads in Highschool!
Best practices in Certifying and Signing PDFs
Choosing the iText Solution that is right for you: Community or Commercial ed...

Recently uploaded (20)

PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
project resource management chapter-09.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
A Presentation on Touch Screen Technology
PDF
Encapsulation theory and applications.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
A comparative study of natural language inference in Swahili using monolingua...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
project resource management chapter-09.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
DP Operators-handbook-extract for the Mautical Institute
Hindi spoken digit analysis for native and non-native speakers
A Presentation on Touch Screen Technology
Encapsulation theory and applications.pdf
Group 1 Presentation -Planning and Decision Making .pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Assigned Numbers - 2025 - Bluetooth® Document
WOOl fibre morphology and structure.pdf for textiles
Building Integrated photovoltaic BIPV_UPV.pdf
Chapter 5: Probability Theory and Statistics
Univ-Connecticut-ChatGPT-Presentaion.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Web App vs Mobile App What Should You Build First.pdf
Heart disease approach using modified random forest and particle swarm optimi...

Digital Signatures: how it's done in PDF

  • 1. Digital Signatures How it’s done in PDF
  • 2. iText, an open source PDF library Java C#
  • 3. Shareholders: -Ingeborg Willaert (50%) -Bruno Lowagie (50%) iText Group NV °2008 Belgium IP, TM, Development Marketing iText Software BVBA °2011 Belgium Sales EMEA/Asia iText Software Corp. °2009 USA (CA/MA) Sales Americas/Oceania Board of Directors: -Peter Camps (chairman) -Ingeborg Willaert -Bruno Lowagie Advisory Board: -Andrew Binstock -Mark de Visser -Bernard Slede iTextGroup Benelux: 10th place Belgium: 3rd place
  • 4. Agenda •Why do we need digital signatures? •Basic concepts… •… applied to PDF •Architectures: server-side vs. client-side •Digital signatures and document workflow •Long term validation
  • 5. Introduction Why do we need digital signatures?
  • 6. Integrity I paid a forged invoice and lost 30K€!
  • 7. Authenticity Why am I, Emperor Constantine I, in this picture? I never transferred authority to the Pope!
  • 9. Three goals •Integrity —we want assurance that the document hasn’t been changed somewhere in the workflow •Authenticity —we want assurance that the author of the document is who we think it is (and not somebody else) •Non-repudiation —we want assurance that the author can’t deny his authorship.
  • 10. Part 1 Basic concepts…
  • 11. Concept 1: Hashing •Hashing algorithm: •a cryptographic hash function to turn an arbitrary block of data into a fixed-size bit string. •Available algorithms: •MD5: Ron Rivest •SHA: •SHA-1: NSA (Being phased out!) •SHA-2: NSA / NIST •NEW: SHA-3 contest winner “Keccak” •RIPEMD: KULeuven
  • 12. Concept 1: Integrity check using hash Document Generate Hash AF1B4C...D34E Secure Server / Website Retrieve Hash AF1B4C...D34E Compare!
  • 13. Concept 2: encryption •Assymetric key algorithms •Encryption •Digital signing
  • 14. Some name dropping •Public Key Cryptography Standards •PKCS#1: RSA Cryptography Standard (Rivest, Shamir, Adleman) •PKCS#7: Cryptographic Message Standard (CMS) •PKCS#11: Cryptographic Token Interface •PKCS#12: PersonalInformation Exchange SyntaxStandard •PKCS#13: Elliptic Curve Cryptography Standard (ECDSA) •Federal Information Processing Standards (FIPS) •DSA: Digital Signature Algorithm (DSA) •European Telecommunications Standards Institute (ETSI) •CMS Advanced Electronic Signatures (CAdES)
  • 15. Concept 1 + Concept 2 •Producer •Provides data as-is •Provides hash encrypted using private key •Provides public key •Consumer •Creates hash from data: hash1 •Decrypts hash using public key: hash2 •If (hash1== hash2) document OK!
  • 16. Goals met? •Integrity: •hashes are identical •Authenticity: •identity found along with public key •Non-repudiation: •if hash can be decrypted with public key, the document was signed with the corresponding private key
  • 17. Differences between EU and US •In the US, we make a distinction: •Electronic signatures don’t necessarily involve PKI •Digital signatures when a PKI infrastructure is involved •In Europe, we speak of electronic signatures •As a synonymfor digital signatures •All laws and regulations take this wording •There’s no sharp distinction between electronic and digital signatures (which leads to confusion) •I always speak of digital signatures
  • 18. Part 2 … applied to PDF
  • 19. Standards •ISO •ISO-32000-1 (2008) based on PDF 1.7 (2006) •ISO-32000-2 will define PDF 2.0 (2016) •ETSI: TS 102 778 (2009 -2010) •PAdES1: Overview •PAdES2: Basic –CMS based (ISO-32000-1) •PAdES3: Enhanced –CAdESbased (ISO-32000-2) •PAdES4: LTV –Long Term Validation •PAdES5: XAdESbased (XML content) •PAdES6: Visual representation guidelines •ETSI: TS 103 172 (2011 -2013) •PAdESBaseline Profile
  • 20. Signatures in PDF •There are no bytes in the PDF that aren’t covered, other than the PDF signature itself. (*) •The digital signature isn’t part of the ByteRange. •The concept “to initial a document” doesn’t exist; you sign the complete document at once, not on a page per page basis. (*)
  • 21. Some PDF terminology •Signature field: •Visualisation (onewidget annotation) •Extra info about signature (Lock, SV) •/V refers to the signature dictionary •Signing: •Creating an /APfor the widget annotation •Creating a signature dictionary for /V
  • 22. What’s inside the signature? %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DIGITAL SIGNATURE •Signed Message Digest •Certificatechain •Revocation information •Timestamp ISO-32000-2: At minimum the PKCS#7 object shall include the signer’s X.509 signing certificate. This certificate shall be used to verify the signature value in /Contents. Best practices (“should” also have): •Full certificate chain •Revocation information (CRL / OCSP) •Timestamp
  • 23. Part 3 Architectures: Server-side vs. client-side signing
  • 24. Server-side signing <</Type/Sig/ /Contents < %PDF-1.x ... ... %%EOF >>> Signed Message Digest Application Device SERVER
  • 25. Use cases server-side signing •Company signature •Invoices •Contracts •… •Signing services in the Cloud •Docusign •Echosign •… •Security management responsibilities!
  • 26. Client-side signing <</Type/Sig/ /Contents < %PDF-1.x ... ... %%EOF >>> Signed Message Digest Application Device CLIENT
  • 27. Use cases client-side signing •Desktop applications •Adobe Acrobat Pro •Adobe Reader (only for Reader-enabled documents) •Home made, e.g. using iText •In a web context •The PDF software runs on the client, e.g. using Java Web Start •Access to the token or smart card through •MSCAPI •PKCS#11 •Custom smart card library •Security •User has smart card and PIN or USB token and passphrase
  • 28. Deferred signing Signed Message Digest App Device CLIENT <</Type/Sig/ /Contents < %PDF-1.x ... ... %%EOF >>> Application SERVER
  • 29. Use cases deferred signing •Signing on an iPad / Tablet •App on the device has low footprint •Easy to link to integrate into a document management system •Disadvantage •You need to trust the server that the hash you receive is actually the hash of the document you want to sign •Common Criteria •a framework in which computer system users can specifytheir security functionaland assurancerequirements (SFRs and SARs respectively) through the use of Protection Profiles (PPs), vendors can then implementand/or make claims about the security attributes of their products, and testing laboratories can evaluatethe products to determine if they actually meet the claims.
  • 30. Part 4 Digital signatures and document workflow
  • 31. Digital signatures: types •Certification (aka author) signature •only possible for the first revision (*) •involves modification detection permissions: •No changes allowed •Form filling and signing allowed •Form filling, signing and commenting allowed •Approval (aka recipient) signature •workflow with subsequent signers •New in PDF 2.0: modification detection permissions •Usage Rights signature •involving Adobe’s private key to Reader enable a PDF
  • 32. Other possible icons •Signer’s identity is unknown •Document has been altered or corrupted
  • 33. Serial signatures %PDF-1.x %Originaldocument % Additional content 1 ... ... %%EOF DIGITAL SIGNATURE 1 ... %%EOF DIGITAL SIGNATURE 2 % Additional content 2 ... ... %%EOF DIGITAL SIGNATURE 3 Rev1 Rev2 Rev3 A PDF document can be signed more than once, but parallel signatures aren’t supported, only serial signatures: additional signatures sign all previous signatures.
  • 38. Read, approved and signed by Carol
  • 39. Read, approved, and signed by Dave
  • 40. Signature and lock broken by Chuck
  • 41. Part 5 Long-term validation
  • 42. Certificates expire Expiration date 2012 2013 2014
  • 43. Certificates get revoked Expiration date Revocation date 2012 2013 2014
  • 44. How to survive revocation / expiration? 2012 2013 2014 Expiration date Revocation date
  • 46. What to do when: •There’s no CRL/OCSP/TS in the document? •The certificate is about to expire in one of your documents? •The hashing / encryption algorithm is about to be deprecated?
  • 47. Document Security Store %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DIGITAL SIGNATURE •Signed Message Digest •Certificate %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DSS for DIGITAL SIGNATURE •VRI, Certs, OCSPs, CRLs DIGITAL SIGNATURE •Signed Message Digest •Certificate
  • 48. Document-level timestamp %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DSS for DIGITAL SIGNATURE •VRI, Certs, OCSPs, CRLs %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DSS for DIGITAL SIGNATURE •VRI, Certs, OCSPs, CRLs DOCUMENT TIMESTAMP TS1 ETSI.RFC3161 DIGITAL SIGNATURE •Signed Message Digest •Certificate DIGITAL SIGNATURE •Signed Message Digest •Certificate
  • 49. Repeat as soon as needed %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DSS for DIGITAL SIGNATURE •VRI, Certs, OCSPs, CRLs DOCUMENT TIMESTAMP TS1 %PDF-1.x ... /ByteRange ... /Contents< >... %%EOF DSS for DIGITAL SIGNATURE •VRI, Certs, OCSPs, CRLs DOCUMENT TIMESTAMP TS1 DSS for TS1 DOCUMENT TIMESTAMP TS2 DIGITAL SIGNATURE •Signed Message Digest •Certificate DIGITAL SIGNATURE •Signed Message Digest •Certificate
  • 50. Q & A EMEAKerkstraat 1089050 GentbruggeBELGIUME: sales.isb@itextpdf.com T: +32 92 98 02 31F: +32 92 70 33 75 Americas, Oceania1 Broadway, 14th floorCambridge, MA 02142USA E: sales.isc@itextpdf.comT: +1 617 982 2646 F: +1 617 982 2647 iText HQAdolf Baeyensstraat 1219040 Sint-AmandsbergBELGIUM Asia71 Ayer Rajah Crescent #05-04139951SINGAPOREE: sales.isa@itextpdf,com T: tel: +65 31 58 39 47 http://itextpdf.com