diff options
| -rw-r--r-- | src/lib/libcrypto/man/d2i_DSAPublicKey.3 | 92 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/d2i_RSAPublicKey.3 | 93 |
2 files changed, 181 insertions, 4 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 | |||
| 85 | decode and encode a DSA public key using a SubjectPublicKeyInfo | 158 | decode 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 , | ||
| 164 | and | ||
| 165 | .Fn i2d_DSA_PUBKEY_fp | ||
| 166 | are similar to | ||
| 167 | .Fn d2i_DSA_PUBKEY | ||
| 168 | and | ||
| 169 | .Fn i2d_DSA_PUBKEY | ||
| 170 | except that they decode or encode using a | ||
| 171 | .Vt BIO | ||
| 172 | or | ||
| 173 | .Vt FILE | ||
| 174 | pointer. | ||
| 175 | .Pp | ||
| 88 | .Fn d2i_DSAPrivateKey | 176 | .Fn d2i_DSAPrivateKey |
| 89 | and | 177 | and |
| 90 | .Fn i2d_DSAPrivateKey | 178 | .Fn i2d_DSAPrivateKey |
diff --git a/src/lib/libcrypto/man/d2i_RSAPublicKey.3 b/src/lib/libcrypto/man/d2i_RSAPublicKey.3 index 72530c7dac..0ce5f31aa5 100644 --- a/src/lib/libcrypto/man/d2i_RSAPublicKey.3 +++ b/src/lib/libcrypto/man/d2i_RSAPublicKey.3 | |||
| @@ -1,6 +1,56 @@ | |||
| 1 | .\" $OpenBSD: d2i_RSAPublicKey.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: d2i_RSAPublicKey.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 Ulf Moeller <ulf@openssl.org> and |
| 5 | .\" Dr. Stephen Henson <steve@openssl.org>. | ||
| 6 | .\" Copyright (c) 2000, 2002, 2003, 2009, 2016 The OpenSSL Project. | ||
| 7 | .\" All rights reserved. | ||
| 8 | .\" | ||
| 9 | .\" Redistribution and use in source and binary forms, with or without | ||
| 10 | .\" modification, are permitted provided that the following conditions | ||
| 11 | .\" are met: | ||
| 12 | .\" | ||
| 13 | .\" 1. Redistributions of source code must retain the above copyright | ||
| 14 | .\" notice, this list of conditions and the following disclaimer. | ||
| 15 | .\" | ||
| 16 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 17 | .\" notice, this list of conditions and the following disclaimer in | ||
| 18 | .\" the documentation and/or other materials provided with the | ||
| 19 | .\" distribution. | ||
| 20 | .\" | ||
| 21 | .\" 3. All advertising materials mentioning features or use of this | ||
| 22 | .\" software must display the following acknowledgment: | ||
| 23 | .\" "This product includes software developed by the OpenSSL Project | ||
| 24 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 25 | .\" | ||
| 26 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 27 | .\" endorse or promote products derived from this software without | ||
| 28 | .\" prior written permission. For written permission, please contact | ||
| 29 | .\" openssl-core@openssl.org. | ||
| 30 | .\" | ||
| 31 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 32 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 33 | .\" permission of the OpenSSL Project. | ||
| 34 | .\" | ||
| 35 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 36 | .\" acknowledgment: | ||
| 37 | .\" "This product includes software developed by the OpenSSL Project | ||
| 38 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 39 | .\" | ||
| 40 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 41 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 42 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 43 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 44 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 45 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 46 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 47 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 48 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 49 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 50 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 51 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 52 | .\" | ||
| 53 | .Dd $Mdocdate: December 5 2016 $ | ||
| 4 | .Dt D2I_RSAPUBLICKEY 3 | 54 | .Dt D2I_RSAPUBLICKEY 3 |
| 5 | .Os | 55 | .Os |
| 6 | .Sh NAME | 56 | .Sh NAME |
| @@ -10,6 +60,10 @@ | |||
| 10 | .Nm i2d_RSAPrivateKey , | 60 | .Nm i2d_RSAPrivateKey , |
| 11 | .Nm d2i_RSA_PUBKEY , | 61 | .Nm d2i_RSA_PUBKEY , |
| 12 | .Nm i2d_RSA_PUBKEY , | 62 | .Nm i2d_RSA_PUBKEY , |
| 63 | .Nm d2i_RSA_PUBKEY_bio , | ||
| 64 | .Nm d2i_RSA_PUBKEY_fp , | ||
| 65 | .Nm i2d_RSA_PUBKEY_bio , | ||
| 66 | .Nm i2d_RSA_PUBKEY_fp , | ||
| 13 | .Nm i2d_Netscape_RSA , | 67 | .Nm i2d_Netscape_RSA , |
| 14 | .Nm d2i_Netscape_RSA | 68 | .Nm d2i_Netscape_RSA |
| 15 | .Nd RSA public and private key encoding functions | 69 | .Nd RSA public and private key encoding functions |
| @@ -39,6 +93,26 @@ | |||
| 39 | .Fa "unsigned char **pp" | 93 | .Fa "unsigned char **pp" |
| 40 | .Fc | 94 | .Fc |
| 41 | .Ft RSA * | 95 | .Ft RSA * |
| 96 | .Fo d2i_RSA_PUBKEY_bio | ||
| 97 | .Fa "BIO *bp" | ||
| 98 | .Fa "RSA **a" | ||
| 99 | .Fc | ||
| 100 | .Ft RSA * | ||
| 101 | .Fo d2i_RSA_PUBKEY_fp | ||
| 102 | .Fa "FILE *fp" | ||
| 103 | .Fa "RSA **a" | ||
| 104 | .Fc | ||
| 105 | .Ft int | ||
| 106 | .Fo i2d_RSA_PUBKEY_bio | ||
| 107 | .Fa "BIO *bp" | ||
| 108 | .Fa "RSA *a" | ||
| 109 | .Fc | ||
| 110 | .Ft int | ||
| 111 | .Fo i2d_RSA_PUBKEY_fp | ||
| 112 | .Fa "FILE *fp" | ||
| 113 | .Fa "RSA *a" | ||
| 114 | .Fc | ||
| 115 | .Ft RSA * | ||
| 42 | .Fo d2i_RSAPrivateKey | 116 | .Fo d2i_RSAPrivateKey |
| 43 | .Fa "RSA **a" | 117 | .Fa "RSA **a" |
| 44 | .Fa "const unsigned char **pp" | 118 | .Fa "const unsigned char **pp" |
| @@ -74,6 +148,21 @@ and | |||
| 74 | decode and encode an RSA public key using a SubjectPublicKeyInfo | 148 | decode and encode an RSA public key using a SubjectPublicKeyInfo |
| 75 | (certificate public key) structure. | 149 | (certificate public key) structure. |
| 76 | .Pp | 150 | .Pp |
| 151 | .Fn d2i_RSA_PUBKEY_bio , | ||
| 152 | .Fn d2i_RSA_PUBKEY_fp , | ||
| 153 | .Fn i2d_RSA_PUBKEY_bio , | ||
| 154 | and | ||
| 155 | .Fn i2d_RSA_PUBKEY_fp | ||
| 156 | are similar to | ||
| 157 | .Fn d2i_RSA_PUBKEY | ||
| 158 | and | ||
| 159 | .Fn i2d_RSA_PUBKEY | ||
| 160 | except that they decode or encode using a | ||
| 161 | .Vt BIO | ||
| 162 | or | ||
| 163 | .Vt FILE | ||
| 164 | pointer. | ||
| 165 | .Pp | ||
| 77 | .Fn d2i_RSAPrivateKey , | 166 | .Fn d2i_RSAPrivateKey , |
| 78 | .Fn i2d_RSAPrivateKey | 167 | .Fn i2d_RSAPrivateKey |
| 79 | decode and encode a PKCS#1 RSAPrivateKey structure. | 168 | decode and encode a PKCS#1 RSAPrivateKey structure. |
