GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
D2I_DHPARAMS(3) OpenSSL D2I_DHPARAMS(3)

d2i_DHparams, i2d_DHparams - PKCS#3 DH parameter functions

 #include <openssl/dh.h>

 DH *d2i_DHparams(DH **a, const unsigned char **pp, long length);
 int i2d_DHparams(DH *a, unsigned char **pp);

These functions decode and encode PKCS#3 DH parameters using the DHparameter structure described in PKCS#3.

Otherwise these behave in a similar way to d2i_X509() and i2d_X509() described in the d2i_X509(3) manual page.

d2i_DHparams() returns a valid DH structure or NULL if an error occurred.

i2d_DHparams() returns the length of encoded data on success or a value which is less than or equal to 0 on error.

d2i_X509(3)

Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the "License"). 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 <https://www.openssl.org/source/license.html>.

2022-05-03 1.1.1o

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.