Cryptographic techniques are important in order to achieve the following objectives when processing data:
- Integrity of data guarantees that the recipient can be sure that any changes to the data do not go unnoticed.
- Authenticity means that the recipient can be reasonably sure that a data set has actually been created by its alleged author.
- Confidentiality aims to prevent unauthorized access to the relevant data under all circumstances.
In CODESYS, the libraries CmpCrypto.library
and CmpX509Cert.library
are provided for this purpose. The sample project CryptoDemo.project
included in the CODESYS package demonstrates how to use both libraries for different use cases.