Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/NextBSD/contrib/subversion/subversion/libsvn_ra/
HDra_loader.c270 svn_ra_session_t *session; in svn_ra_open4() local
377 session = apr_pcalloc(sesspool, sizeof(*session)); in svn_ra_open4()
378 session->cancel_func = callbacks->cancel_func; in svn_ra_open4()
379 session->cancel_baton = callback_baton; in svn_ra_open4()
380 session->vtable = vtable; in svn_ra_open4()
381 session->pool = sesspool; in svn_ra_open4()
384 err = vtable->open_session(session, corrected_url_p, in svn_ra_open4()
418 SVN_ERR(vtable->get_uuid(session, &repository_uuid, pool)); in svn_ra_open4()
432 *session_p = session; in svn_ra_open4()
443 svn_ra_session_t *session; in svn_ra__dup_session() local
[all …]
HDra_loader.h59 svn_error_t *(*open_session)(svn_ra_session_t *session,
76 svn_error_t *(*reparent)(svn_ra_session_t *session,
80 svn_error_t *(*get_session_url)(svn_ra_session_t *session,
84 svn_error_t *(*get_latest_revnum)(svn_ra_session_t *session,
88 svn_error_t *(*get_dated_revision)(svn_ra_session_t *session,
93 svn_error_t *(*change_rev_prop)(svn_ra_session_t *session,
101 svn_error_t *(*rev_proplist)(svn_ra_session_t *session,
106 svn_error_t *(*rev_prop)(svn_ra_session_t *session,
112 svn_error_t *(*get_commit_editor)(svn_ra_session_t *session,
122 svn_error_t *(*get_file)(svn_ra_session_t *session,
[all …]
HDdeprecated.c201 svn_error_t *svn_ra_change_rev_prop(svn_ra_session_t *session, in svn_ra_change_rev_prop() argument
207 return svn_ra_change_rev_prop2(session, rev, name, NULL, value, pool); in svn_ra_change_rev_prop()
210 svn_error_t *svn_ra_get_commit_editor2(svn_ra_session_t *session, in svn_ra_get_commit_editor2() argument
224 return svn_ra_get_commit_editor3(session, editor, edit_baton, revprop_table, in svn_ra_get_commit_editor2()
229 svn_error_t *svn_ra_get_commit_editor(svn_ra_session_t *session, in svn_ra_get_commit_editor() argument
246 return svn_ra_get_commit_editor2(session, editor, edit_baton, in svn_ra_get_commit_editor()
252 svn_error_t *svn_ra_do_diff2(svn_ra_session_t *session, in svn_ra_do_diff2() argument
270 return session->vtable->do_diff(session, in svn_ra_do_diff2()
278 svn_error_t *svn_ra_do_diff(svn_ra_session_t *session, in svn_ra_do_diff() argument
292 return svn_ra_do_diff2(session, reporter, report_baton, revision, in svn_ra_do_diff()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_ra_serf/
HDoptions.c68 svn_ra_serf__session_t *session; member
157 svn_ra_serf__session_t *session = opt_ctx->session; in capabilities_headers_iterator_callback() local
175 svn_hash_sets(session->capabilities, in capabilities_headers_iterator_callback()
182 if (!svn_hash_gets(session->capabilities, in capabilities_headers_iterator_callback()
185 svn_hash_sets(session->capabilities, SVN_RA_CAPABILITY_MERGEINFO, in capabilities_headers_iterator_callback()
191 svn_hash_sets(session->capabilities, in capabilities_headers_iterator_callback()
196 svn_hash_sets(session->capabilities, in capabilities_headers_iterator_callback()
201 svn_hash_sets(session->capabilities, in capabilities_headers_iterator_callback()
206 svn_hash_sets(session->capabilities, in capabilities_headers_iterator_callback()
212 svn_hash_sets(session->capabilities, in capabilities_headers_iterator_callback()
[all …]
HDserf.c149 load_config(svn_ra_serf__session_t *session, in load_config() argument
177 SVN_ERR(svn_config_get_bool(config, &session->using_compression, in load_config()
183 if (session->auth_baton) in load_config()
187 svn_auth_set_parameter(session->auth_baton, in load_config()
193 svn_auth_set_parameter(session->auth_baton, in load_config()
203 if (! svn_cstring_match_glob_list(session->session_url.hostname, in load_config()
211 svn_config_get(config, &session->proxy_username, in load_config()
214 svn_config_get(config, &session->proxy_password, in load_config()
220 SVN_ERR(svn_config_get_bool(config, &session->trust_default_ca, in load_config()
224 svn_config_get(config, &session->ssl_authorities, SVN_CONFIG_SECTION_GLOBAL, in load_config()
[all …]
HDutil.c88 save_error(svn_ra_serf__session_t *session, in save_error() argument
91 if (err || session->pending_error) in save_error()
93 session->pending_error = svn_error_compose_create( in save_error()
94 session->pending_error, in save_error()
96 return session->pending_error->apr_err; in save_error()
105 construct_realm(svn_ra_serf__session_t *session, in construct_realm() argument
111 if (session->session_url.port_str) in construct_realm()
113 port = session->session_url.port; in construct_realm()
117 port = apr_uri_port_of_scheme(session->session_url.scheme); in construct_realm()
121 session->session_url.scheme, in construct_realm()
[all …]
HDstat.c59 svn_ra_serf__session_t *session = ra_session->priv; in svn_ra_serf__check_path() local
64 url = session->session_url.path; in svn_ra_serf__check_path()
75 session, in svn_ra_serf__check_path()
82 err = svn_ra_serf__fetch_node_props(&props, session, in svn_ra_serf__check_path()
212 svn_ra_serf__session_t *session, in get_dirent_props() argument
219 if (session->supports_deadprop_count != svn_tristate_false in get_dirent_props()
290 svn_ra_serf__session_t *session = ra_session->priv; in svn_ra_serf__stat() local
297 url = session->session_url.path; in svn_ra_serf__stat()
308 session, in svn_ra_serf__stat()
317 SVN_ERR(svn_ra_serf__create_propfind_handler(&handler, session, url, in svn_ra_serf__stat()
[all …]
HDproperty.c563 svn_ra_serf__session_t *session, in svn_ra_serf__fetch_node_props() argument
575 SVN_ERR(svn_ra_serf__create_propfind_handler(&handler, session, in svn_ra_serf__fetch_node_props()
642 svn_ra_serf__session_t *session, in retrieve_baseline_info() argument
652 SVN_ERR(svn_ra_serf__fetch_node_props(&props, session, in retrieve_baseline_info()
702 svn_ra_serf__session_t *session, in v1_get_youngest_revnum() argument
712 SVN_ERR(svn_ra_serf__fetch_dav_prop(&baseline_url, session, vcc_url, in v1_get_youngest_revnum()
731 session->blncache, in v1_get_youngest_revnum()
736 SVN_ERR(retrieve_baseline_info(youngest, &bc_url, session, in v1_get_youngest_revnum()
739 SVN_ERR(svn_ra_serf__blncache_set(session->blncache, in v1_get_youngest_revnum()
753 svn_ra_serf__session_t *session, in svn_ra_serf__get_youngest_revnum() argument
[all …]
HDra_serf.h84 svn_ra_serf__session_t *session; member
504 svn_ra_serf__session_t *session; member
649 svn_ra_serf__create_handler(svn_ra_serf__session_t *session,
694 svn_ra_serf__create_expat_handler(svn_ra_serf__session_t *session,
960 svn_ra_serf__session_t *session,
983 svn_ra_serf__session_t *session,
1005 svn_ra_serf__session_t *session,
1032 svn_ra_serf__session_t *session,
1060 svn_ra_serf__session_t *session,
1075 svn_ra_serf__session_t *session,
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_ra_local/
HDra_plugin.c80 get_username(svn_ra_session_t *session, in get_username() argument
83 svn_ra_local__session_baton_t *sess = session->priv; in get_username()
109 sess->username = apr_pstrdup(session->pool, in get_username()
130 session->pool)); in get_username()
135 apr_pool_cleanup_register(session->pool, sess->fs, cleanup_access, in get_username()
291 make_reporter(svn_ra_session_t *session, in make_reporter() argument
306 svn_ra_local__session_baton_t *sess = session->priv; in make_reporter()
337 SVN_ERR(get_username(session, scratch_pool)); in make_reporter()
550 svn_ra_local__open(svn_ra_session_t *session, in svn_ra_local__open() argument
588 session->pool)); in svn_ra_local__open()
[all …]
/NextBSD/crypto/openssl/doc/ssl/
HDSSL_CTX_set_session_cache_mode.pod5 SSL_CTX_set_session_cache_mode, SSL_CTX_get_session_cache_mode - enable/disable session caching
16 SSL_CTX_set_session_cache_mode() enables/disables session caching
28 In order to reuse a session, a client must send the session's id to the
30 agrees to reuse the session or it starts a full handshake (to create a new
31 session).
33 A server will lookup up the session in its internal session storage. If the
34 session is not found in internal storage or lookups for the internal storage
38 Since a client may try to reuse a session intended for use in a different
39 context, the session id context must be set by the server (see
42 The following session cache modes and modifiers are available:
[all …]
HDSSL_CTX_add_session.pod5 …add_session, SSL_add_session, SSL_CTX_remove_session, SSL_remove_session - manipulate session cache
19 SSL_CTX_add_session() adds the session B<c> to the context B<ctx>. The
20 reference count for session B<c> is incremented by 1. If a session with
21 the same session id already exists, the old session is removed by calling
24 SSL_CTX_remove_session() removes the session B<c> from the context B<ctx>.
32 When adding a new session to the internal session cache, it is examined
33 whether a session with the same session id already exists. In this case
34 it is assumed that both sessions are identical. If the same session is
35 stored in a different SSL_SESSION object, The old session is
36 removed and replaced by the new session. If the session is actually
[all …]
HDSSL_CTX_sess_set_get_cb.pod5 …e_cb, SSL_CTX_sess_get_get_cb - provide callback functions for server side external session caching
30 called whenever a new session was negotiated.
33 automatically called whenever a session is removed by the SSL engine,
34 because it is considered faulty or the session has become obsolete because
38 whenever a SSL/TLS client proposed to resume a session but the session
39 could not be found in the internal session cache (see
50 In order to allow external session caching, synchronization with the internal
51 session cache is realized via callback functions. Inside these callback
52 functions, session can be saved to disk or put into a database using the
55 The new_session_cb() is called, whenever a new session has been negotiated
[all …]
HDSSL_CTX_set_generate_session_id.pod5 …te_session_id, SSL_has_matching_session_id - manipulate generation of SSL session IDs (server only)
22 new session ids for SSL/TLS sessions for B<ctx> to be B<cb>.
25 new session ids for SSL/TLS sessions for B<ssl> to be B<cb>.
27 SSL_has_matching_session_id() checks, whether a session with id B<id>
28 (of length B<id_len>) is already contained in the internal session cache
33 When a new session is established between client and server, the server
34 generates a session id. The session id is an arbitrary sequence of bytes.
35 The length of the session id is 16 bytes for SSLv2 sessions and between
36 1 and 32 bytes for SSLv3/TLSv1. The session id is not security critical
37 but must be unique for the server. Additionally, the session id is
[all …]
HDSSL_CTX_set_session_id_context.pod5 SSL_CTX_set_session_id_context, SSL_set_session_id_context - set context within which session can b…
19 B<sid_ctx_len> within which a session can be reused for the B<ctx> object.
22 B<sid_ctx_len> within which a session can be reused for the B<ssl> object.
28 to re-import a session generated from another context (e.g. another
30 must set its own session id context B<sid_ctx> which is used to distinguish
36 The session id context becomes part of the session. The session id context
41 OpenSSL clients will check the session id context returned by the server
42 when reusing a session.
49 If the session id context is not set on an SSL/TLS server and client
54 If a server returns a different session id context to an OpenSSL client
[all …]
HDSSL_set_session.pod5 SSL_set_session - set a TLS/SSL session to be used during TLS/SSL connect
11 int SSL_set_session(SSL *ssl, SSL_SESSION *session);
15 SSL_set_session() sets B<session> to be used when the TLS/SSL connection
17 When the session is set, the reference count of B<session> is incremented
18 by 1. If the session is not reused, the reference count is decremented
19 again during SSL_connect(). Whether the session was reused can be queried
22 If there is already a session set inside B<ssl> (because it was set with
24 a connection), SSL_SESSION_free() will be called for that session.
28 SSL_SESSION objects keep internal link information about the session cache
29 list, when being inserted into one SSL_CTX object's session cache.
HDSSL_CTX_set_tlsext_ticket_key_cb.pod5 SSL_CTX_set_tlsext_ticket_key_cb - set a callback for session ticket processing
19 session tickets for the ssl context I<sslctx>. Session tickets, defined in
20 RFC5077 provide an enhanced session resumption capability where the server
21 implementation is not required to maintain per session state. It only applies
28 session when session ticket extension is presented in the TLS hello
33 ticket construction state according to RFC5077 Section 4 such that per session
37 In order to reuse a session, a TLS client must send the a session ticket
38 extension to the server. The client can only send exactly one session ticket.
39 The server, through the callback function, either agrees to reuse the session
40 ticket information or it starts a full TLS handshake to create a new session
[all …]
/NextBSD/crypto/heimdal/lib/hx509/ref/
HDpkcs11.h716 typedef ck_rv_t (*ck_notify_t) (ck_session_handle_t session,
752 (ck_session_handle_t session, unsigned char *pin,
755 (ck_session_handle_t session, unsigned char *old_pin,
762 ck_session_handle_t *session));
763 _CK_DECLARE_FUNCTION (C_CloseSession, (ck_session_handle_t session));
766 (ck_session_handle_t session,
769 (ck_session_handle_t session,
773 (ck_session_handle_t session,
779 (ck_session_handle_t session, ck_user_type_t user_type,
781 _CK_DECLARE_FUNCTION (C_Logout, (ck_session_handle_t session));
[all …]
/NextBSD/crypto/openssh/
HDpkcs11.h716 typedef ck_rv_t (*ck_notify_t) (ck_session_handle_t session,
752 (ck_session_handle_t session, unsigned char *pin,
755 (ck_session_handle_t session, unsigned char *old_pin,
762 ck_session_handle_t *session));
763 _CK_DECLARE_FUNCTION (C_CloseSession, (ck_session_handle_t session));
766 (ck_session_handle_t session,
769 (ck_session_handle_t session,
773 (ck_session_handle_t session,
779 (ck_session_handle_t session, ck_user_type_t user_type,
781 _CK_DECLARE_FUNCTION (C_Logout, (ck_session_handle_t session));
[all …]
/NextBSD/crypto/heimdal/lib/hx509/
HDtest_soft_pkcs11.c42 find_object(CK_SESSION_HANDLE session, in find_object() argument
57 ret = (*func->C_FindObjectsInit)(session, search_data, num_search_data); in find_object()
61 ret = (*func->C_FindObjects)(session, object, 1, &object_count); in find_object()
69 ret = (*func->C_FindObjectsFinal)(session); in find_object()
89 CK_SESSION_HANDLE session; in main() local
123 NULL, NULL, &session); in main()
132 ret = (*func->C_Login)(session, CKU_USER, in main()
145 ret = find_object(session, "cert", CKO_PUBLIC_KEY, &public); in main()
148 ret = find_object(session, "cert", CKO_PRIVATE_KEY, &private); in main()
159 ret = (*func->C_SignInit)(session, &mechanism, private); in main()
[all …]
/NextBSD/contrib/subversion/subversion/include/
HDsvn_ra.h852 svn_ra_get_latest_revnum(svn_ra_session_t *session,
865 svn_ra_get_dated_revision(svn_ra_session_t *session,
895 svn_ra_change_rev_prop2(svn_ra_session_t *session,
911 svn_ra_change_rev_prop(svn_ra_session_t *session,
927 svn_ra_rev_proplist(svn_ra_session_t *session,
942 svn_ra_rev_prop(svn_ra_session_t *session,
994 svn_ra_get_commit_editor3(svn_ra_session_t *session,
1015 svn_ra_get_commit_editor2(svn_ra_session_t *session,
1034 svn_ra_get_commit_editor(svn_ra_session_t *session,
1070 svn_ra_get_file(svn_ra_session_t *session,
[all …]
/NextBSD/contrib/wpa/patches/
HDopenssl-0.9.8zf-tls-extensions.patch20 + /* check if we want to resume the session based on external pre-shared secret */
24 + s->session->master_key_length = sizeof(s->session->master_key);
25 + if (s->tls_session_secret_cb(s, s->session->master_key,
26 + &s->session->master_key_length,
29 + s->session->cipher = pref_cipher ?
36 if (j != 0 && j == s->session->session_id_length
37 && memcmp(p, s->session->session_id, j) == 0) {
38 if (s->sid_ctx_length != s->session->sid_ctx_length
44 - * If we have no ticket or session ID is non-zero length (a match of a
45 - * non-zero session length would never reach here) it cannot be a resumed
[all …]
HDopenssl-0.9.8za-tls-extensions.patch20 + /* check if we want to resume the session based on external pre-shared secret */
24 + s->session->master_key_length=sizeof(s->session->master_key);
25 + if (s->tls_session_secret_cb(s, s->session->master_key, &s->session->master_key_length,
28 + s->session->cipher=pref_cipher ?
35 if (j != 0 && j == s->session->session_id_length
36 && memcmp(p,s->session->session_id,j) == 0)
42 - /* If we have no ticket or session ID is non-zero length (a match of
43 - * a non-zero session length would never reach here) it cannot be a
44 - * resumed session.
46 - if (!s->session->tlsext_tick || s->session->session_id_length)
[all …]
/NextBSD/crypto/openssl/ssl/
HDs3_clnt.c485 s->session->cipher = s->s3->tmp.new_cipher; in IMPLEMENT_ssl3_meth_func()
487 s->session->compress_meth = 0; in IMPLEMENT_ssl3_meth_func()
490 s->session->compress_meth = 0; in IMPLEMENT_ssl3_meth_func()
492 s->session->compress_meth = s->s3->tmp.new_compression->id; in IMPLEMENT_ssl3_meth_func()
686 SSL_SESSION *sess = s->session; in ssl3_client_hello()
807 i = s->session->session_id_length; in ssl3_client_hello()
810 if (i > (int)sizeof(s->session->session_id)) { in ssl3_client_hello()
814 memcpy(p, s->session->session_id, i); in ssl3_client_hello()
961 s->session->ssl_version = s->version = s->method->version; in ssl3_get_server_hello()
982 if ((j > sizeof s->session->session_id) || (j > SSL3_SESSION_ID_SIZE)) { in ssl3_get_server_hello()
[all …]
/NextBSD/crypto/openssl/doc/apps/
HDsess_id.pod6 sess_id - SSL/TLS session handling utility
21 The B<sess_id> process the encoded version of the SSL session structure
22 and optionally prints out SSL session details (for example the SSL session
32 format containing session details. The precise format can vary from one version
43 This specifies the input filename to read session information from or standard
48 This specifies the output filename to write session information to or standard
58 if a certificate is present in the session it will be output using this option,
63 this option prevents output of the encoded version of the session.
67 this option can set the session id so the output session information uses the
103 the SSL session ID in hex format.
[all …]

12345678910>>...14