X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FEVP_PKEY_sign.pod;h=68788921da675206a755d9a9e2d08dcdf19d1791;hp=d48edb5025c67e8fc1b0b7858a533404824e8165;hb=0e52100400e647aeb5b8ac1b92c74d53918d39a0;hpb=cda774223d9a886ece480f304be40797bb73bcd7;ds=sidebyside diff --git a/doc/man3/EVP_PKEY_sign.pod b/doc/man3/EVP_PKEY_sign.pod index d48edb5025..68788921da 100644 --- a/doc/man3/EVP_PKEY_sign.pod +++ b/doc/man3/EVP_PKEY_sign.pod @@ -2,7 +2,8 @@ =head1 NAME -EVP_PKEY_sign_init, EVP_PKEY_sign - sign using a public key algorithm +EVP_PKEY_sign_init, EVP_PKEY_sign +- sign using a public key algorithm =head1 SYNOPSIS @@ -15,16 +16,19 @@ EVP_PKEY_sign_init, EVP_PKEY_sign - sign using a public key algorithm =head1 DESCRIPTION -The EVP_PKEY_sign_init() function initializes a public key algorithm -context using key B for a signing operation. +EVP_PKEY_sign_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_sign() function performs a public key signing operation -using B. The data to be signed is specified using the B and -B parameters. If B is B then the maximum size of the output -buffer is written to the B parameter. If B is not B then -before the call the B parameter should contain the length of the -B buffer, if the call is successful the signature is written to -B and the amount of data written to B. +using I. The data to be signed is specified using the I and +I parameters. If I is NULL then the maximum size of the output +buffer is written to the I parameter. If I is not NULL then +before the call the I parameter should contain the length of the +I buffer, if the call is successful the signature is written to +I and the amount of data written to I. =head1 NOTES @@ -101,6 +105,7 @@ L =head1 HISTORY +EVP_PKEY_sign_init_ex() was added in OpenSSL 3.0. These functions were added in OpenSSL 1.0.0. =head1 COPYRIGHT