Return the X9.31 hash algorithm identifier byte for digest NID nid (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_X931_hash_id(int nid);
Deprecated. Use of this entity is allowed but discouraged.
Hash-ID byte used in X9.31 encoding, or -1 if nid is unsupported.
| Name | Description |
|---|---|
| nid | Digest NID such as NID_sha1 or NID_sha256. |