Using X509 Certificate to Encrypt Data
Question:
Do you have any examples of using the Chilkat Encryption component with X509 Digital
Certificates to encrypt and decrypt data ?
Answer:
To use an X509 certificate, the CryptAlgorithm is set to “PKI” and you set the certificate by calling SetEncryptCert.
The encryption algorithm may be controlled by using a Chilkat CSP object and calling SetCSP.
Here’s a quick example showing the use of SetEncryptCert:
Encrypt with X509 Certificate
admin
0
Tags :