Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
d2i_DHparams(3) LibreSSL d2i_DHparams(3)

NAME

d2i_DHparams, i2d_DHparams - PKCS#3 DH parameter functions.

SYNOPSIS


#include <openssl/dh.h>

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

DESCRIPTION

These functions decode and encode PKCS#3 DH parameters using the DHparameter structure described in PKCS#3.
Othewise these behave in a similar way to d2i_X509() and i2d_X509() described in the d2i_X509(3) manual page.

SEE ALSO

d2i_X509(3)
2015-10-26 LibreSSL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org