diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/d2i_X509_ALGOR.3 | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/d2i_X509_ALGOR.3 b/src/lib/libcrypto/man/d2i_X509_ALGOR.3 index 530ae86cf4..7c53d5ae61 100644 --- a/src/lib/libcrypto/man/d2i_X509_ALGOR.3 +++ b/src/lib/libcrypto/man/d2i_X509_ALGOR.3 | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | .\" $OpenBSD: d2i_X509_ALGOR.3,v 1.9 2018/03/27 17:35:50 schwarze Exp $ | 1 | .\" $OpenBSD: d2i_X509_ALGOR.3,v 1.10 2021/11/03 15:02:14 schwarze Exp $ |
| 2 | .\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 | ||
| 3 | .\" | 2 | .\" |
| 4 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2016, 2021 Ingo Schwarze <schwarze@openbsd.org> |
| 5 | .\" | 4 | .\" |
| 6 | .\" Permission to use, copy, modify, and distribute this software for any | 5 | .\" Permission to use, copy, modify, and distribute this software for any |
| 7 | .\" purpose with or without fee is hereby granted, provided that the above | 6 | .\" purpose with or without fee is hereby granted, provided that the above |
| @@ -15,12 +14,14 @@ | |||
| 15 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 16 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 17 | .\" | 16 | .\" |
| 18 | .Dd $Mdocdate: March 27 2018 $ | 17 | .Dd $Mdocdate: November 3 2021 $ |
| 19 | .Dt D2I_X509_ALGOR 3 | 18 | .Dt D2I_X509_ALGOR 3 |
| 20 | .Os | 19 | .Os |
| 21 | .Sh NAME | 20 | .Sh NAME |
| 22 | .Nm d2i_X509_ALGOR , | 21 | .Nm d2i_X509_ALGOR , |
| 23 | .Nm i2d_X509_ALGOR | 22 | .Nm i2d_X509_ALGOR , |
| 23 | .Nm d2i_X509_ALGORS , | ||
| 24 | .Nm i2d_X509_ALGORS | ||
| 24 | .Nd decode and encode algorithm identifiers | 25 | .Nd decode and encode algorithm identifiers |
| 25 | .Sh SYNOPSIS | 26 | .Sh SYNOPSIS |
| 26 | .In openssl/x509.h | 27 | .In openssl/x509.h |
| @@ -35,6 +36,17 @@ | |||
| 35 | .Fa "X509_ALGOR *val_in" | 36 | .Fa "X509_ALGOR *val_in" |
| 36 | .Fa "unsigned char **der_out" | 37 | .Fa "unsigned char **der_out" |
| 37 | .Fc | 38 | .Fc |
| 39 | .Ft X509_ALGORS * | ||
| 40 | .Fo d2i_X509_ALGORS | ||
| 41 | .Fa "X509_ALGORS **val_out" | ||
| 42 | .Fa "const unsigned char **der_in" | ||
| 43 | .Fa "long length" | ||
| 44 | .Fc | ||
| 45 | .Ft int | ||
| 46 | .Fo i2d_X509_ALGORS | ||
| 47 | .Fa "X509_ALGORS *val_in" | ||
| 48 | .Fa "unsigned char **der_out" | ||
| 49 | .Fc | ||
| 38 | .Sh DESCRIPTION | 50 | .Sh DESCRIPTION |
| 39 | .Fn d2i_X509_ALGOR | 51 | .Fn d2i_X509_ALGOR |
| 40 | and | 52 | and |
| @@ -42,10 +54,23 @@ and | |||
| 42 | decode and encode an ASN.1 | 54 | decode and encode an ASN.1 |
| 43 | .Vt AlgorithmIdentifier | 55 | .Vt AlgorithmIdentifier |
| 44 | structure defined in RFC 5280 section 4.1.1.2. | 56 | structure defined in RFC 5280 section 4.1.1.2. |
| 57 | .Pp | ||
| 58 | .Fn d2i_X509_ALGORS | ||
| 59 | and | ||
| 60 | .Fn i2d_X509_ALGORS | ||
| 61 | decode and encode an ASN.1 sequence of | ||
| 62 | .Vt AlgorithmIdentifier | ||
| 63 | structures. | ||
| 64 | The data type | ||
| 65 | .Vt X509_ALGORS | ||
| 66 | is defined as | ||
| 67 | .Vt STACK_OF(X509_ALGOR) . | ||
| 68 | .Pp | ||
| 45 | For details about the semantics, examples, caveats, and bugs, see | 69 | For details about the semantics, examples, caveats, and bugs, see |
| 46 | .Xr ASN1_item_d2i 3 . | 70 | .Xr ASN1_item_d2i 3 . |
| 47 | .Sh SEE ALSO | 71 | .Sh SEE ALSO |
| 48 | .Xr ASN1_item_d2i 3 , | 72 | .Xr ASN1_item_d2i 3 , |
| 73 | .Xr STACK_OF 3 , | ||
| 49 | .Xr X509_ALGOR_new 3 | 74 | .Xr X509_ALGOR_new 3 |
| 50 | .Sh STANDARDS | 75 | .Sh STANDARDS |
| 51 | RFC 5280: Internet X.509 Public Key Infrastructure Certificate and | 76 | RFC 5280: Internet X.509 Public Key Infrastructure Certificate and |
| @@ -56,3 +81,9 @@ and | |||
| 56 | .Fn i2d_X509_ALGOR | 81 | .Fn i2d_X509_ALGOR |
| 57 | first appeared in SSLeay 0.5.1 and have been available since | 82 | first appeared in SSLeay 0.5.1 and have been available since |
| 58 | .Ox 2.4 . | 83 | .Ox 2.4 . |
| 84 | .Pp | ||
| 85 | .Fn d2i_X509_ALGORS | ||
| 86 | and | ||
| 87 | .Fn i2d_X509_ALGORS | ||
| 88 | first appeared in OpenSSL 0.9.8h and have been available since | ||
| 89 | .Ox 4.5 . | ||
