1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
use wasm_bindgen::prelude::*; #[wasm_bindgen] extern { #[derive(Clone, Debug)] pub type CryptoConstants; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ALPN_ENABLED(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn DH_CHECK_P_NOT_PRIME(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn DH_CHECK_P_NOT_SAFE_PRIME(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn DH_NOT_SUITABLE_GENERATOR(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn DH_UNABLE_TO_CHECK_GENERATOR(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_ALL(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_CIPHERS(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_DH(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_DIGESTS(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_DSA(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_EC(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_NONE(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_PKEY_ASN1_METHS(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_PKEY_METHS(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_RAND(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn ENGINE_METHOD_RSA(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn OPENSSL_VERSION_NUMBER(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_NO_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_PKCS1_OAEP_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_PKCS1_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_PKCS1_PSS_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_PSS_SALTLEN_AUTO(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_PSS_SALTLEN_DIGEST(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_PSS_SALTLEN_MAX_SIGN(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_SSLV23_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn RSA_X931_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_ALL(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_CIPHER_SERVER_PREFERENCE(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_CISCO_ANYCONNECT(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_COOKIE_EXCHANGE(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_CRYPTOPRO_TLSEXT_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_EPHEMERAL_RSA(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_LEGACY_SERVER_CONNECT(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_MICROSOFT_SESS_ID_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_MSIE_SSLV2_RSA_PADDING(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NETSCAPE_CA_DN_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NETSCAPE_CHALLENGE_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_COMPRESSION(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_QUERY_MTU(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_SSLv2(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_SSLv3(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_TICKET(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_TLSv1_1(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_TLSv1_2(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_NO_TLSv1(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_PKCS1_CHECK_1(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_PKCS1_CHECK_2(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_SINGLE_DH_USE(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_SINGLE_ECDH_USE(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_SSLEAY_080_CLIENT_DH_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_TLS_BLOCK_PADDING_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_TLS_D5_BUG(this: &CryptoConstants) -> i32; #[allow(non_snake_case)] #[wasm_bindgen(method, getter)] pub fn SSL_OP_TLS_ROLLBACK_BUG(this: &CryptoConstants) -> i32; }