Return the X9.31 hash algorithm identifier byte for digest NID nid (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_X931_hash_id(int nid);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Hash‐ID byte used in X9.31 encoding, or ‐1 if nid is unsupported.

Parameters

Name

Description

nid

Digest NID such as NID_sha1 or NID_sha256.

Created with MrDocs