]>
Commit | Line | Data |
---|---|---|
ece9304c RL |
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 ENCODER | |
11 | # error Macro ENCODER undefined | |
12 | #endif | |
13 | ||
8ae40cf5 RL |
14 | ENCODER("RSA", "yes", "text", "private", |
15 | rsa_priv_to_text_encoder_functions), | |
16 | ENCODER("RSA", "yes", "text", "public", | |
17 | rsa_pub_to_text_encoder_functions), | |
18 | ENCODER("RSA", "yes", "der", "private", | |
19 | rsa_priv_to_der_encoder_functions), | |
20 | ENCODER("RSA", "yes", "der", "public", | |
21 | rsa_pub_to_der_encoder_functions), | |
22 | ENCODER("RSA", "yes", "pem", "private", | |
23 | rsa_priv_to_pem_encoder_functions), | |
24 | ENCODER("RSA", "yes", "pem", "public", | |
25 | rsa_pub_to_pem_encoder_functions), | |
ece9304c | 26 | ENCODER("RSA-PSS", "yes", "text", "private", |
8ae40cf5 RL |
27 | rsa_priv_to_text_encoder_functions), |
28 | ENCODER("RSA-PSS", "yes", "text", "public", | |
29 | rsa_pub_to_text_encoder_functions), | |
30 | ENCODER("RSA-PSS", "yes", "der", "private", | |
31 | rsa_priv_to_der_encoder_functions), | |
32 | ENCODER("RSA-PSS", "yes", "der", "public", | |
33 | rsa_pub_to_der_encoder_functions), | |
34 | ENCODER("RSA-PSS", "yes", "pem", "private", | |
35 | rsa_priv_to_pem_encoder_functions), | |
36 | ENCODER("RSA-PSS", "yes", "pem", "public", | |
37 | rsa_pub_to_pem_encoder_functions), | |
ece9304c RL |
38 | |
39 | #ifndef OPENSSL_NO_DH | |
8ae40cf5 RL |
40 | ENCODER("DH", "yes", "text", "private", |
41 | dh_priv_to_text_encoder_functions), | |
42 | ENCODER("DH", "yes", "text", "public", | |
43 | dh_pub_to_text_encoder_functions), | |
44 | ENCODER("DH", "yes", "text", "parameters", | |
45 | dh_param_to_text_encoder_functions), | |
46 | ENCODER("DH", "yes", "der", "private", | |
47 | dh_priv_to_der_encoder_functions), | |
48 | ENCODER("DH", "yes", "der", "public", | |
49 | dh_pub_to_der_encoder_functions), | |
50 | ENCODER("DH", "yes", "der", "parameters", | |
51 | dh_param_to_der_encoder_functions), | |
52 | ENCODER("DH", "yes", "pem", "private", | |
53 | dh_priv_to_pem_encoder_functions), | |
54 | ENCODER("DH", "yes", "pem", "public", | |
55 | dh_pub_to_pem_encoder_functions), | |
56 | ENCODER("DH", "yes", "pem", "parameters", | |
57 | dh_param_to_pem_encoder_functions), | |
ece9304c | 58 | |
8ae40cf5 RL |
59 | ENCODER("DHX", "yes", "text", "private", |
60 | dh_priv_to_text_encoder_functions), | |
61 | ENCODER("DHX", "yes", "text", "public", | |
62 | dh_pub_to_text_encoder_functions), | |
63 | ENCODER("DHX", "yes", "text", "parameters", | |
64 | dh_param_to_text_encoder_functions), | |
65 | ENCODER("DHX", "yes", "der", "private", | |
66 | dh_priv_to_der_encoder_functions), | |
67 | ENCODER("DHX", "yes", "der", "public", | |
68 | dh_pub_to_der_encoder_functions), | |
69 | ENCODER("DHX", "yes", "der", "parameters", | |
70 | dh_param_to_der_encoder_functions), | |
71 | ENCODER("DHX", "yes", "pem", "private", | |
72 | dh_priv_to_pem_encoder_functions), | |
73 | ENCODER("DHX", "yes", "pem", "public", | |
74 | dh_pub_to_pem_encoder_functions), | |
75 | ENCODER("DHX", "yes", "pem", "parameters", | |
76 | dh_param_to_pem_encoder_functions), | |
ece9304c RL |
77 | #endif |
78 | ||
79 | #ifndef OPENSSL_NO_DSA | |
8ae40cf5 RL |
80 | ENCODER("DSA", "yes", "text", "private", |
81 | dsa_priv_to_text_encoder_functions), | |
82 | ENCODER("DSA", "yes", "text", "public", | |
83 | dsa_pub_to_text_encoder_functions), | |
ece9304c | 84 | ENCODER("DSA", "yes", "text", "parameters", |
8ae40cf5 RL |
85 | dsa_param_to_text_encoder_functions), |
86 | ENCODER("DSA", "yes", "der", "private", | |
87 | dsa_priv_to_der_encoder_functions), | |
88 | ENCODER("DSA", "yes", "der", "public", | |
89 | dsa_pub_to_der_encoder_functions), | |
90 | ENCODER("DSA", "yes", "der", "parameters", | |
91 | dsa_param_to_der_encoder_functions), | |
92 | ENCODER("DSA", "yes", "pem", "private", | |
93 | dsa_priv_to_pem_encoder_functions), | |
94 | ENCODER("DSA", "yes", "pem", "public", | |
95 | dsa_pub_to_pem_encoder_functions), | |
96 | ENCODER("DSA", "yes", "pem", "parameters", | |
97 | dsa_param_to_pem_encoder_functions), | |
ece9304c RL |
98 | #endif |
99 | ||
100 | #ifndef OPENSSL_NO_EC | |
101 | ENCODER("X25519", "yes", "text", "private", | |
8ae40cf5 | 102 | x25519_priv_to_text_encoder_functions), |
ece9304c | 103 | ENCODER("X25519", "yes", "text", "public", |
8ae40cf5 | 104 | x25519_pub_to_text_encoder_functions), |
ece9304c | 105 | ENCODER("X25519", "yes", "der", "private", |
8ae40cf5 RL |
106 | x25519_priv_to_der_encoder_functions), |
107 | ENCODER("X25519", "yes", "der", "public", | |
108 | x25519_pub_to_der_encoder_functions), | |
ece9304c | 109 | ENCODER("X25519", "yes", "pem", "private", |
8ae40cf5 RL |
110 | x25519_priv_to_pem_encoder_functions), |
111 | ENCODER("X25519", "yes", "pem", "public", | |
112 | x25519_pub_to_pem_encoder_functions), | |
ece9304c | 113 | |
8ae40cf5 RL |
114 | ENCODER("X448", "yes", "text", "private", |
115 | x448_priv_to_text_encoder_functions), | |
116 | ENCODER("X448", "yes", "text", "public", | |
117 | x448_pub_to_text_encoder_functions), | |
118 | ENCODER("X448", "yes", "der", "private", | |
119 | x448_priv_to_der_encoder_functions), | |
120 | ENCODER("X448", "yes", "der", "public", | |
121 | x448_pub_to_der_encoder_functions), | |
122 | ENCODER("X448", "yes", "pem", "private", | |
123 | x448_priv_to_pem_encoder_functions), | |
124 | ENCODER("X448", "yes", "pem", "public", | |
125 | x448_pub_to_pem_encoder_functions), | |
ece9304c RL |
126 | |
127 | ENCODER("ED25519", "yes", "text", "private", | |
8ae40cf5 | 128 | ed25519_priv_to_text_encoder_functions), |
ece9304c | 129 | ENCODER("ED25519", "yes", "text", "public", |
8ae40cf5 | 130 | ed25519_pub_to_text_encoder_functions), |
ece9304c | 131 | ENCODER("ED25519", "yes", "der", "private", |
8ae40cf5 | 132 | ed25519_priv_to_der_encoder_functions), |
ece9304c | 133 | ENCODER("ED25519", "yes", "der", "public", |
8ae40cf5 | 134 | ed25519_pub_to_der_encoder_functions), |
ece9304c | 135 | ENCODER("ED25519", "yes", "pem", "private", |
8ae40cf5 | 136 | ed25519_priv_to_pem_encoder_functions), |
ece9304c | 137 | ENCODER("ED25519", "yes", "pem", "public", |
8ae40cf5 | 138 | ed25519_pub_to_pem_encoder_functions), |
ece9304c | 139 | |
8ae40cf5 RL |
140 | ENCODER("ED448", "yes", "text", "private", |
141 | ed448_priv_to_text_encoder_functions), | |
142 | ENCODER("ED448", "yes", "text", "public", | |
143 | ed448_pub_to_text_encoder_functions), | |
144 | ENCODER("ED448", "yes", "der", "private", | |
145 | ed448_priv_to_der_encoder_functions), | |
146 | ENCODER("ED448", "yes", "der", "public", | |
147 | ed448_pub_to_der_encoder_functions), | |
148 | ENCODER("ED448", "yes", "pem", "private", | |
149 | ed448_priv_to_pem_encoder_functions), | |
150 | ENCODER("ED448", "yes", "pem", "public", | |
151 | ed448_pub_to_pem_encoder_functions), | |
ece9304c | 152 | |
8ae40cf5 RL |
153 | ENCODER("EC", "yes", "text", "private", |
154 | ec_priv_to_text_encoder_functions), | |
155 | ENCODER("EC", "yes", "text", "public", | |
156 | ec_pub_to_text_encoder_functions), | |
157 | ENCODER("EC", "yes", "text", "parameters", | |
158 | ec_param_to_text_encoder_functions), | |
159 | ENCODER("EC", "yes", "der", "private", | |
160 | ec_priv_to_der_encoder_functions), | |
161 | ENCODER("EC", "yes", "der", "public", | |
162 | ec_pub_to_der_encoder_functions), | |
163 | ENCODER("EC", "yes", "der", "parameters", | |
164 | ec_param_to_der_encoder_functions), | |
165 | ENCODER("EC", "yes", "pem", "private", | |
166 | ec_priv_to_pem_encoder_functions), | |
167 | ENCODER("EC", "yes", "pem", "public", | |
168 | ec_pub_to_pem_encoder_functions), | |
169 | ENCODER("EC", "yes", "pem", "parameters", | |
170 | ec_param_to_pem_encoder_functions), | |
ece9304c | 171 | #endif |