c# - How to use openssl-net wrapper? -
client encrypting files using openssl:
c:\openssl\bin"\openssl.exe smime -encrypt -des3 -in "%1.xml" -out "%1.xml.cip" "certificate.pem" >> d:\log\log_encrypt.txt if errorlevel 0 (del "%1.csv")
now want this: erp system -> generate payroll -> encrypt using openssl smime
so first thought run above bat command erp system. problem client doesn't want have unencrypted payroll file on disk moment (although doing other files: save unencrypted -> encrypt -> delete unencrypted). have write app data directly erp (that's not problem), encrypt using openssl, , save encrypted file.
i found c# wrapper openssl-net: https://github.com/openssl-net/openssl-net
to honest don't know how achieve above openssl smime des3 encryption using client certificate , wrapper. please? documentation or something?
Comments
Post a Comment