5 ossl_prov_util_nid_to_name
6 - provider utility functions
10 #include "internal/providercommon.h"
12 const char *ossl_prov_util_nid_to_name(int nid);
16 The ossl_prov_util_nid_to_name() returns the name of an algorithm given a NID
17 in the I<nid> parameter. For the default and legacy providers it is equivalent
18 to calling OBJ_nid2sn(). The FIPS provider does not have the object database
19 code available to it (because that code relies on the ASN.1 code), so this
20 function is a static lookup of all known FIPS algorithm NIDs.
24 Returns a pointer to the algorithm name, or NULL on error.
28 Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
30 Licensed under the Apache License 2.0 (the "License"). You may not use
31 this file except in compliance with the License. You can obtain a copy
32 in the file LICENSE in the source distribution or at
33 L<https://www.openssl.org/source/license.html>.