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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -