diff options
Diffstat (limited to 'src/lib/libcrypto')
| -rw-r--r-- | src/lib/libcrypto/man/d2i_X509_ALGOR.3 | 89 |
1 files changed, 29 insertions, 60 deletions
diff --git a/src/lib/libcrypto/man/d2i_X509_ALGOR.3 b/src/lib/libcrypto/man/d2i_X509_ALGOR.3 index 7514e5fac5..dcae72adf4 100644 --- a/src/lib/libcrypto/man/d2i_X509_ALGOR.3 +++ b/src/lib/libcrypto/man/d2i_X509_ALGOR.3 | |||
| @@ -1,83 +1,52 @@ | |||
| 1 | .\" $OpenBSD: d2i_X509_ALGOR.3,v 1.6 2016/12/25 22:15:10 schwarze Exp $ | 1 | .\" $OpenBSD: d2i_X509_ALGOR.3,v 1.7 2016/12/28 14:17:47 schwarze Exp $ |
| 2 | .\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 | 2 | .\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 |
| 3 | .\" | 3 | .\" |
| 4 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 4 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> |
| 5 | .\" Copyright (c) 2002, 2015 The OpenSSL Project. All rights reserved. | ||
| 6 | .\" | 5 | .\" |
| 7 | .\" Redistribution and use in source and binary forms, with or without | 6 | .\" Permission to use, copy, modify, and distribute this software for any |
| 8 | .\" modification, are permitted provided that the following conditions | 7 | .\" purpose with or without fee is hereby granted, provided that the above |
| 9 | .\" are met: | 8 | .\" copyright notice and this permission notice appear in all copies. |
| 10 | .\" | 9 | .\" |
| 11 | .\" 1. Redistributions of source code must retain the above copyright | 10 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 12 | .\" notice, this list of conditions and the following disclaimer. | 11 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 12 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 13 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 14 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 15 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 16 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 13 | .\" | 17 | .\" |
| 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | 18 | .Dd $Mdocdate: December 28 2016 $ |
| 15 | .\" notice, this list of conditions and the following disclaimer in | ||
| 16 | .\" the documentation and/or other materials provided with the | ||
| 17 | .\" distribution. | ||
| 18 | .\" | ||
| 19 | .\" 3. All advertising materials mentioning features or use of this | ||
| 20 | .\" software must display the following acknowledgment: | ||
| 21 | .\" "This product includes software developed by the OpenSSL Project | ||
| 22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 23 | .\" | ||
| 24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 25 | .\" endorse or promote products derived from this software without | ||
| 26 | .\" prior written permission. For written permission, please contact | ||
| 27 | .\" openssl-core@openssl.org. | ||
| 28 | .\" | ||
| 29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 31 | .\" permission of the OpenSSL Project. | ||
| 32 | .\" | ||
| 33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 34 | .\" acknowledgment: | ||
| 35 | .\" "This product includes software developed by the OpenSSL Project | ||
| 36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 37 | .\" | ||
| 38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | .\" | ||
| 51 | .Dd $Mdocdate: December 25 2016 $ | ||
| 52 | .Dt D2I_X509_ALGOR 3 | 19 | .Dt D2I_X509_ALGOR 3 |
| 53 | .Os | 20 | .Os |
| 54 | .Sh NAME | 21 | .Sh NAME |
| 55 | .Nm d2i_X509_ALGOR , | 22 | .Nm d2i_X509_ALGOR , |
| 56 | .Nm i2d_X509_ALGOR | 23 | .Nm i2d_X509_ALGOR |
| 57 | .Nd AlgorithmIdentifier functions | 24 | .Nd decode and encode algorithm identifiers |
| 58 | .Sh SYNOPSIS | 25 | .Sh SYNOPSIS |
| 59 | .In openssl/x509.h | 26 | .In openssl/x509.h |
| 60 | .Ft X509_ALGOR * | 27 | .Ft X509_ALGOR * |
| 61 | .Fo d2i_X509_ALGOR | 28 | .Fo d2i_X509_ALGOR |
| 62 | .Fa "X509_ALGOR **a" | 29 | .Fa "X509_ALGOR **val_out" |
| 63 | .Fa "unsigned char **pp" | 30 | .Fa "unsigned char **der_in" |
| 64 | .Fa "long length" | 31 | .Fa "long length" |
| 65 | .Fc | 32 | .Fc |
| 66 | .Ft int | 33 | .Ft int |
| 67 | .Fo i2d_X509_ALGOR | 34 | .Fo i2d_X509_ALGOR |
| 68 | .Fa "X509_ALGOR *a" | 35 | .Fa "X509_ALGOR *val_in" |
| 69 | .Fa "unsigned char **pp" | 36 | .Fa "unsigned char **der_out" |
| 70 | .Fc | 37 | .Fc |
| 71 | .Sh DESCRIPTION | 38 | .Sh DESCRIPTION |
| 72 | These functions decode and encode an | 39 | .Fn d2i_X509_ALGOR |
| 73 | .Vt X509_ALGOR | ||
| 74 | structure which is equivalent to the ASN.1 | ||
| 75 | .Vt AlgorithmIdentifier | ||
| 76 | structure. | ||
| 77 | They otherwise behave in a way similar to | ||
| 78 | .Xr d2i_X509 3 | ||
| 79 | and | 40 | and |
| 80 | .Xr i2d_X509 3 . | 41 | .Fn i2d_X509_ALGOR |
| 42 | decode and encode an ASN.1 | ||
| 43 | .Vt AlgorithmIdentifier | ||
| 44 | structure defined in RFC 5280 section 4.1.1.2. | ||
| 45 | For details about the semantics, examples, caveats, and bugs, see | ||
| 46 | .Xr ASN1_item_d2i 3 . | ||
| 81 | .Sh SEE ALSO | 47 | .Sh SEE ALSO |
| 82 | .Xr d2i_X509 3 , | 48 | .Xr ASN1_item_d2i 3 , |
| 83 | .Xr X509_ALGOR_new 3 | 49 | .Xr X509_ALGOR_new 3 |
| 50 | .Sh STANDARDS | ||
| 51 | RFC 5280: Internet X.509 Public Key Infrastructure Certificate and | ||
| 52 | Certificate Revocation List (CRL) Profile | ||
