5 d2i_X509_SIG, i2d_X509_SIG - DigestInfo functions.
9 #include <openssl/x509.h>
11 X509_SIG *d2i_X509_SIG(X509_SIG **a, unsigned char **pp, long length);
12 int i2d_X509_SIG(X509_SIG *a, unsigned char **pp);
13 void X509_SIG_get0(X509_ALGOR **palg, ASN1_OCTET_STRING **pdigest,
18 The functions d2i_X509_SIG() and i2d_X509_SIG() decode and encode an
19 X509_SIG structure which is equivalent to the B<DigestInfo> structure
20 defined in PKCS#1 and PKCS#7.
22 Otherwise they behave in a similar way to d2i_X509() and i2d_X509()
23 described in the L<d2i_X509(3)> manual page.
25 X509_SIG_get0() returns pointers to the algorithm identifier and digest
26 value in B<sig>. These values can then be examined or initialised.