EVP_SIGNATURE-DSA.pod 1.5 KB

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