X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fapps%2Frsautl.pod;h=7a334bc8d6a397ed1f48c7fea3bd9f468b21d90f;hb=da542e1bf762507bc6630847e4c3dd18de81359d;hp=6a2466a3867fc313f1cc1b0d52c0ffae28eb1fbd;hpb=bbb720034aa6422a7be4637e841db8588f4d0305;p=oweals%2Fopenssl.git diff --git a/doc/apps/rsautl.pod b/doc/apps/rsautl.pod index 6a2466a386..7a334bc8d6 100644 --- a/doc/apps/rsautl.pod +++ b/doc/apps/rsautl.pod @@ -70,10 +70,12 @@ encrypt the input data using an RSA public key. decrypt the input data using an RSA private key. -=item B<-pkcs, -ssl, -raw> +=item B<-pkcs, -oaep, -ssl, -raw> -the padding to use, PKCS#1 v1.5 (the default) SSL v2 or no padding -respectively. +the padding to use: PKCS#1 v1.5 (the default), PKCS#1 OAEP, +special padding used in SSL v2 backwards compatible handshakes, +or no padding, respectively. +For signatures, only B<-pkcs> and B<-raw> can be used. =item B<-hexdump> @@ -93,7 +95,7 @@ used to sign or verify small pieces of data. =head1 EXAMPLES -Sign the some data using a private key: +Sign some data using a private key: openssl rsautl -sign -in file -inkey key.pem -out sig