summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/d2i_DSAPublicKey.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/d2i_DSAPublicKey.3')
-rw-r--r--src/lib/libcrypto/man/d2i_DSAPublicKey.392
1 files changed, 90 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/d2i_DSAPublicKey.3 b/src/lib/libcrypto/man/d2i_DSAPublicKey.3
index 3a87706514..423beb123a 100644
--- a/src/lib/libcrypto/man/d2i_DSAPublicKey.3
+++ b/src/lib/libcrypto/man/d2i_DSAPublicKey.3
@@ -1,6 +1,55 @@
1.\" $OpenBSD: d2i_DSAPublicKey.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: d2i_DSAPublicKey.3,v 1.3 2016/12/05 20:36:19 schwarze Exp $
2.\" OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400
2.\" 3.\"
3.Dd $Mdocdate: November 6 2016 $ 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2002, 2003, 2013, 2015, 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: December 5 2016 $
4.Dt D2I_DSAPUBLICKEY 3 53.Dt D2I_DSAPUBLICKEY 3
5.Os 54.Os
6.Sh NAME 55.Sh NAME
@@ -10,6 +59,10 @@
10.Nm i2d_DSAPrivateKey , 59.Nm i2d_DSAPrivateKey ,
11.Nm d2i_DSA_PUBKEY , 60.Nm d2i_DSA_PUBKEY ,
12.Nm i2d_DSA_PUBKEY , 61.Nm i2d_DSA_PUBKEY ,
62.Nm d2i_DSA_PUBKEY_bio ,
63.Nm d2i_DSA_PUBKEY_fp ,
64.Nm i2d_DSA_PUBKEY_bio ,
65.Nm i2d_DSA_PUBKEY_fp ,
13.Nm d2i_DSAparams , 66.Nm d2i_DSAparams ,
14.Nm i2d_DSAparams , 67.Nm i2d_DSAparams ,
15.Nm d2i_DSA_SIG , 68.Nm d2i_DSA_SIG ,
@@ -41,6 +94,26 @@
41.Fa "unsigned char **pp" 94.Fa "unsigned char **pp"
42.Fc 95.Fc
43.Ft DSA * 96.Ft DSA *
97.Fo d2i_DSA_PUBKEY_bio
98.Fa "BIO *bp"
99.Fa "DSA **dsa"
100.Fc
101.Ft DSA *
102.Fo d2i_DSA_PUBKEY_fp
103.Fa "FILE *fp"
104.Fa "DSA *dsa"
105.Fc
106.Ft int
107.Fo i2d_DSA_PUBKEY_bio
108.Fa "BIO *bp"
109.Fa "DSA *dsa"
110.Fc
111.Ft int
112.Fo i2d_DSA_PUBKEY_fp
113.Fa "FILE *fp"
114.Fa "DSA *dsa"
115.Fc
116.Ft DSA *
44.Fo d2i_DSAPrivateKey 117.Fo d2i_DSAPrivateKey
45.Fa "DSA **a" 118.Fa "DSA **a"
46.Fa "const unsigned char **pp" 119.Fa "const unsigned char **pp"
@@ -85,6 +158,21 @@ and
85decode and encode a DSA public key using a SubjectPublicKeyInfo 158decode and encode a DSA public key using a SubjectPublicKeyInfo
86(certificate public key) structure. 159(certificate public key) structure.
87.Pp 160.Pp
161.Fn d2i_DSA_PUBKEY_bio ,
162.Fn d2i_DSA_PUBKEY_fp ,
163.Fn i2d_DSA_PUBKEY_bio ,
164and
165.Fn i2d_DSA_PUBKEY_fp
166are similar to
167.Fn d2i_DSA_PUBKEY
168and
169.Fn i2d_DSA_PUBKEY
170except that they decode or encode using a
171.Vt BIO
172or
173.Vt FILE
174pointer.
175.Pp
88.Fn d2i_DSAPrivateKey 176.Fn d2i_DSAPrivateKey
89and 177and
90.Fn i2d_DSAPrivateKey 178.Fn i2d_DSAPrivateKey