Return pointers to the DSA public and private key components without transferring ownership (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
void
DSA_get0_key(
    DSA const* d,
    BIGNUM const** pub_key,
    BIGNUM const** priv_key);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Returned BIGNUMs must not be freed by the caller.

Return Value

pointers to the DSA public and private key components without transferring ownership (deprecated).

Parameters

Name

Description

d

DSA object to query.

pub_key

Optional destination for the public key, or NULL.

priv_key

Optional destination for the private key, or NULL.

Created with MrDocs