diff options
author | tb <> | 2021-10-23 15:27:46 +0000 |
---|---|---|
committer | tb <> | 2021-10-23 15:27:46 +0000 |
commit | 93f797fe658e7c61255e54ae917d50fd1b6092f3 (patch) | |
tree | f51484c0307fdcfe180a49d08b142bec40e74286 /src | |
parent | 175c62fce31edd2a92d0fc71e7b74b2440fbe5cc (diff) | |
download | openbsd-93f797fe658e7c61255e54ae917d50fd1b6092f3.tar.gz openbsd-93f797fe658e7c61255e54ae917d50fd1b6092f3.tar.bz2 openbsd-93f797fe658e7c61255e54ae917d50fd1b6092f3.zip |
Import documentation for X509_SIG_get{0,m} from OpenSSL. Will be linked
to the build after the bump.
tweak & lgtm schwarze
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/man/X509_SIG_get0.3 | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/src/lib/libssl/man/X509_SIG_get0.3 b/src/lib/libssl/man/X509_SIG_get0.3 new file mode 100644 index 0000000000..a05c9c25b7 --- /dev/null +++ b/src/lib/libssl/man/X509_SIG_get0.3 | |||
@@ -0,0 +1,90 @@ | |||
1 | .\" $OpenBSD: X509_SIG_get0.3,v 1.1 2021/10/23 15:27:46 tb Exp $ | ||
2 | .\" full merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 | ||
3 | .\" | ||
4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | ||
5 | .\" Copyright (c) 2016 The OpenSSL Project. | ||
6 | .\" All rights reserved. | ||
7 | .\" | ||
8 | .\" Redistribution and use in source and binary forms, with or without | ||
9 | .\" modification, are permitted provided that the following conditions | ||
10 | .\" are met: | ||
11 | .\" | ||
12 | .\" 1. Redistributions of source code must retain the above copyright | ||
13 | .\" notice, this list of conditions and the following disclaimer. | ||
14 | .\" | ||
15 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
16 | .\" notice, this list of conditions and the following disclaimer in | ||
17 | .\" the documentation and/or other materials provided with the | ||
18 | .\" distribution. | ||
19 | .\" | ||
20 | .\" 3. All advertising materials mentioning features or use of this | ||
21 | .\" software must display the following acknowledgment: | ||
22 | .\" "This product includes software developed by the OpenSSL Project | ||
23 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
24 | .\" | ||
25 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
26 | .\" endorse or promote products derived from this software without | ||
27 | .\" prior written permission. For written permission, please contact | ||
28 | .\" openssl-core@openssl.org. | ||
29 | .\" | ||
30 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
31 | .\" nor may "OpenSSL" appear in their names without prior written | ||
32 | .\" permission of the OpenSSL Project. | ||
33 | .\" | ||
34 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
35 | .\" acknowledgment: | ||
36 | .\" "This product includes software developed by the OpenSSL Project | ||
37 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
38 | .\" | ||
39 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
40 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
42 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
43 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
44 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
45 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
46 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
47 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
48 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
51 | .\" | ||
52 | .Dd $Mdocdate: October 23 2021 $ | ||
53 | .Dt X509_SIG_GET0 3 | ||
54 | .Os | ||
55 | .Sh NAME | ||
56 | .Nm X509_SIG_get0 , | ||
57 | .Nm X509_SIG_getm | ||
58 | .Nd DigestInfo functions | ||
59 | .Sh SYNOPSIS | ||
60 | .In openssl/x509.h | ||
61 | .Ft void | ||
62 | .Fo X509_SIG_get0 | ||
63 | .Fa "const X509_SIG *sig" | ||
64 | .Fa "const X509_ALGOR **palg" | ||
65 | .Fa "const ASN1_OCTET_STRING **pdigest" | ||
66 | .Fc | ||
67 | .Ft void | ||
68 | .Fo X509_SIG_getm | ||
69 | .Fa "X509_SIG *sig" | ||
70 | .Fa "X509_ALGOR **palg" | ||
71 | .Fa "ASN1_OCTET_STRING **pdigest" | ||
72 | .Fc | ||
73 | .Sh DESCRIPTION | ||
74 | .Fn X509_SIG_get0 | ||
75 | returns pointers to the algorithm identifier and digest value in | ||
76 | .Fa sig . | ||
77 | .Fn X509_SIG_getm | ||
78 | is identical to | ||
79 | .Fn X509_SIG_get0 , | ||
80 | except the pointers returned are not constant and can be modified, | ||
81 | for example to initialise them. | ||
82 | .Sh SEE ALSO | ||
83 | .Xr d2i_X509 3 , | ||
84 | .Xr X509_SIG_new 3 | ||
85 | .Sh HISTORY | ||
86 | .Fn X509_SIG_get0 | ||
87 | and | ||
88 | .Fn X509_SIG_getm | ||
89 | first appeared in OpenSSL 1.1.0 and have been available since | ||
90 | .Ox 7.1 . | ||