Return the NID identifying a message‐digest algorithm.

Synopsis

Declared in <openssl/evp.h>

int
EVP_MD_get_type(EVP_MD const* md);

Return Value

Algorithm NID such as NID_sha256, or NID_undef on error.

Parameters

Name

Description

md

Digest method to query.

Created with MrDocs