Sign a digest with a DSA private key, returning a DSA_SIG structure (deprecated).

Synopsis

Declared in <openssl/dsa.h>

[[deprecated]]
DSA_SIG*
DSA_do_sign(
    unsigned char const* dgst,
    int dlen,
    DSA* dsa);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated DSA_SIG, or NULL on error; free with DSA_SIG_free().

Parameters

Name

Description

dgst

Digest bytes to sign.

dlen

Length of dgst in bytes.

dsa

DSA key containing the private key used for signing.

Created with MrDocs