EVP_SIGNATURE-DSA.pod 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. The settable 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. The gettable parameters are described in L<provider-signature(7)>.
  23. =back
  24. =head1 SEE ALSO
  25. L<EVP_PKEY_CTX_set_params(3)>,
  26. L<EVP_PKEY_sign(3)>,
  27. L<EVP_PKEY_verify(3)>,
  28. L<provider-signature(7)>,
  29. =head1 COPYRIGHT
  30. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  31. Licensed under the Apache License 2.0 (the "License"). You may not use
  32. this file except in compliance with the License. You can obtain a copy
  33. in the file LICENSE in the source distribution or at
  34. L<https://www.openssl.org/source/license.html>.
  35. =cut