Read a traditional DSA private key from a PEM‐encoded BIO (deprecated).

Synopsis

Declared in <openssl/pem.h>

[[deprecated]]
DSA*
PEM_read_bio_DSAPrivateKey(
    BIO* bp,
    DSA** x,
    pem_password_cb* cb,
    void* u);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

DSA key on success, or NULL on failure.

Parameters

Name

Description

bp

BIO to read from.

x

Optional address of a DSA pointer to reuse, or NULL.

cb

Password callback for encrypted PEM, or NULL.

u

Application data passed to cb.

Created with MrDocs