carta
libressl-OBJ_find_sigid_algs(3)

libressl-OBJ_find_sigid_algs3

Signature algorithm mappings

Usage

Crypto Library (libcrypto, -lcrypto)

int

int

Overview

OBJ_find_sigid_algs() looks up the signature algorithm. If it is found, the associated digest algorithm is stored in *pdigest unless pdigest is a NULL pointer, and the associated encryption algorithm is stored in *pencryption unless pencryption is a NULL pointer.

OBJ_find_sigid_by_algs() looks up the pair (digest, encryption,). If it is found, the associated signature algorithm is stored in *psignature unless psignature is a NULL pointer.

Return values

OBJ_find_sigid_algs() returns 1 if a definition of the signature algorithm is found or 0 if a definition of the signature algorithm is not built into the library.

OBJ_find_sigid_by_algs() returns 1 if a signature algorithm using the specified digest and encryption algorithms is defined or 0 if the definition of such an algorithm is not built into the library.

History

These functions first appeared in OpenSSL 1.0.0 and have been available since OpenBSD 4.9.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.