Part I. XML Security Library Tutorial

Table of Contents

Overview.
XML Security Library Structure.
Building the application with XML Security Library.
Overview.
Include files.
Compiling and linking on Unix.
Compiling and linking on Windows.
Compiling and linking on other systems.
Initialization and shutdown.
Signing and encrypting documents.
Overview.
Signing a document.
Encrypting data.
Creating dynamic templates.
Overview.
Creating dynamic signature templates.
Creating dynamic encryption templates.
Verifing and decrypting documents.
Overview.
Verifying a signed document
Decrypting an encrypted document
Keys.
Keys manager.
Overview.
Simple keys store.
Using keys manager for signatures/encryption.
Using keys manager for verification/decryption.
Implementing a custom keys store.
Using X509 Certificates.
Overview.
Signing data with X509 certificate.
Verifing document signed with X509 certificates.
Transforms and transforms chain.
Using context objects.
Adding support for new cryptographic library.
Overview.
xmlSecCryptoApp* functions.
Klasses and objects.
Cryptographic transforms.
Keys data and keys data stores.
Default keys manager.
Sharing the results.
Examples.
XML Security Library Examples.
Signing a template file.
sign1.c
sign1-tmpl.xml
sign1-res.xml
Signing a dynamicaly created template.
sign2.c
sign2-doc.xml
sign2-res.xml
Signing with X509 certificate.
sign3.c
sign3-doc.xml
sign3-res.xml
Verifying a signature with a single key.
verify1.c
Verifying a signature with keys manager.
verify2.c
Verifying a signature with X509 certificates.
verify3.c
Verifying a signature with additional restrictions.
verify4.c
verify4-tmpl.xml
verify4-res.xml
verify4-bad-tmpl.xml
verify4-bad-res.xml
Encrypting data with a template file.
encrypt1.c
encrypt1-tmpl.xml
encrypt1-res.xml
Encrypting data with a dynamicaly created template.
encrypt2.c
encrypt2-doc.xml
encrypt2-res.xml
Encrypting data with a session key.
encrypt3.c
encrypt3-doc.xml
encrypt3-res.xml
Decrypting data with a single key.
decrypt1.c
Decrypting data with keys manager.
decrypt2.c
Writing a custom keys manager.
decrypt3.c
APPENDIX A. XML Security Library Signature Klasses.
APPENDIX B. XML Security Library Encryption Klasses.