1e71b7053SJung-uk Kim=pod 2e71b7053SJung-uk Kim 3e71b7053SJung-uk Kim=head1 NAME 4e71b7053SJung-uk Kim 5e71b7053SJung-uk KimX509_SIG_get0, X509_SIG_getm - DigestInfo functions 6e71b7053SJung-uk Kim 7e71b7053SJung-uk Kim=head1 SYNOPSIS 8e71b7053SJung-uk Kim 9e71b7053SJung-uk Kim #include <openssl/x509.h> 10e71b7053SJung-uk Kim 11e71b7053SJung-uk Kim void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, 12e71b7053SJung-uk Kim const ASN1_OCTET_STRING **pdigest); 13e71b7053SJung-uk Kim void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, 14*b077aed3SPierre Pronchery ASN1_OCTET_STRING **pdigest); 15e71b7053SJung-uk Kim 16e71b7053SJung-uk Kim=head1 DESCRIPTION 17e71b7053SJung-uk Kim 18e71b7053SJung-uk KimX509_SIG_get0() returns pointers to the algorithm identifier and digest 19e71b7053SJung-uk Kimvalue in B<sig>. X509_SIG_getm() is identical to X509_SIG_get0() 20e71b7053SJung-uk Kimexcept the pointers returned are not constant and can be modified: 21e71b7053SJung-uk Kimfor example to initialise them. 22e71b7053SJung-uk Kim 23e71b7053SJung-uk Kim=head1 RETURN VALUES 24e71b7053SJung-uk Kim 25e71b7053SJung-uk KimX509_SIG_get0() and X509_SIG_getm() return no values. 26e71b7053SJung-uk Kim 27e71b7053SJung-uk Kim=head1 SEE ALSO 28e71b7053SJung-uk Kim 29e71b7053SJung-uk KimL<d2i_X509(3)> 30e71b7053SJung-uk Kim 31e71b7053SJung-uk Kim=head1 COPYRIGHT 32e71b7053SJung-uk Kim 33*b077aed3SPierre ProncheryCopyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved. 34e71b7053SJung-uk Kim 35*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 36e71b7053SJung-uk Kimthis file except in compliance with the License. You can obtain a copy 37e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at 38e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>. 39e71b7053SJung-uk Kim 40e71b7053SJung-uk Kim=cut 41