EVP_PKEY_set1_DSA

Set the DSA key referenced by an EVP_PKEY, incrementing the DSA reference count.

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_PKEY_set1_DSA(
    EVP_PKEY* pkey,
    dsa_st* key);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
pkeyDestination EVP_PKEY to assign.
keyDSA key to associate; its reference count is incremented.