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