Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/cpanel/ea-openssl11/share/doc/openssl/html/man3/
Upload File :
Current File : //proc/thread-self/root/opt/cpanel/ea-openssl11/share/doc/openssl/html/man3/DH_new_by_nid.html

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DH_new_by_nid</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>



<ul id="index">
  <li><a href="#NAME">NAME</a></li>
  <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="#RETURN-VALUES">RETURN VALUES</a></li>
  <li><a href="#COPYRIGHT">COPYRIGHT</a></li>
</ul>

<h1 id="NAME">NAME</h1>

<p>DH_new_by_nid, DH_get_nid - get or find DH named parameters</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code> #include &lt;openssl/dh.h&gt;
 DH *DH_new_by_nid(int nid);
 int *DH_get_nid(const DH *dh);</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>DH_new_by_nid() creates and returns a DH structure containing named parameters <b>nid</b>. Currently <b>nid</b> must be <b>NID_ffdhe2048</b>, <b>NID_ffdhe3072</b>, <b>NID_ffdhe4096</b>, <b>NID_ffdhe6144</b> or <b>NID_ffdhe8192</b>.</p>

<p>DH_get_nid() determines if the parameters contained in <b>dh</b> match any named set. It returns the NID corresponding to the matching parameters or <b>NID_undef</b> if there is no match.</p>

<h1 id="RETURN-VALUES">RETURN VALUES</h1>

<p>DH_new_by_nid() returns a set of DH parameters or <b>NULL</b> if an error occurred.</p>

<p>DH_get_nid() returns the NID of the matching set of parameters or <b>NID_undef</b> if there is no match.</p>

<h1 id="COPYRIGHT">COPYRIGHT</h1>

<p>Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.</p>

<p>Licensed under the OpenSSL license (the &quot;License&quot;). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>


</body>

</html>



Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists