First, Introduction
The PKEYUTL command is capable of testing the performance of the supported key algorithms
Second, the grammar
OpenSSL rsautl [-infilefile ' file ' file] [- Peerform pem| DER] [-pubin] [-certin] [-rev] [-sign] [-verify] [-verifyrecover] [-encrypt] [-decrypt] [-derive][-pkeyopt opt: Value] [-asn1parse] [-engine e]
Options
-inch fileInputfile-outfileOutputfile-sigfilefileSignaturefile(verify operation only)-inkeyfileinput Key-keyform ARG private key format-default PEM-Pubin input is a public key-certin input is a certificate carrying a public key-pkeyopt x:y Public key Options-Sign sign with private key-Verify verify with Public key-verifyrecover Verify with Public key, recover original data-Encrypt encrypt with public key-decrypt decrypt with private key-derive derive shared secret-hexdump hex Dump output-engine e Use engine E, possibly a hardware device.-passin Arg pass phrase source
Third, examples
Reference: http://blog.csdn.net/as3luyuan123/article/details/16331003
Openssl pkeyutl Command