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