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