Fix migration guide mappings for i2o/o2i_ECPublicKey
[openssl.git] / doc / internal / man3 / ossl_prov_util_nid_to_name.pod
1 =pod
2
3 =head1 NAME
4
5 ossl_prov_util_nid_to_name
6 - provider utility functions
7
8 =head1 SYNOPSIS
9
10  #include "internal/providercommon.h"
11
12  const char *ossl_prov_util_nid_to_name(int nid);
13
14 =head1 DESCRIPTION
15
16 The ossl_prov_util_nid_to_name() returns the name of an algorithm given a NID
17 in the B<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.
21
22 =head1 RETURN VALUES
23
24 Returns a pointer to the algorithm name, or NULL on error.
25
26 =head1 COPYRIGHT
27
28 Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
29
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>.
34
35 =cut