]>
Commit | Line | Data |
---|---|---|
dfc0857d P |
1 | /* |
2 | * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. | |
3 | * | |
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use | |
5 | * this file except in compliance with the License. You can obtain a copy | |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
8 | */ | |
9 | ||
10 | #ifndef SER | |
11 | # error Macro SER undefined | |
12 | #endif | |
13 | ||
14 | SER("RSA", "yes", "text", "private", rsa_priv_text_serializer_functions), | |
15 | SER("RSA", "yes", "text", "public", rsa_pub_text_serializer_functions), | |
16 | SER("RSA", "yes", "der", "private", rsa_priv_der_serializer_functions), | |
17 | SER("RSA", "yes", "der", "public", rsa_pub_der_serializer_functions), | |
18 | SER("RSA", "yes", "pem", "private", rsa_priv_pem_serializer_functions), | |
19 | SER("RSA", "yes", "pem", "public", rsa_pub_pem_serializer_functions), | |
20 | SER("RSA-PSS", "yes", "text", "private", | |
21 | rsa_priv_text_serializer_functions), | |
22 | SER("RSA-PSS", "yes", "text", "public", rsa_pub_text_serializer_functions), | |
23 | SER("RSA-PSS", "yes", "der", "private", rsa_priv_der_serializer_functions), | |
24 | SER("RSA-PSS", "yes", "der", "public", rsa_pub_der_serializer_functions), | |
25 | SER("RSA-PSS", "yes", "pem", "private", rsa_priv_pem_serializer_functions), | |
26 | SER("RSA-PSS", "yes", "pem", "public", rsa_pub_pem_serializer_functions), | |
27 | ||
28 | #ifndef OPENSSL_NO_DH | |
29 | SER("DH", "yes", "text", "private", dh_priv_text_serializer_functions), | |
30 | SER("DH", "yes", "text", "public", dh_pub_text_serializer_functions), | |
31 | SER("DH", "yes", "text", "parameters", dh_param_text_serializer_functions), | |
32 | SER("DH", "yes", "der", "private", dh_priv_der_serializer_functions), | |
33 | SER("DH", "yes", "der", "public", dh_pub_der_serializer_functions), | |
34 | SER("DH", "yes", "der", "parameters", dh_param_der_serializer_functions), | |
35 | SER("DH", "yes", "pem", "private", dh_priv_pem_serializer_functions), | |
36 | SER("DH", "yes", "pem", "public", dh_pub_pem_serializer_functions), | |
37 | SER("DH", "yes", "pem", "parameters", dh_param_pem_serializer_functions), | |
31d2daec SL |
38 | |
39 | SER("DHX", "yes", "text", "private", dh_priv_text_serializer_functions), | |
40 | SER("DHX", "yes", "text", "public", dh_pub_text_serializer_functions), | |
41 | SER("DHX", "yes", "text", "parameters", dh_param_text_serializer_functions), | |
42 | SER("DHX", "yes", "der", "private", dh_priv_der_serializer_functions), | |
43 | SER("DHX", "yes", "der", "public", dh_pub_der_serializer_functions), | |
44 | SER("DHX", "yes", "der", "parameters", dh_param_der_serializer_functions), | |
45 | SER("DHX", "yes", "pem", "private", dh_priv_pem_serializer_functions), | |
46 | SER("DHX", "yes", "pem", "public", dh_pub_pem_serializer_functions), | |
47 | SER("DHX", "yes", "pem", "parameters", dh_param_pem_serializer_functions), | |
dfc0857d P |
48 | #endif |
49 | ||
50 | #ifndef OPENSSL_NO_DSA | |
51 | SER("DSA", "yes", "text", "private", dsa_priv_text_serializer_functions), | |
52 | SER("DSA", "yes", "text", "public", dsa_pub_text_serializer_functions), | |
53 | SER("DSA", "yes", "text", "parameters", | |
54 | dsa_param_text_serializer_functions), | |
55 | SER("DSA", "yes", "der", "private", dsa_priv_der_serializer_functions), | |
56 | SER("DSA", "yes", "der", "public", dsa_pub_der_serializer_functions), | |
57 | SER("DSA", "yes", "der", "parameters", dsa_param_der_serializer_functions), | |
58 | SER("DSA", "yes", "pem", "private", dsa_priv_pem_serializer_functions), | |
59 | SER("DSA", "yes", "pem", "public", dsa_pub_pem_serializer_functions), | |
60 | SER("DSA", "yes", "pem", "parameters", dsa_param_pem_serializer_functions), | |
61 | #endif | |
62 | ||
63 | #ifndef OPENSSL_NO_EC | |
64 | SER("X25519", "yes", "text", "private", | |
65 | x25519_priv_print_serializer_functions), | |
66 | SER("X25519", "yes", "text", "public", | |
67 | x25519_pub_print_serializer_functions), | |
68 | SER("X25519", "yes", "der", "private", | |
69 | x25519_priv_der_serializer_functions), | |
70 | SER("X25519", "yes", "der", "public", x25519_pub_der_serializer_functions), | |
71 | SER("X25519", "yes", "pem", "private", | |
72 | x25519_priv_pem_serializer_functions), | |
73 | SER("X25519", "yes", "pem", "public", x25519_pub_pem_serializer_functions), | |
74 | ||
75 | SER("X448", "no", "text", "private", x448_priv_print_serializer_functions), | |
76 | SER("X448", "no", "text", "public", x448_pub_print_serializer_functions), | |
77 | SER("X448", "no", "der", "private", x448_priv_der_serializer_functions), | |
78 | SER("X448", "no", "der", "public", x448_pub_der_serializer_functions), | |
79 | SER("X448", "no", "pem", "private", x448_priv_pem_serializer_functions), | |
80 | SER("X448", "no", "pem", "public", x448_pub_pem_serializer_functions), | |
81 | ||
82 | SER("ED25519", "yes", "text", "private", | |
83 | ed25519_priv_print_serializer_functions), | |
84 | SER("ED25519", "yes", "text", "public", | |
85 | ed25519_pub_print_serializer_functions), | |
86 | SER("ED25519", "yes", "der", "private", | |
87 | ed25519_priv_der_serializer_functions), | |
88 | SER("ED25519", "yes", "der", "public", | |
89 | ed25519_pub_der_serializer_functions), | |
90 | SER("ED25519", "yes", "pem", "private", | |
91 | ed25519_priv_pem_serializer_functions), | |
92 | SER("ED25519", "yes", "pem", "public", | |
93 | ed25519_pub_pem_serializer_functions), | |
94 | ||
95 | SER("ED448", "no", "text", "private", | |
96 | ed448_priv_print_serializer_functions), | |
97 | SER("ED448", "no", "text", "public", ed448_pub_print_serializer_functions), | |
98 | SER("ED448", "no", "der", "private", ed448_priv_der_serializer_functions), | |
99 | SER("ED448", "no", "der", "public", ed448_pub_der_serializer_functions), | |
100 | SER("ED448", "no", "pem", "private", ed448_priv_pem_serializer_functions), | |
101 | SER("ED448", "no", "pem", "public", ed448_pub_pem_serializer_functions), | |
102 | ||
103 | SER("EC", "yes", "text", "private", ec_priv_text_serializer_functions), | |
104 | SER("EC", "yes", "text", "public", ec_pub_text_serializer_functions), | |
105 | SER("EC", "yes", "text", "parameters", ec_param_text_serializer_functions), | |
106 | SER("EC", "yes", "der", "private", ec_priv_der_serializer_functions), | |
107 | SER("EC", "yes", "der", "public", ec_pub_der_serializer_functions), | |
108 | SER("EC", "yes", "der", "parameters", ec_param_der_serializer_functions), | |
109 | SER("EC", "yes", "pem", "private", ec_priv_pem_serializer_functions), | |
110 | SER("EC", "yes", "pem", "public", ec_pub_pem_serializer_functions), | |
111 | SER("EC", "yes", "pem", "parameters", ec_param_pem_serializer_functions), | |
112 | #endif |