diff options
author | cvs2svn <admin@example.com> | 2025-04-14 17:32:06 +0000 |
---|---|---|
committer | cvs2svn <admin@example.com> | 2025-04-14 17:32:06 +0000 |
commit | eb8dd9dca1228af0cd132f515509051ecfabf6f6 (patch) | |
tree | edb6da6af7e865d488dc1a29309f1e1ec226e603 /src/lib/libcrypto/man/EVP_PKCS82PKEY.3 | |
parent | 247f0352e0ed72a4f476db9dc91f4d982bc83eb2 (diff) | |
download | openbsd-tb_20250414.tar.gz openbsd-tb_20250414.tar.bz2 openbsd-tb_20250414.zip |
This commit was manufactured by cvs2git to create tag 'tb_20250414'.tb_20250414
Diffstat (limited to 'src/lib/libcrypto/man/EVP_PKCS82PKEY.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_PKCS82PKEY.3 | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKCS82PKEY.3 b/src/lib/libcrypto/man/EVP_PKCS82PKEY.3 deleted file mode 100644 index 30a43b8dca..0000000000 --- a/src/lib/libcrypto/man/EVP_PKCS82PKEY.3 +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | .\" $OpenBSD: EVP_PKCS82PKEY.3,v 1.3 2024/03/05 19:21:31 tb Exp $ | ||
2 | .\" | ||
3 | .\" Copyright (c) 2021 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 5 2024 $ | ||
18 | .Dt EVP_PKCS82PKEY 3 | ||
19 | .Os | ||
20 | .Sh NAME | ||
21 | .Nm EVP_PKCS82PKEY , | ||
22 | .Nm EVP_PKEY2PKCS8 | ||
23 | .Nd convert between EVP_PKEY and PKCS#8 PrivateKeyInfo | ||
24 | .Sh SYNOPSIS | ||
25 | .In openssl/x509.h | ||
26 | .Ft EVP_PKEY * | ||
27 | .Fn EVP_PKCS82PKEY "const PKCS8_PRIV_KEY_INFO *keyinfo" | ||
28 | .Ft PKCS8_PRIV_KEY_INFO * | ||
29 | .Fn EVP_PKEY2PKCS8 "EVP_PKEY *pkey" | ||
30 | .Sh DESCRIPTION | ||
31 | .Fn EVP_PKCS82PKEY | ||
32 | extracts the private key from a PKCS#8 | ||
33 | .Vt PrivateKeyInfo | ||
34 | structure. | ||
35 | .Pp | ||
36 | .Fn EVP_PKEY2PKCS8 | ||
37 | creates a PKCS#8 | ||
38 | .Vt PrivateKeyInfo | ||
39 | structure representing the private key contained in | ||
40 | .Fa pkey . | ||
41 | .Pp | ||
42 | Supported algorithms include DH, DSA, EC, and RSA. | ||
43 | .Sh RETURN VALUES | ||
44 | These functions return a newly allocated object or | ||
45 | .Dv NULL | ||
46 | if the algorithm indicated in | ||
47 | .Fa keyinfo | ||
48 | or | ||
49 | .Fa pkey | ||
50 | is unsupported or if memory allocation, decoding, or encoding fails. | ||
51 | .Sh SEE ALSO | ||
52 | .Xr EVP_PKEY_base_id 3 , | ||
53 | .Xr EVP_PKEY_new 3 , | ||
54 | .Xr PKCS8_pkey_set0 3 , | ||
55 | .Xr PKCS8_PRIV_KEY_INFO_new 3 , | ||
56 | .Xr X509_ALGOR_get0 3 | ||
57 | .Sh HISTORY | ||
58 | These functions first appeared in OpenSSL 0.9.3 | ||
59 | and have been available since | ||
60 | .Ox 2.6 . | ||