diff options
author | schwarze <> | 2018-02-14 18:50:47 +0000 |
---|---|---|
committer | schwarze <> | 2018-02-14 18:50:47 +0000 |
commit | 0435660a24245c83139431148b3d77477ae5b731 (patch) | |
tree | 7c547bad5cda18c652a8d58e87e0bfdea44ddefe /src/lib | |
parent | 44986c14054bc744dfc0d766fbca6718d4c4e60a (diff) | |
download | openbsd-0435660a24245c83139431148b3d77477ae5b731.tar.gz openbsd-0435660a24245c83139431148b3d77477ae5b731.tar.bz2 openbsd-0435660a24245c83139431148b3d77477ae5b731.zip |
In x509.h rev. 1.27 2018/02/14 16:18:10, jsing@ provided
X509_get_signature_nid(3). Add a new manual page for it
based on the relevant parts of OpenSSL X509_get0_signature.pod.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/Makefile | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/man/X509_get_signature_nid.3 | 78 |
2 files changed, 80 insertions, 1 deletions
diff --git a/src/lib/libcrypto/man/Makefile b/src/lib/libcrypto/man/Makefile index 7d9208bc91..f60c238b1e 100644 --- a/src/lib/libcrypto/man/Makefile +++ b/src/lib/libcrypto/man/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.125 2018/02/14 02:15:46 schwarze Exp $ | 1 | # $OpenBSD: Makefile,v 1.126 2018/02/14 18:50:47 schwarze Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | 4 | ||
@@ -235,6 +235,7 @@ MAN= \ | |||
235 | X509_digest.3 \ | 235 | X509_digest.3 \ |
236 | X509_get_pubkey.3 \ | 236 | X509_get_pubkey.3 \ |
237 | X509_get_serialNumber.3 \ | 237 | X509_get_serialNumber.3 \ |
238 | X509_get_signature_nid.3 \ | ||
238 | X509_get_subject_name.3 \ | 239 | X509_get_subject_name.3 \ |
239 | X509_get_version.3 \ | 240 | X509_get_version.3 \ |
240 | X509_new.3 \ | 241 | X509_new.3 \ |
diff --git a/src/lib/libcrypto/man/X509_get_signature_nid.3 b/src/lib/libcrypto/man/X509_get_signature_nid.3 new file mode 100644 index 0000000000..837b392bcc --- /dev/null +++ b/src/lib/libcrypto/man/X509_get_signature_nid.3 | |||
@@ -0,0 +1,78 @@ | |||
1 | .\" $OpenBSD: X509_get_signature_nid.3,v 1.1 2018/02/14 18:50:47 schwarze Exp $ | ||
2 | .\" selective merge up to: | ||
3 | .\" OpenSSL man3/X509_get0_signature 2f7a2520 Apr 25 17:28:08 2017 +0100 | ||
4 | .\" | ||
5 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | ||
6 | .\" Copyright (c) 2015 The OpenSSL Project. 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: February 14 2018 $ | ||
53 | .Dt X509_GET_SIGNATURE_NID 3 | ||
54 | .Os | ||
55 | .Sh NAME | ||
56 | .Nm X509_get_signature_nid | ||
57 | .Nd signature information | ||
58 | .Sh SYNOPSIS | ||
59 | .In openssl/x509.h | ||
60 | .Ft int | ||
61 | .Fo X509_get_signature_nid | ||
62 | .Fa "const X509 *x" | ||
63 | .Fc | ||
64 | .Sh DESCRIPTION | ||
65 | .Fn X509_get_signature_nid | ||
66 | returns the NID corresponding to the signature algorithm of | ||
67 | .Fa x . | ||
68 | .Sh SEE ALSO | ||
69 | .Xr OBJ_obj2nid 3 , | ||
70 | .Xr X509_get_pubkey 3 , | ||
71 | .Xr X509_get_subject_name 3 , | ||
72 | .Xr X509_get_version 3 , | ||
73 | .Xr X509_new 3 , | ||
74 | .Xr X509_sign 3 , | ||
75 | .Xr X509_verify_cert 3 | ||
76 | .Sh HISTORY | ||
77 | .Fn X509_get_signature_nid | ||
78 | first appeared in OpenSSL 1.0.2. | ||