C++
OpenSSL Examples for C++
- Duplicate openssl dgst -sha256 -sign private.pem -out sha256.sig in.dat
- Duplicate openssl dgst -sha256 -verify pubKey.pem -signature signature.sig in.dat
- Duplicate openssl rsautl -sign -in small.dat -inkey private.pem -out rsautl.sig
- Duplicate openssl rsautl -verify -inkey pubKey.pem -pubin -in rsautl.sig -out originalFile.dat
- Duplicate openssl pkey -in private.pem -pubout -out pubkey.pem
- Duplicate openssl req -newkey rsa:2048 -nodes -keyout mydomain.pem -out mydomain.csr
- Duplicate openssl rsautl -encrypt –in mytext.txt -out mytest.enc -inkey mycertificate.cer -certin –pkcs
- Duplicate openssl pkcs12 –export –in certfile.cer –inkey certfile.key –out certfile.pfx
- Encrypt with Chilkat, Decrypt with OpenSSL
- openssl enc decrypt
- RSA Encrypt and OpenSSL Decrypt
- Duplicate OpensSSL Command that Decrypts Binary DER
- Duplicate OpensSSL to Sign File and Output Binary DER
- Duplicate OpensSSL to Encrypt a Signed File
- Duplicate OpensSSL to Create Signature using Cert and Key Files
- Duplicate OpenSSL smime Command
- Duplicate openssl smime -encrypt -binary -aes-256-cbc -in some_file.dat -out some_file.dat.enc -outform DER cert.crt
- Duplicate openssl smime -decrypt -in some_file.dat.enc -binary -inform DER -inkey private.key -out some_file.dat
- Create a Hash Signature for Value Added Tax Audit SOAP Message for Angola
- Duplicate openssl smime -encrypt -des3 -in <file> <pem file>
- Duplicate PHP's openssl_encrypt and openssl_random_pseudo_bytes