EVP_SIGNATURE-DSA.pod 1.7 KB

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