DSA_size.pod 534 B

123456789101112131415161718192021222324252627282930313233
  1. =pod
  2. =head1 NAME
  3. DSA_size - get DSA signature size
  4. =head1 SYNOPSIS
  5. #include <openssl/dsa.h>
  6. int DSA_size(const DSA *dsa);
  7. =head1 DESCRIPTION
  8. This function returns the size of an ASN.1 encoded DSA signature in
  9. bytes. It can be used to determine how much memory must be allocated
  10. for a DSA signature.
  11. B<dsa-E<gt>q> must not be B<NULL>.
  12. =head1 RETURN VALUE
  13. The size in bytes.
  14. =head1 SEE ALSO
  15. L<dsa(3)|dsa(3)>, L<DSA_sign(3)|DSA_sign(3)>
  16. =head1 HISTORY
  17. DSA_size() is available in all versions of SSLeay and OpenSSL.
  18. =cut