DSA_get0_pqg

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

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
void
DSA_get0_pqg(
    DSA const* d,
    BIGNUM const** p,
    BIGNUM const** q,
    BIGNUM const** g);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Description

Prefer EVP_PKEY_get_bn_param() for new code. Returned BIGNUMs must not be freed by the caller.

Return Value

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

Parameters

NameDescription
dDSA object to query.
pOptional destination for the prime modulus, or NULL.
qOptional destination for the subprime, or NULL.
gOptional destination for the generator, or NULL.