Unit 'IdSSLOpenSSLHeaders' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#pl_indy]

SSL_CTX

Declaration

Source position: IdSSLOpenSSLHeaders.pas line 15714

type SSL_CTX = record

  method: PSSL_METHOD;

  

  cipher_list: PSTACK_OF_SSL_CIPHER;

  

  cipher_list_by_id: PSTACK_OF_SSL_CIPHER;

  

  cert_store: PX509_STORE;

  

  sessions: Plash_of_SSL_SESSION;

  

  session_cache_size: TIdC_ULONG;

  

  session_cache_head: PSSL_SESSION;

  

  session_cache_tail: PSSL_SESSION;

  

  session_cache_mode: TIdC_INT;

  

  session_timeout: TIdC_LONG;

  

  new_session_cb: function(

  

  ssl: PSSL;

  sess: PSSL_SESSION

):TIdC_INT;

  remove_session_cb: procedure(

  

  ctx: PSSL_CTX;

  sess: PSSL_SESSION

);

  get_session_cb: function(

  

  ssl: PSSL;

  data: PByte;

  len: TIdC_INT;

  copy: PIdC_INT

):PSSL_SESSION;

  stats: SSL_CTX_stats;

  

  references: TIdC_INT;

  

  app_verify_callback: function(

  

  _para1: PX509_STORE_CTX;

  _para2: Pointer

):TIdC_INT;

  app_verify_arg: Pointer;

  

  default_passwd_callback: ppem_password_cb;

  

  default_passwd_callback_userdata: Pointer;

  

  client_cert_cb: function(

  

  SSL: PSSL;

  x509: PPX509;

  pkey: PPEVP_PKEY

):TIdC_INT;

  app_gen_cookie_cb: function(

  

  ssl: PSSL;

  cookie: PByte;

  cookie_len: TIdC_UINT

):TIdC_INT;

  app_verify_cookie_cb: Pointer;

  

  ex_data: CRYPTO_EX_DATA;

  

  rsa_md5: PEVP_MD;

  

  md5: PEVP_MD;

  

  sha1: PEVP_MD;

  

  extra_certs: PSTACK_OF_X509;

  

  comp_methods: PSTACK_OF_COMP;

  

  info_callback: PSSL_CTX_info_callback;

  

  client_CA: PSTACK_OF_X509_NAME;

  

  options: TIdC_ULONG;

  

  mode: TIdC_ULONG;

  

  max_cert_list: TIdC_LONG;

  

  cert: PCERT;

  

  read_ahead: TIdC_INT;

  

  msg_callback: procedure(

  

  write_p: TIdC_INT;

  version: TIdC_INT;

  content_type: TIdC_INT;

  const buf: Pointer;

  len: size_t;

  ssl: PSSL;

  arg: Pointer

);

  msg_callback_arg: Pointer;

  

  verify_mode: TIdC_INT;

  

  sid_ctx_length: TIdC_UINT;

  

  sid_ctx: array [0..SSL_MAX_SID_CTX_LENGTH-1] of TIdAnsiChar;

  

  default_verify_callback: function(

  

  ok: TIdC_INT;

  ctx: PX509_STORE_CTX

):TIdC_INT;

  generate_session_id: PGEN_SESSION_CB;

  

  param: PX509_VERIFY_PARAM;

  

  quiet_shutdown: TIdC_INT;

  

  max_send_fragment: TIdC_UINT;

  

  client_cert_engine: PENGINE;

  

  tlsext_servername_callback: PSSL_CTEX_tlsext_servername_callback;

  

  tlsext_servername_arg: Pointer;

  

  tlsext_tick_key_name: array [0..(16-1)] of TIdAnsiChar;

  

  tlsext_tick_hmac_key: array [0..(16-1)] of TIdAnsiChar;

  

  tlsext_tick_aes_key: array [0..(16-1)] of TIdAnsiChar;

  

  tlsext_ticket_key_cb: Ptlsext_ticket_key_cb;

  

  tlsext_status_cb: Ptlsext_status_cb;

  

  tlsext_status_arg: Pointer;

  

  tlsext_opaque_prf_input_callback: function(

  

  para1: PSSL;

  peerinput: Pointer;

  len: size_t;

  arg: Pointer

):TIdC_INT;

  tlsext_opaque_prf_input_callback_arg: Pointer;

  

  psk_identity_hint: PIdAnsiChar;

  

  psk_client_callback: function(

  

  ssl: PSSL;

  hint: PIdAnsiChar;

  identity: PIdAnsiChar;

  max_identity_len: TIdC_UINT;

  psk: PIdAnsiChar;

  max_psk_len: TIdC_UINT

):TIdC_UINT;

  psk_server_callback: function(

  

  ssl: PSSL;

  identity: PIdAnsiChar;

  psk: PIdAnsiChar;

  max_psk_len: TIdC_UINT

):TIdC_UINT;

  freelist_max_len: TIdC_UINT;

  

  wbuf_freelist: Pssl3_buf_freelist_st;

  

  rbuf_freelist: Pssl3_buf_freelist_st;

  

  srp_ctx: SRP_CTX;

  

  next_protos_advertised_cb: function(

  

  s: PSSL;

  out but: PIdAnsiChar;

  out len: TIdC_UINT;

  arg: Pointer

):TIdC_INT;

  next_protos_advertised_cb_arg: Pointer;

  

  next_proto_select_cb: function(

  

  s: PSSL;

  out _out: PIdAnsiChar;

  outlen: PIdAnsiChar;

  _in: PIdAnsiChar;

  inlen: TIdC_UINT;

  arg: Pointer

):TIdC_INT;

  next_proto_select_cb_arg: Pointer;

  

  srtp_profiles: PSTACK_OF_SRTP_PROTECTION_PROFILE;

  

end;



CT Web help

CodeTyphon Studio