xref: /openbsd/lib/libcrypto/man/d2i_X509_ALGOR.3 (revision 8974101a)
1.\"	$OpenBSD: d2i_X509_ALGOR.3,v 1.2 2016/11/06 15:52:50 jmc Exp $
2.\"
3.Dd $Mdocdate: November 6 2016 $
4.Dt D2I_X509_ALGOR 3
5.Os
6.Sh NAME
7.Nm d2i_X509_ALGOR ,
8.Nm i2d_X509_ALGOR
9.Nd AlgorithmIdentifier functions
10.Sh SYNOPSIS
11.In openssl/x509.h
12.Ft X509_ALGOR *
13.Fo d2i_X509_ALGOR
14.Fa "X509_ALGOR **a"
15.Fa "unsigned char **pp"
16.Fa "long length"
17.Fc
18.Ft int
19.Fo i2d_X509_ALGOR
20.Fa "X509_ALGOR *a"
21.Fa "unsigned char **pp"
22.Fc
23.Sh DESCRIPTION
24These functions decode and encode an
25.Vt X509_ALGOR
26structure which is equivalent to the
27.Sy AlgorithmIdentifier
28structure.
29.Pp
30Otherwise these behave in a way similar to
31.Xr d2i_X509 3
32and
33.Xr i2d_X509 3 .
34.Sh SEE ALSO
35.Xr d2i_X509 3
36