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