EVP_PKEY_get1_DSA

Return a new reference to the DSA key held by pkey (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
dsa_st*
EVP_PKEY_get1_DSA(EVP_PKEY* pkey);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

DSA pointer with an incremented reference count (caller frees with DSA_free()), or NULL on error.

Parameters

NameDescription
pkeyKey that must hold a DSA key.