X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fman3%2FEVP_PKEY_verify.pod;h=878e4878c7b49ae6931ae4b9a1d195bce8624618;hb=a45694a3567ce8de754cffa7b450c22578ebdd6c;hp=5b0d15a755f5d2f21b5adef19fa1e64a89c5466d;hpb=fc5ecaddd0c2aa76dfc8b9c4a7b3686cf2a3a292;p=openssl.git diff --git a/doc/man3/EVP_PKEY_verify.pod b/doc/man3/EVP_PKEY_verify.pod index 5b0d15a755..878e4878c7 100644 --- a/doc/man3/EVP_PKEY_verify.pod +++ b/doc/man3/EVP_PKEY_verify.pod @@ -2,7 +2,8 @@ =head1 NAME -EVP_PKEY_verify_init, EVP_PKEY_verify - signature verification using a public key algorithm +EVP_PKEY_verify_init, EVP_PKEY_verify +- signature verification using a public key algorithm =head1 SYNOPSIS @@ -15,13 +16,16 @@ EVP_PKEY_verify_init, EVP_PKEY_verify - signature verification using a public ke =head1 DESCRIPTION -The EVP_PKEY_verify_init() function initializes a public key algorithm -context using key B for a signature verification operation. +EVP_PKEY_verify_init() initializes a public key algorithm context I for +signing using the algorithm given when the context was created +using L or variants thereof. The algorithm is used to +fetch a B method implicitly, see L +for more information about implict fetches. The EVP_PKEY_verify() function performs a public key verification operation -using B. The signature is specified using the B and -B parameters. The verified data (i.e. the data believed originally -signed) is specified using the B and B parameters. +using I. The signature is specified using the I and +I parameters. The verified data (i.e. the data believed originally +signed) is specified using the I and I parameters. =head1 NOTES @@ -44,7 +48,7 @@ A negative value indicates an error other that signature verification failure. In particular a return value of -2 indicates the operation is not supported by the public key algorithm. -=head1 EXAMPLE +=head1 EXAMPLES Verify signature using PKCS#1 and SHA256 digest: