1X509_SIG_GET0(3ossl) OpenSSL X509_SIG_GET0(3ossl)
2
3
4
6 X509_SIG_get0, X509_SIG_getm - DigestInfo functions
7
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
17 X509_SIG_get0() returns pointers to the algorithm identifier and digest
18 value in sig. X509_SIG_getm() is identical to X509_SIG_get0() except
19 the pointers returned are not constant and can be modified: for example
20 to initialise them.
21
23 X509_SIG_get0() and X509_SIG_getm() return no values.
24
26 d2i_X509(3)
27
29 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
30
31 Licensed under the Apache License 2.0 (the "License"). You may not use
32 this file except in compliance with the License. You can obtain a copy
33 in the file LICENSE in the source distribution or at
34 <https://www.openssl.org/source/license.html>.
35
36
37
383.0.9 2023-07-27 X509_SIG_GET0(3ossl)