X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fapps%2Frsautl.pod;h=1a498c2f62e0e54bd68a66111b6a78902d1e0f31;hb=0e0c6821fab18a7d180d3c8dfe18e34fdd2afc54;hp=7a334bc8d6a397ed1f48c7fea3bd9f468b21d90f;hpb=2b40660ec1ee69ff4121937d12a50937d9fb0bfb;p=oweals%2Fopenssl.git diff --git a/doc/apps/rsautl.pod b/doc/apps/rsautl.pod index 7a334bc8d6..1a498c2f62 100644 --- a/doc/apps/rsautl.pod +++ b/doc/apps/rsautl.pod @@ -101,11 +101,11 @@ Sign some data using a private key: Recover the signed data - openssl rsautl -sign -in sig -inkey key.pem + openssl rsautl -verify -in sig -inkey key.pem Examine the raw signed data: - openssl rsautl -sign -in file -inkey key.pem -raw -hexdump + openssl rsautl -verify -in file -inkey key.pem -raw -hexdump 0000 - 00 01 ff ff ff ff ff ff-ff ff ff ff ff ff ff ff ................ 0010 - ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff ................ @@ -152,7 +152,7 @@ The final BIT STRING contains the actual signature. It can be extracted with: The certificate public key can be extracted with: - openssl x509 -in test/testx509.pem -pubout -noout >pubkey.pem + openssl x509 -in test/testx509.pem -pubkey -noout >pubkey.pem The signature can be analysed with: