xref: /freebsd/crypto/openssl/doc/man7/EVP_SIGNATURE-ECDSA.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1*b077aed3SPierre Pronchery=pod
2*b077aed3SPierre Pronchery
3*b077aed3SPierre Pronchery=head1 NAME
4*b077aed3SPierre Pronchery
5*b077aed3SPierre ProncheryEVP_SIGNATURE-ECDSA - The EVP_PKEY ECDSA signature implementation.
6*b077aed3SPierre Pronchery
7*b077aed3SPierre Pronchery=head1 DESCRIPTION
8*b077aed3SPierre Pronchery
9*b077aed3SPierre ProncherySupport for computing ECDSA signatures.
10*b077aed3SPierre ProncherySee L<EVP_PKEY-EC(7)> for information related to EC keys.
11*b077aed3SPierre Pronchery
12*b077aed3SPierre Pronchery=head2 ECDSA Signature Parameters
13*b077aed3SPierre Pronchery
14*b077aed3SPierre ProncheryThe following signature parameters can be set using EVP_PKEY_CTX_set_params().
15*b077aed3SPierre ProncheryThis may be called after EVP_PKEY_sign_init() or EVP_PKEY_verify_init(),
16*b077aed3SPierre Proncheryand before calling EVP_PKEY_sign() or EVP_PKEY_verify().
17*b077aed3SPierre Pronchery
18*b077aed3SPierre Pronchery=over 4
19*b077aed3SPierre Pronchery
20*b077aed3SPierre Pronchery=item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string>
21*b077aed3SPierre Pronchery
22*b077aed3SPierre Pronchery=item "properties" (B<OSSL_SIGNATURE_PARAM_PROPERTIES>) <UTF8 string>
23*b077aed3SPierre Pronchery
24*b077aed3SPierre ProncheryThese parameters are described in L<provider-signature(7)>.
25*b077aed3SPierre Pronchery
26*b077aed3SPierre Pronchery=back
27*b077aed3SPierre Pronchery
28*b077aed3SPierre ProncheryThe following signature parameters can be retrieved using
29*b077aed3SPierre ProncheryEVP_PKEY_CTX_get_params().
30*b077aed3SPierre Pronchery
31*b077aed3SPierre Pronchery=over 4
32*b077aed3SPierre Pronchery
33*b077aed3SPierre Pronchery=item "algorithm-id" (B<OSSL_SIGNATURE_PARAM_ALGORITHM_ID>) <octet string>
34*b077aed3SPierre Pronchery
35*b077aed3SPierre Pronchery=item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string>
36*b077aed3SPierre Pronchery
37*b077aed3SPierre ProncheryThe parameters are described in L<provider-signature(7)>.
38*b077aed3SPierre Pronchery
39*b077aed3SPierre Pronchery=back
40*b077aed3SPierre Pronchery
41*b077aed3SPierre Pronchery=head1 SEE ALSO
42*b077aed3SPierre Pronchery
43*b077aed3SPierre ProncheryL<EVP_PKEY_CTX_set_params(3)>,
44*b077aed3SPierre ProncheryL<EVP_PKEY_sign(3)>,
45*b077aed3SPierre ProncheryL<EVP_PKEY_verify(3)>,
46*b077aed3SPierre ProncheryL<provider-signature(7)>,
47*b077aed3SPierre Pronchery
48*b077aed3SPierre Pronchery=head1 COPYRIGHT
49*b077aed3SPierre Pronchery
50*b077aed3SPierre ProncheryCopyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
51*b077aed3SPierre Pronchery
52*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
53*b077aed3SPierre Proncherythis file except in compliance with the License.  You can obtain a copy
54*b077aed3SPierre Proncheryin the file LICENSE in the source distribution or at
55*b077aed3SPierre ProncheryL<https://www.openssl.org/source/license.html>.
56*b077aed3SPierre Pronchery
57*b077aed3SPierre Pronchery=cut
58