1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
extern "C"
{
pub fn br_ssl_server_init_full_ec(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, cert_issuer_key_type: c_uint, sk: *const br_ec_private_key);
pub fn br_ssl_server_init_full_rsa(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_rsa_private_key);
pub fn br_ssl_server_init_mine2c(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_rsa_private_key);
pub fn br_ssl_server_init_mine2g(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_rsa_private_key);
pub fn br_ssl_server_init_minf2c(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_ec_private_key);
pub fn br_ssl_server_init_minf2g(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_ec_private_key);
pub fn br_ssl_server_init_minr2g(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_rsa_private_key);
pub fn br_ssl_server_init_minu2g(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_ec_private_key);
pub fn br_ssl_server_init_minv2g(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_ec_private_key);
pub fn br_ssl_server_reset(cc: *mut br_ssl_server_context) -> c_int;
pub fn br_ssl_server_set_single_ec(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_ec_private_key, allowed_usages: c_uint, cert_issuer_key_type: c_uint, iec: *const br_ec_impl, iecdsa: br_ecdsa_sign);
pub fn br_ssl_server_set_single_rsa(cc: *mut br_ssl_server_context, chain: *const br_x509_certificate, chain_len: usize, sk: *const br_rsa_private_key, allowed_usages: c_uint, irsacore: br_rsa_private, irsasign: br_rsa_pkcs1_sign);
pub fn br_ssl_server_zero(cc: *mut br_ssl_server_context);
}