PEM_read_DSA_PUBKEY

Read a DSA SubjectPublicKeyInfo from a PEM-encoded FILE (deprecated).

Synopsis

Declared in <openssl/pem.h>

[[deprecated]]
DSA*
PEM_read_DSA_PUBKEY(
    FILE* fp,
    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

NameDescription
fpFILE to read from.
xOptional address of a DSA pointer to reuse, or NULL.
cbPassword callback for encrypted PEM, or NULL.
uApplication data passed to cb.