TScCMSProcessor, TScFileStorage example
Posted: Fri 15 Jul 2022 14:11
Hello,
I struggle to en- and decrypt a file using TScCMSProcessor and TScFileStorage. The tagret is to encypt a text file with a public key and decrypt it with a private key. I already have created a certificate, a private and a public key. Also I have created a user, but honestly I have no idea how this all should go together.
I found nearly no documentation for TScCMSProcessor, so I kindly ask, if someone can provide an example code doing this.
Thanks in advance.
I struggle to en- and decrypt a file using TScCMSProcessor and TScFileStorage. The tagret is to encypt a text file with a public key and decrypt it with a private key. I already have created a certificate, a private and a public key. Also I have created a user, but honestly I have no idea how this all should go together.
I found nearly no documentation for TScCMSProcessor, so I kindly ask, if someone can provide an example code doing this.
Thanks in advance.