2002-10-07 13:07:00 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
d2i_X509_SIG, i2d_X509_SIG - DigestInfo functions.
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/x509.h>
|
|
|
|
|
2002-10-09 12:06:12 +00:00
|
|
|
X509_SIG *d2i_X509_SIG(X509_SIG **a, unsigned char **pp, long length);
|
2002-10-07 13:07:00 +00:00
|
|
|
int i2d_X509_SIG(X509_SIG *a, unsigned char **pp);
|
2016-03-10 15:04:46 +00:00
|
|
|
void X509_SIG_get0(X509_ALGOR **palg, ASN1_OCTET_STRING **pdigest,
|
|
|
|
X509_SIG *sig);
|
2002-10-07 13:07:00 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2016-03-10 15:04:46 +00:00
|
|
|
The functions d2i_X509_SIG() and i2d_X509_SIG() decode and encode an
|
|
|
|
X509_SIG structure which is equivalent to the B<DigestInfo> structure
|
|
|
|
defined in PKCS#1 and PKCS#7.
|
2002-10-07 13:07:00 +00:00
|
|
|
|
2016-03-10 15:04:46 +00:00
|
|
|
Otherwise they behave in a similar way to d2i_X509() and i2d_X509()
|
2015-08-17 19:21:33 +00:00
|
|
|
described in the L<d2i_X509(3)> manual page.
|
2002-10-07 13:07:00 +00:00
|
|
|
|
2016-03-10 15:04:46 +00:00
|
|
|
X509_SIG_get0() returns pointers to the algorithm identifier and digest
|
|
|
|
value in B<sig>. These values can then be examined or initialised.
|
|
|
|
|
2002-10-07 13:07:00 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2015-08-17 19:21:33 +00:00
|
|
|
L<d2i_X509(3)>
|
2002-10-07 13:07:00 +00:00
|
|
|
|
|
|
|
=head1 HISTORY
|
|
|
|
|
|
|
|
TBA
|
|
|
|
|
|
|
|
=cut
|