diff options
Diffstat (limited to 'src/lib/libcrypto/man/d2i_PROXY_POLICY.3')
| -rw-r--r-- | src/lib/libcrypto/man/d2i_PROXY_POLICY.3 | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/src/lib/libcrypto/man/d2i_PROXY_POLICY.3 b/src/lib/libcrypto/man/d2i_PROXY_POLICY.3 deleted file mode 100644 index 794c6edcec..0000000000 --- a/src/lib/libcrypto/man/d2i_PROXY_POLICY.3 +++ /dev/null | |||
| @@ -1,97 +0,0 @@ | |||
| 1 | .\" $OpenBSD: d2i_PROXY_POLICY.3,v 1.2 2018/03/22 22:07:12 schwarze Exp $ | ||
| 2 | .\" | ||
| 3 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | ||
| 4 | .\" | ||
| 5 | .\" Permission to use, copy, modify, and distribute this software for any | ||
| 6 | .\" purpose with or without fee is hereby granted, provided that the above | ||
| 7 | .\" copyright notice and this permission notice appear in all copies. | ||
| 8 | .\" | ||
| 9 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 10 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 11 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 12 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 13 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 16 | .\" | ||
| 17 | .Dd $Mdocdate: March 22 2018 $ | ||
| 18 | .Dt D2I_PROXY_POLICY 3 | ||
| 19 | .Os | ||
| 20 | .Sh NAME | ||
| 21 | .Nm d2i_PROXY_POLICY , | ||
| 22 | .Nm i2d_PROXY_POLICY , | ||
| 23 | .Nm d2i_PROXY_CERT_INFO_EXTENSION , | ||
| 24 | .Nm i2d_PROXY_CERT_INFO_EXTENSION | ||
| 25 | .Nd decode and encode X.509 proxy certificate extensions | ||
| 26 | .Sh SYNOPSIS | ||
| 27 | .In openssl/x509v3.h | ||
| 28 | .Ft PROXY_POLICY * | ||
| 29 | .Fo d2i_PROXY_POLICY | ||
| 30 | .Fa "PROXY_POLICY **val_out" | ||
| 31 | .Fa "const unsigned char **der_in" | ||
| 32 | .Fa "long length" | ||
| 33 | .Fc | ||
| 34 | .Ft int | ||
| 35 | .Fo i2d_PROXY_POLICY | ||
| 36 | .Fa "PROXY_POLICY *val_in" | ||
| 37 | .Fa "unsigned char **der_out" | ||
| 38 | .Fc | ||
| 39 | .Ft PROXY_CERT_INFO_EXTENSION * | ||
| 40 | .Fo d2i_PROXY_CERT_INFO_EXTENSION | ||
| 41 | .Fa "PROXY_CERT_INFO_EXTENSION **val_out" | ||
| 42 | .Fa "const unsigned char **der_in" | ||
| 43 | .Fa "long length" | ||
| 44 | .Fc | ||
| 45 | .Ft int | ||
| 46 | .Fo i2d_PROXY_CERT_INFO_EXTENSION | ||
| 47 | .Fa "PROXY_CERT_INFO_EXTENSION *val_in" | ||
| 48 | .Fa "unsigned char **der_out" | ||
| 49 | .Fc | ||
| 50 | .Sh DESCRIPTION | ||
| 51 | These functions encode and decode X.509 extensions that decide | ||
| 52 | whether a certificate is a proxy certificate, and which policies | ||
| 53 | apply to it. | ||
| 54 | For details about the semantics, examples, caveats, and bugs, see | ||
| 55 | .Xr ASN1_item_d2i 3 . | ||
| 56 | .Pp | ||
| 57 | .Fn d2i_PROXY_POLICY | ||
| 58 | and | ||
| 59 | .Fn i2d_PROXY_POLICY | ||
| 60 | decode and encode an ASN.1 | ||
| 61 | .Vt ProxyPolicy | ||
| 62 | structure defined in RFC 3820 section 3.8. | ||
| 63 | .Pp | ||
| 64 | .Fn d2i_PROXY_CERT_INFO_EXTENSION | ||
| 65 | and | ||
| 66 | .Fn i2d_PROXY_CERT_INFO_EXTENSION | ||
| 67 | decode and encode an ASN.1 | ||
| 68 | .Vt ProxyCertInfo | ||
| 69 | structure defined in RFC 3820 section 3.8. | ||
| 70 | .Sh RETURN VALUES | ||
| 71 | .Fn d2i_PROXY_POLICY | ||
| 72 | and | ||
| 73 | .Fn d2i_PROXY_CERT_INFO_EXTENSION | ||
| 74 | return a | ||
| 75 | .Vt PROXY_POLICY | ||
| 76 | or | ||
| 77 | .Vt PROXY_CERT_INFO_EXTENSION | ||
| 78 | object, respectively, or | ||
| 79 | .Dv NULL | ||
| 80 | if an error occurs. | ||
| 81 | .Pp | ||
| 82 | .Fn i2d_PROXY_POLICY | ||
| 83 | and | ||
| 84 | .Fn i2d_PROXY_CERT_INFO_EXTENSION | ||
| 85 | return the number of bytes successfully encoded or a negative value | ||
| 86 | if an error occurs. | ||
| 87 | .Sh SEE ALSO | ||
| 88 | .Xr ASN1_item_d2i 3 , | ||
| 89 | .Xr PROXY_POLICY_new 3 , | ||
| 90 | .Xr X509_EXTENSION_new 3 | ||
| 91 | .Sh STANDARDS | ||
| 92 | RFC 3820: Internet X.509 Public Key Infrastructure (PKI) Proxy | ||
| 93 | Certificate Profile | ||
| 94 | .Sh HISTORY | ||
| 95 | These functions first appeared in OpenSSL 0.9.7g | ||
| 96 | and have been available since | ||
| 97 | .Ox 3.8 . | ||
