EVP_SIGNATURE-ECDSA.pod 1.5 KB

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