Ulf Möller | 38e33ce | 2000-01-27 19:31:26 +0000 | [diff] [blame] | 1 | =pod |
| 2 | |
| 3 | =head1 NAME |
| 4 | |
Ulf Möller | 4d524e1 | 2000-02-24 11:55:57 +0000 | [diff] [blame] | 5 | DSA_size - get DSA signature size |
Ulf Möller | 38e33ce | 2000-01-27 19:31:26 +0000 | [diff] [blame] | 6 | |
| 7 | =head1 SYNOPSIS |
| 8 | |
| 9 | #include <openssl/dsa.h> |
| 10 | |
Geoff Thorpe | 5bf7387 | 2002-08-05 16:27:01 +0000 | [diff] [blame] | 11 | int DSA_size(const DSA *dsa); |
Ulf Möller | 38e33ce | 2000-01-27 19:31:26 +0000 | [diff] [blame] | 12 | |
| 13 | =head1 DESCRIPTION |
| 14 | |
| 15 | This function returns the size of an ASN.1 encoded DSA signature in |
| 16 | bytes. It can be used to determine how much memory must be allocated |
| 17 | for a DSA signature. |
| 18 | |
| 19 | B<dsa-E<gt>q> must not be B<NULL>. |
| 20 | |
| 21 | =head1 RETURN VALUE |
| 22 | |
| 23 | The size in bytes. |
| 24 | |
| 25 | =head1 SEE ALSO |
| 26 | |
| 27 | L<dsa(3)|dsa(3)>, L<DSA_sign(3)|DSA_sign(3)> |
| 28 | |
| 29 | =head1 HISTORY |
| 30 | |
| 31 | DSA_size() is available in all versions of SSLeay and OpenSSL. |
| 32 | |
| 33 | =cut |