[#DSA_size]
= DSA&lowbar;size
:mrdocs:

Return the maximum ASN&period;1 encoded DSA signature size for `dsa` in bytes (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;dsa&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
DSA&lowbar;size(xref:DSA.adoc[DSA] const* dsa);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Description

Prefer EVP&lowbar;PKEY&lowbar;get&lowbar;size() for new code&period;

== Return Value

Maximum signature length in bytes, or 0 if `dsa` has no usable parameters&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dsa*
| DSA key whose signature size is queried&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
