[#DSA_get0_pqg]
= DSA&lowbar;get0&lowbar;pqg
:mrdocs:

Return pointers to the DSA domain parameters p, q, and g without transferring ownership (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
DSA&lowbar;get0&lowbar;pqg(
    xref:DSA.adoc[DSA] const* d,
    xref:BIGNUM.adoc[BIGNUM] const** p,
    xref:BIGNUM.adoc[BIGNUM] const** q,
    xref:BIGNUM.adoc[BIGNUM] const** g);
----

[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;bn&lowbar;param() for new code&period; Returned BIGNUMs must not be freed by the caller&period;

== Return Value

pointers to the DSA domain parameters p, q, and g without transferring ownership (deprecated)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *d*
| DSA object to query&period;
| *p*
| Optional destination for the prime modulus, or NULL&period;
| *q*
| Optional destination for the subprime, or NULL&period;
| *g*
| Optional destination for the generator, or NULL&period;
|===


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