@gjsify/tls-native 0.4.30 → 0.4.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/index.gjs.spec.js +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/types/index.d.ts +95 -0
- package/meson.build +13 -1
- package/package.json +3 -3
- package/prebuilds/linux-aarch64/GjsifyTls-1.0.gir +122 -0
- package/prebuilds/linux-aarch64/GjsifyTls-1.0.typelib +0 -0
- package/prebuilds/linux-aarch64/libgjsifytls.so +0 -0
- package/prebuilds/linux-ppc64/GjsifyTls-1.0.gir +122 -0
- package/prebuilds/linux-ppc64/GjsifyTls-1.0.typelib +0 -0
- package/prebuilds/linux-ppc64/libgjsifytls.so +0 -0
- package/prebuilds/linux-riscv64/GjsifyTls-1.0.gir +122 -0
- package/prebuilds/linux-riscv64/GjsifyTls-1.0.typelib +0 -0
- package/prebuilds/linux-riscv64/libgjsifytls.so +0 -0
- package/prebuilds/linux-s390x/GjsifyTls-1.0.gir +122 -0
- package/prebuilds/linux-s390x/GjsifyTls-1.0.typelib +0 -0
- package/prebuilds/linux-s390x/libgjsifytls.so +0 -0
- package/prebuilds/linux-x86_64/GjsifyTls-1.0.gir +122 -0
- package/prebuilds/linux-x86_64/GjsifyTls-1.0.typelib +0 -0
- package/prebuilds/linux-x86_64/libgjsifytls.so +0 -0
- package/src/vala/gnutls-session.vapi +54 -0
- package/src/vala/session-access.vala +344 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__name as e}from"./_virtual/_rolldown/runtime.js";import{OcspCertStatus as t,OcspResponseStatus as n,
|
|
1
|
+
import{__name as e}from"./_virtual/_rolldown/runtime.js";import{OcspCertStatus as t,OcspResponseStatus as n,TlsChannelBindingType as r,createSessionAccess as i,hasNativeTls as a,hasTlsSessionAccess as o,nativeTls as s,parseOcspResponse as c}from"./index.js";import{describe as l,expect as u,it as d,on as f}from"@gjsify/unit";var p=e(async()=>{await f(`Gjs`,async()=>{await l(`@gjsify/tls-native — module loading`,async()=>{await d(`loads the GjsifyTls typelib successfully`,()=>{u(a()).toBe(!0),u(s).not.toBeNull(),u(typeof s?.Tls.parse_ocsp_response).toBe(`function`)})}),await l(`@gjsify/tls-native — parse_ocsp_response`,async()=>{await d(`returns null for empty input`,()=>{u(c(new Uint8Array)).toBeNull()}),await d(`returns null for non-OCSP garbage bytes`,()=>{u(c(new Uint8Array([255,255,255,255,1,2,3]))).toBeNull()}),await d(`returns null for truncated DER (sequence header only)`,()=>{u(c(new Uint8Array([48,1,0]))).toBeNull()})}),await l(`@gjsify/tls-native — symbolic constants`,async()=>{await d(`exposes OcspCertStatus enum-style constants`,()=>{u(t.GOOD).toBe(0),u(t.REVOKED).toBe(1),u(t.UNKNOWN).toBe(2)}),await d(`exposes OcspResponseStatus enum-style constants`,()=>{u(n.SUCCESSFUL).toBe(0),u(n.MALFORMED_REQUEST).toBe(1),u(n.INTERNAL_ERROR).toBe(2),u(n.TRY_LATER).toBe(3),u(n.SIG_REQUIRED).toBe(5),u(n.UNAUTHORIZED).toBe(6)}),await d(`exposes TlsChannelBindingType enum-style constants`,()=>{u(r.TLS_UNIQUE).toBe(0),u(r.TLS_SERVER_END_POINT).toBe(1),u(r.TLS_EXPORTER).toBe(2)})}),await l(`@gjsify/tls-native — SessionAccess (Phase 2 POC)`,async()=>{await d(`exposes the SessionAccess class on the native module`,()=>{u(s).not.toBeNull(),u(typeof s?.SessionAccess.is_supported).toBe(`function`),u(typeof s?.SessionAccess.for_connection).toBe(`function`)}),await d(`hasTlsSessionAccess() returns false until the gnutls_session_t access lands`,()=>{u(o()).toBe(!1)}),await d(`SessionAccess.is_supported() matches hasTlsSessionAccess()`,()=>{u(s?.SessionAccess.is_supported()).toBe(!1)}),await d(`createSessionAccess(null) returns null`,()=>{u(i(null)).toBeNull()}),await d(`SessionAccess.for_connection(null) returns null`,()=>{u(s?.SessionAccess.for_connection(null)).toBeNull()})})})},`default`);export{p as default};
|
package/lib/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const e={TLS_UNIQUE:0,TLS_SERVER_END_POINT:1,TLS_EXPORTER:2};let t=null;const n=globalThis.imports?.gi;if(n)try{t=n.GjsifyTls}catch{}const r=t;function hasNativeTls(){return t!==null}function parseOcspResponse(e){if(!t)throw Error(`@gjsify/tls-native: native typelib not loaded. Check hasNativeTls() first.`);return t.Tls.parse_ocsp_response(e)}const i={GOOD:0,REVOKED:1,UNKNOWN:2},a={SUCCESSFUL:0,MALFORMED_REQUEST:1,INTERNAL_ERROR:2,TRY_LATER:3,SIG_REQUIRED:5,UNAUTHORIZED:6};function hasTlsSessionAccess(){if(!t)return!1;try{return t.SessionAccess.is_supported()}catch{return!1}}function createSessionAccess(e){return t?t.SessionAccess.for_connection(e):null}export{i as OcspCertStatus,a as OcspResponseStatus,e as TlsChannelBindingType,createSessionAccess,hasNativeTls,hasTlsSessionAccess,r as nativeTls,parseOcspResponse};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -40,8 +40,78 @@ export interface NativeTls {
|
|
|
40
40
|
*/
|
|
41
41
|
parse_ocsp_response(bytes: Uint8Array): OcspResponseInfo | null;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* Symbolic channel-binding type per RFC 5929 / RFC 9266.
|
|
45
|
+
*
|
|
46
|
+
* Mirrors `GjsifyTls.ChannelBindingType` in the GIR. Values are stable
|
|
47
|
+
* across GnuTLS / OpenSSL / Node — the RFCs assign them implicitly via
|
|
48
|
+
* the wire-protocol identifier ("tls-unique", "tls-server-end-point",
|
|
49
|
+
* "tls-exporter").
|
|
50
|
+
*/
|
|
51
|
+
export declare const TlsChannelBindingType: {
|
|
52
|
+
/** `tls-unique` (RFC 5929 §3) — TLS 1.0–1.2 only. */
|
|
53
|
+
readonly TLS_UNIQUE: 0;
|
|
54
|
+
/** `tls-server-end-point` (RFC 5929 §4) — hash of the server cert. */
|
|
55
|
+
readonly TLS_SERVER_END_POINT: 1;
|
|
56
|
+
/** `tls-exporter` (RFC 9266) — TLS 1.3 replacement for `tls-unique`. */
|
|
57
|
+
readonly TLS_EXPORTER: 2;
|
|
58
|
+
};
|
|
59
|
+
export type TlsChannelBindingType = (typeof TlsChannelBindingType)[keyof typeof TlsChannelBindingType];
|
|
60
|
+
/**
|
|
61
|
+
* Minimal Gio.TlsConnection shape — typed structurally so this module
|
|
62
|
+
* doesn't take a value-level dep on `@girs/gio-2.0` (would force every
|
|
63
|
+
* consumer to install the GIR-types package even on Node). Real
|
|
64
|
+
* connections come from `@gjsify/tls`'s `TLSSocket._tlsConnection`.
|
|
65
|
+
*/
|
|
66
|
+
export interface TlsConnectionHandle {
|
|
67
|
+
/** Tag for type-narrowing — present on real Gio.TlsConnection. */
|
|
68
|
+
__isTlsConnection?: never;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Native SessionAccess wrapper (Phase 2 POC).
|
|
72
|
+
*
|
|
73
|
+
* Mirrors `GjsifyTls.SessionAccess` from the GIR. Every method currently
|
|
74
|
+
* throws a GLib.Error with domain `gjsify-tls-session-access-error-quark`
|
|
75
|
+
* and code `NOT_SUPPORTED` — see `docs/poc/tls-phase2-session-access.md`
|
|
76
|
+
* for the open struct-layout question gating the real implementation.
|
|
77
|
+
*
|
|
78
|
+
* The shape is locked in now so flipping the native side from
|
|
79
|
+
* throw → real is a transparent change for JS callers.
|
|
80
|
+
*/
|
|
81
|
+
export interface NativeSessionAccess {
|
|
82
|
+
/** `gnutls_session_is_resumed` — true if the session was resumed. */
|
|
83
|
+
is_session_reused(): boolean;
|
|
84
|
+
/** `gnutls_session_get_data2` — serialized session blob. */
|
|
85
|
+
get_session_data(): unknown;
|
|
86
|
+
/** `gnutls_session_set_data` — inject a session blob before handshake. */
|
|
87
|
+
set_session_data(data: unknown): void;
|
|
88
|
+
/** `gnutls_session_channel_binding` for a specific binding type. */
|
|
89
|
+
get_channel_binding(binding: TlsChannelBindingType): unknown;
|
|
90
|
+
/** Convenience: TLS-Finished bytes we sent (Node compat). */
|
|
91
|
+
get_finished(): unknown;
|
|
92
|
+
/** Convenience: TLS-Finished bytes the peer sent (Node compat). */
|
|
93
|
+
get_peer_finished(): unknown;
|
|
94
|
+
/** Negotiated protocol version as a stable string. */
|
|
95
|
+
get_negotiated_protocol_version(): string;
|
|
96
|
+
}
|
|
97
|
+
/** Native `SessionAccess` class constructor surface (GIR static methods). */
|
|
98
|
+
export interface NativeSessionAccessClass {
|
|
99
|
+
/**
|
|
100
|
+
* Returns whether the native session access layer is functional.
|
|
101
|
+
* Currently always `false` — see `hasTlsSessionAccess()` for the
|
|
102
|
+
* preferred predicate that callers should use.
|
|
103
|
+
*/
|
|
104
|
+
is_supported(): boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Build a SessionAccess for a live `Gio.TlsConnection`. Returns
|
|
107
|
+
* `null` if @connection is `null`.
|
|
108
|
+
*/
|
|
109
|
+
for_connection(connection: TlsConnectionHandle | null): NativeSessionAccess | null;
|
|
110
|
+
}
|
|
43
111
|
export interface GjsifyTlsModule {
|
|
44
112
|
Tls: NativeTls;
|
|
113
|
+
SessionAccess: NativeSessionAccessClass;
|
|
114
|
+
ChannelBindingType: typeof TlsChannelBindingType;
|
|
45
115
|
}
|
|
46
116
|
/** The native GjsifyTls module, or `null` if not installed. */
|
|
47
117
|
export declare const nativeTls: GjsifyTlsModule | null;
|
|
@@ -83,3 +153,28 @@ export declare const OcspResponseStatus: {
|
|
|
83
153
|
readonly UNAUTHORIZED: 6;
|
|
84
154
|
};
|
|
85
155
|
export type OcspResponseStatus = (typeof OcspResponseStatus)[keyof typeof OcspResponseStatus];
|
|
156
|
+
/**
|
|
157
|
+
* Returns `true` when the Phase 2 session-access bridge is functional.
|
|
158
|
+
*
|
|
159
|
+
* Today this always returns `false` even when the native typelib is
|
|
160
|
+
* loaded — the underlying gnutls_session_t extraction from
|
|
161
|
+
* `Gio.TlsConnection` is not yet implemented. See
|
|
162
|
+
* `docs/poc/tls-phase2-session-access.md` for the open question.
|
|
163
|
+
*
|
|
164
|
+
* Callers (e.g. `@gjsify/tls`'s `TLSSocket.getFinished()`) should gate
|
|
165
|
+
* with this predicate so consumers can detect "not supported on this
|
|
166
|
+
* platform / version" without triggering a thrown error.
|
|
167
|
+
*
|
|
168
|
+
* When the native side becomes functional this predicate flips to
|
|
169
|
+
* `true` automatically (it reads `GjsifyTls.SessionAccess.is_supported()`).
|
|
170
|
+
*/
|
|
171
|
+
export declare function hasTlsSessionAccess(): boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Build a {@link NativeSessionAccess} wrapper around a live
|
|
174
|
+
* `Gio.TlsConnection`. Returns `null` if @connection is `null` or
|
|
175
|
+
* the native typelib is unavailable.
|
|
176
|
+
*
|
|
177
|
+
* The returned object's methods THROW until {@link hasTlsSessionAccess}
|
|
178
|
+
* starts returning `true` — surface stays stable across the impl flip.
|
|
179
|
+
*/
|
|
180
|
+
export declare function createSessionAccess(connection: TlsConnectionHandle | null): NativeSessionAccess | null;
|
package/meson.build
CHANGED
|
@@ -5,16 +5,28 @@ root_dir = meson.current_source_dir()
|
|
|
5
5
|
dependencies = [
|
|
6
6
|
dependency('glib-2.0'),
|
|
7
7
|
dependency('gobject-2.0'),
|
|
8
|
+
dependency('gio-2.0'),
|
|
8
9
|
dependency('gnutls'),
|
|
9
10
|
]
|
|
10
11
|
|
|
11
12
|
sources = files(
|
|
12
13
|
'src/vala/tls.vala',
|
|
14
|
+
'src/vala/session-access.vala',
|
|
13
15
|
)
|
|
14
16
|
|
|
17
|
+
# Sibling vapis: `gnutls-ocsp.vapi` (Phase 1 OCSP parser) and
|
|
18
|
+
# `gnutls-session.vapi` (Phase 2 channel-binding API). The bundled
|
|
19
|
+
# Vala 0.56 gnutls.vapi has session-data set/get/get2 and is_resumed
|
|
20
|
+
# already, but not `gnutls_session_channel_binding` — added in the
|
|
21
|
+
# sibling vapi.
|
|
15
22
|
libGjsifyTls = library('gjsifytls', sources,
|
|
16
23
|
dependencies: dependencies,
|
|
17
|
-
vala_args: [
|
|
24
|
+
vala_args: [
|
|
25
|
+
'--pkg=gnutls',
|
|
26
|
+
'--vapidir=' + meson.current_source_dir() / 'src/vala',
|
|
27
|
+
'--pkg=gnutls-ocsp',
|
|
28
|
+
'--pkg=gnutls-session',
|
|
29
|
+
],
|
|
18
30
|
vala_gir: meson.project_name() + '-1.0.gir',
|
|
19
31
|
install: true,
|
|
20
32
|
install_dir: [true, true, true, true],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/tls-native",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.31",
|
|
4
4
|
"description": "Optional Vala/GObject bridge providing GnuTLS capabilities not exposed by Gio.TlsConnection — OCSP-response parsing (RFC 6960), session resumption data extraction, channel binding (tls-finished bytes for SCRAM-SHA-*). Enhances @gjsify/tls when installed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/esm/index.js",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@girs/gobject-2.0": "2.88.0-4.0.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@gjsify/cli": "^0.4.
|
|
57
|
-
"@gjsify/unit": "^0.4.
|
|
56
|
+
"@gjsify/cli": "^0.4.31",
|
|
57
|
+
"@gjsify/unit": "^0.4.31",
|
|
58
58
|
"@ts-for-gir/cli": "^4.0.0-rc.15",
|
|
59
59
|
"@types/node": "^25.9.1",
|
|
60
60
|
"typescript": "^6.0.3"
|
|
@@ -2,10 +2,22 @@
|
|
|
2
2
|
<!-- GjsifyTls-1.0.gir generated by valac 0.56.19, do not modify. -->
|
|
3
3
|
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:doc="http://www.gtk.org/introspection/doc/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
|
4
4
|
<include name="GObject" version="2.0"/>
|
|
5
|
+
<include name="Gio" version="2.0"/>
|
|
6
|
+
<include name="GLib" version="2.0"/>
|
|
5
7
|
<package name="gjsifytls"/>
|
|
6
8
|
<c:include name="gjsifytls.h"/>
|
|
7
9
|
<doc:format name="unknown"/>
|
|
8
10
|
<namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
|
|
11
|
+
<enumeration name="ChannelBindingType" c:type="GjsifyTlsChannelBindingType" glib:type-name="GjsifyTlsChannelBindingType" glib:get-type="gjsify_tls_channel_binding_type_get_type">
|
|
12
|
+
<member name="tls_unique" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_UNIQUE" value="0"/>
|
|
13
|
+
<member name="tls_server_end_point" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_SERVER_END_POINT" value="1"/>
|
|
14
|
+
<member name="tls_exporter" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_EXPORTER" value="2"/>
|
|
15
|
+
</enumeration>
|
|
16
|
+
<enumeration name="SessionAccessError" c:type="GjsifyTlsSessionAccessError" glib:type-name="GjsifyTlsSessionAccessError" glib:get-type="gjsify_tls_session_access_error_get_type" glib:error-domain="gjsify-tls-session-access-error-quark">
|
|
17
|
+
<member name="not_supported" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_NOT_SUPPORTED" value="0"/>
|
|
18
|
+
<member name="not_ready" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_NOT_READY" value="1"/>
|
|
19
|
+
<member name="gnutls_error" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_GNUTLS_ERROR" value="2"/>
|
|
20
|
+
</enumeration>
|
|
9
21
|
<class name="OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo" c:symbol-prefix="ocsp_response_info" glib:type-name="GjsifyTlsOcspResponseInfo" glib:get-type="gjsify_tls_ocsp_response_info_get_type" glib:type-struct="OcspResponseInfoClass" parent="GObject.Object">
|
|
10
22
|
<field name="parent_instance" readable="0" private="1">
|
|
11
23
|
<type name="GObject.Object" c:type="GObject"/>
|
|
@@ -150,5 +162,115 @@
|
|
|
150
162
|
</field>
|
|
151
163
|
</record>
|
|
152
164
|
<record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
|
|
165
|
+
<class name="SessionAccess" c:type="GjsifyTlsSessionAccess" c:symbol-prefix="session_access" glib:type-name="GjsifyTlsSessionAccess" glib:get-type="gjsify_tls_session_access_get_type" glib:type-struct="SessionAccessClass" parent="GObject.Object">
|
|
166
|
+
<field name="parent_instance" readable="0" private="1">
|
|
167
|
+
<type name="GObject.Object" c:type="GObject"/>
|
|
168
|
+
</field>
|
|
169
|
+
<field name="priv" readable="0" private="1">
|
|
170
|
+
<type name="SessionAccessPrivate" c:type="GjsifyTlsSessionAccessPrivate*"/>
|
|
171
|
+
</field>
|
|
172
|
+
<function name="is_supported" c:identifier="gjsify_tls_session_access_is_supported">
|
|
173
|
+
<return-value transfer-ownership="full">
|
|
174
|
+
<type name="gboolean" c:type="gboolean"/>
|
|
175
|
+
</return-value>
|
|
176
|
+
</function>
|
|
177
|
+
<function name="for_connection" c:identifier="gjsify_tls_session_access_for_connection">
|
|
178
|
+
<return-value transfer-ownership="full" nullable="1">
|
|
179
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
180
|
+
</return-value>
|
|
181
|
+
<parameters>
|
|
182
|
+
<parameter name="connection" transfer-ownership="none" nullable="1">
|
|
183
|
+
<type name="Gio.TlsConnection" c:type="GTlsConnection*"/>
|
|
184
|
+
</parameter>
|
|
185
|
+
</parameters>
|
|
186
|
+
</function>
|
|
187
|
+
<method name="is_session_reused" c:identifier="gjsify_tls_session_access_is_session_reused" throws="1">
|
|
188
|
+
<return-value transfer-ownership="full">
|
|
189
|
+
<type name="gboolean" c:type="gboolean"/>
|
|
190
|
+
</return-value>
|
|
191
|
+
<parameters>
|
|
192
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
193
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
194
|
+
</instance-parameter>
|
|
195
|
+
</parameters>
|
|
196
|
+
</method>
|
|
197
|
+
<method name="get_session_data" c:identifier="gjsify_tls_session_access_get_session_data" throws="1">
|
|
198
|
+
<return-value transfer-ownership="full">
|
|
199
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
200
|
+
</return-value>
|
|
201
|
+
<parameters>
|
|
202
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
203
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
204
|
+
</instance-parameter>
|
|
205
|
+
</parameters>
|
|
206
|
+
</method>
|
|
207
|
+
<method name="set_session_data" c:identifier="gjsify_tls_session_access_set_session_data" throws="1">
|
|
208
|
+
<return-value transfer-ownership="full">
|
|
209
|
+
<type name="none" c:type="void"/>
|
|
210
|
+
</return-value>
|
|
211
|
+
<parameters>
|
|
212
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
213
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
214
|
+
</instance-parameter>
|
|
215
|
+
<parameter name="data" transfer-ownership="none">
|
|
216
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
217
|
+
</parameter>
|
|
218
|
+
</parameters>
|
|
219
|
+
</method>
|
|
220
|
+
<method name="get_channel_binding" c:identifier="gjsify_tls_session_access_get_channel_binding" throws="1">
|
|
221
|
+
<return-value transfer-ownership="full">
|
|
222
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
223
|
+
</return-value>
|
|
224
|
+
<parameters>
|
|
225
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
226
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
227
|
+
</instance-parameter>
|
|
228
|
+
<parameter name="binding" transfer-ownership="none">
|
|
229
|
+
<type name="GjsifyTls.ChannelBindingType" c:type="GjsifyTlsChannelBindingType"/>
|
|
230
|
+
</parameter>
|
|
231
|
+
</parameters>
|
|
232
|
+
</method>
|
|
233
|
+
<method name="get_finished" c:identifier="gjsify_tls_session_access_get_finished" throws="1">
|
|
234
|
+
<return-value transfer-ownership="full">
|
|
235
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
236
|
+
</return-value>
|
|
237
|
+
<parameters>
|
|
238
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
239
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
240
|
+
</instance-parameter>
|
|
241
|
+
</parameters>
|
|
242
|
+
</method>
|
|
243
|
+
<method name="get_peer_finished" c:identifier="gjsify_tls_session_access_get_peer_finished" throws="1">
|
|
244
|
+
<return-value transfer-ownership="full">
|
|
245
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
246
|
+
</return-value>
|
|
247
|
+
<parameters>
|
|
248
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
249
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
250
|
+
</instance-parameter>
|
|
251
|
+
</parameters>
|
|
252
|
+
</method>
|
|
253
|
+
<method name="get_negotiated_protocol_version" c:identifier="gjsify_tls_session_access_get_negotiated_protocol_version">
|
|
254
|
+
<return-value transfer-ownership="full">
|
|
255
|
+
<type name="utf8" c:type="gchar*"/>
|
|
256
|
+
</return-value>
|
|
257
|
+
<parameters>
|
|
258
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
259
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
260
|
+
</instance-parameter>
|
|
261
|
+
</parameters>
|
|
262
|
+
</method>
|
|
263
|
+
<constructor name="new" c:identifier="gjsify_tls_session_access_new">
|
|
264
|
+
<return-value transfer-ownership="full">
|
|
265
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
266
|
+
</return-value>
|
|
267
|
+
</constructor>
|
|
268
|
+
</class>
|
|
269
|
+
<record name="SessionAccessClass" c:type="GjsifyTlsSessionAccessClass" glib:is-gtype-struct-for="SessionAccess">
|
|
270
|
+
<field name="parent_class" readable="0" private="1">
|
|
271
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
|
272
|
+
</field>
|
|
273
|
+
</record>
|
|
274
|
+
<record name="SessionAccessPrivate" c:type="GjsifyTlsSessionAccessPrivate" disguised="1"/>
|
|
153
275
|
</namespace>
|
|
154
276
|
</repository>
|
|
Binary file
|
|
Binary file
|
|
@@ -2,10 +2,22 @@
|
|
|
2
2
|
<!-- GjsifyTls-1.0.gir generated by valac 0.56.19, do not modify. -->
|
|
3
3
|
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:doc="http://www.gtk.org/introspection/doc/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
|
4
4
|
<include name="GObject" version="2.0"/>
|
|
5
|
+
<include name="Gio" version="2.0"/>
|
|
6
|
+
<include name="GLib" version="2.0"/>
|
|
5
7
|
<package name="gjsifytls"/>
|
|
6
8
|
<c:include name="gjsifytls.h"/>
|
|
7
9
|
<doc:format name="unknown"/>
|
|
8
10
|
<namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
|
|
11
|
+
<enumeration name="ChannelBindingType" c:type="GjsifyTlsChannelBindingType" glib:type-name="GjsifyTlsChannelBindingType" glib:get-type="gjsify_tls_channel_binding_type_get_type">
|
|
12
|
+
<member name="tls_unique" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_UNIQUE" value="0"/>
|
|
13
|
+
<member name="tls_server_end_point" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_SERVER_END_POINT" value="1"/>
|
|
14
|
+
<member name="tls_exporter" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_EXPORTER" value="2"/>
|
|
15
|
+
</enumeration>
|
|
16
|
+
<enumeration name="SessionAccessError" c:type="GjsifyTlsSessionAccessError" glib:type-name="GjsifyTlsSessionAccessError" glib:get-type="gjsify_tls_session_access_error_get_type" glib:error-domain="gjsify-tls-session-access-error-quark">
|
|
17
|
+
<member name="not_supported" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_NOT_SUPPORTED" value="0"/>
|
|
18
|
+
<member name="not_ready" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_NOT_READY" value="1"/>
|
|
19
|
+
<member name="gnutls_error" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_GNUTLS_ERROR" value="2"/>
|
|
20
|
+
</enumeration>
|
|
9
21
|
<class name="OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo" c:symbol-prefix="ocsp_response_info" glib:type-name="GjsifyTlsOcspResponseInfo" glib:get-type="gjsify_tls_ocsp_response_info_get_type" glib:type-struct="OcspResponseInfoClass" parent="GObject.Object">
|
|
10
22
|
<field name="parent_instance" readable="0" private="1">
|
|
11
23
|
<type name="GObject.Object" c:type="GObject"/>
|
|
@@ -150,5 +162,115 @@
|
|
|
150
162
|
</field>
|
|
151
163
|
</record>
|
|
152
164
|
<record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
|
|
165
|
+
<class name="SessionAccess" c:type="GjsifyTlsSessionAccess" c:symbol-prefix="session_access" glib:type-name="GjsifyTlsSessionAccess" glib:get-type="gjsify_tls_session_access_get_type" glib:type-struct="SessionAccessClass" parent="GObject.Object">
|
|
166
|
+
<field name="parent_instance" readable="0" private="1">
|
|
167
|
+
<type name="GObject.Object" c:type="GObject"/>
|
|
168
|
+
</field>
|
|
169
|
+
<field name="priv" readable="0" private="1">
|
|
170
|
+
<type name="SessionAccessPrivate" c:type="GjsifyTlsSessionAccessPrivate*"/>
|
|
171
|
+
</field>
|
|
172
|
+
<function name="is_supported" c:identifier="gjsify_tls_session_access_is_supported">
|
|
173
|
+
<return-value transfer-ownership="full">
|
|
174
|
+
<type name="gboolean" c:type="gboolean"/>
|
|
175
|
+
</return-value>
|
|
176
|
+
</function>
|
|
177
|
+
<function name="for_connection" c:identifier="gjsify_tls_session_access_for_connection">
|
|
178
|
+
<return-value transfer-ownership="full" nullable="1">
|
|
179
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
180
|
+
</return-value>
|
|
181
|
+
<parameters>
|
|
182
|
+
<parameter name="connection" transfer-ownership="none" nullable="1">
|
|
183
|
+
<type name="Gio.TlsConnection" c:type="GTlsConnection*"/>
|
|
184
|
+
</parameter>
|
|
185
|
+
</parameters>
|
|
186
|
+
</function>
|
|
187
|
+
<method name="is_session_reused" c:identifier="gjsify_tls_session_access_is_session_reused" throws="1">
|
|
188
|
+
<return-value transfer-ownership="full">
|
|
189
|
+
<type name="gboolean" c:type="gboolean"/>
|
|
190
|
+
</return-value>
|
|
191
|
+
<parameters>
|
|
192
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
193
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
194
|
+
</instance-parameter>
|
|
195
|
+
</parameters>
|
|
196
|
+
</method>
|
|
197
|
+
<method name="get_session_data" c:identifier="gjsify_tls_session_access_get_session_data" throws="1">
|
|
198
|
+
<return-value transfer-ownership="full">
|
|
199
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
200
|
+
</return-value>
|
|
201
|
+
<parameters>
|
|
202
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
203
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
204
|
+
</instance-parameter>
|
|
205
|
+
</parameters>
|
|
206
|
+
</method>
|
|
207
|
+
<method name="set_session_data" c:identifier="gjsify_tls_session_access_set_session_data" throws="1">
|
|
208
|
+
<return-value transfer-ownership="full">
|
|
209
|
+
<type name="none" c:type="void"/>
|
|
210
|
+
</return-value>
|
|
211
|
+
<parameters>
|
|
212
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
213
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
214
|
+
</instance-parameter>
|
|
215
|
+
<parameter name="data" transfer-ownership="none">
|
|
216
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
217
|
+
</parameter>
|
|
218
|
+
</parameters>
|
|
219
|
+
</method>
|
|
220
|
+
<method name="get_channel_binding" c:identifier="gjsify_tls_session_access_get_channel_binding" throws="1">
|
|
221
|
+
<return-value transfer-ownership="full">
|
|
222
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
223
|
+
</return-value>
|
|
224
|
+
<parameters>
|
|
225
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
226
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
227
|
+
</instance-parameter>
|
|
228
|
+
<parameter name="binding" transfer-ownership="none">
|
|
229
|
+
<type name="GjsifyTls.ChannelBindingType" c:type="GjsifyTlsChannelBindingType"/>
|
|
230
|
+
</parameter>
|
|
231
|
+
</parameters>
|
|
232
|
+
</method>
|
|
233
|
+
<method name="get_finished" c:identifier="gjsify_tls_session_access_get_finished" throws="1">
|
|
234
|
+
<return-value transfer-ownership="full">
|
|
235
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
236
|
+
</return-value>
|
|
237
|
+
<parameters>
|
|
238
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
239
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
240
|
+
</instance-parameter>
|
|
241
|
+
</parameters>
|
|
242
|
+
</method>
|
|
243
|
+
<method name="get_peer_finished" c:identifier="gjsify_tls_session_access_get_peer_finished" throws="1">
|
|
244
|
+
<return-value transfer-ownership="full">
|
|
245
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
246
|
+
</return-value>
|
|
247
|
+
<parameters>
|
|
248
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
249
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
250
|
+
</instance-parameter>
|
|
251
|
+
</parameters>
|
|
252
|
+
</method>
|
|
253
|
+
<method name="get_negotiated_protocol_version" c:identifier="gjsify_tls_session_access_get_negotiated_protocol_version">
|
|
254
|
+
<return-value transfer-ownership="full">
|
|
255
|
+
<type name="utf8" c:type="gchar*"/>
|
|
256
|
+
</return-value>
|
|
257
|
+
<parameters>
|
|
258
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
259
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
260
|
+
</instance-parameter>
|
|
261
|
+
</parameters>
|
|
262
|
+
</method>
|
|
263
|
+
<constructor name="new" c:identifier="gjsify_tls_session_access_new">
|
|
264
|
+
<return-value transfer-ownership="full">
|
|
265
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
266
|
+
</return-value>
|
|
267
|
+
</constructor>
|
|
268
|
+
</class>
|
|
269
|
+
<record name="SessionAccessClass" c:type="GjsifyTlsSessionAccessClass" glib:is-gtype-struct-for="SessionAccess">
|
|
270
|
+
<field name="parent_class" readable="0" private="1">
|
|
271
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
|
272
|
+
</field>
|
|
273
|
+
</record>
|
|
274
|
+
<record name="SessionAccessPrivate" c:type="GjsifyTlsSessionAccessPrivate" disguised="1"/>
|
|
153
275
|
</namespace>
|
|
154
276
|
</repository>
|
|
Binary file
|
|
Binary file
|
|
@@ -2,9 +2,21 @@
|
|
|
2
2
|
<!-- GjsifyTls-1.0.gir generated by valac 0.56.18, do not modify. -->
|
|
3
3
|
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
|
4
4
|
<include name="GObject" version="2.0"/>
|
|
5
|
+
<include name="Gio" version="2.0"/>
|
|
6
|
+
<include name="GLib" version="2.0"/>
|
|
5
7
|
<package name="gjsifytls"/>
|
|
6
8
|
<c:include name="gjsifytls.h"/>
|
|
7
9
|
<namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
|
|
10
|
+
<enumeration name="ChannelBindingType" c:type="GjsifyTlsChannelBindingType" glib:type-name="GjsifyTlsChannelBindingType" glib:get-type="gjsify_tls_channel_binding_type_get_type">
|
|
11
|
+
<member name="tls_unique" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_UNIQUE" value="0"/>
|
|
12
|
+
<member name="tls_server_end_point" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_SERVER_END_POINT" value="1"/>
|
|
13
|
+
<member name="tls_exporter" c:identifier="GJSIFY_TLS_CHANNEL_BINDING_TYPE_TLS_EXPORTER" value="2"/>
|
|
14
|
+
</enumeration>
|
|
15
|
+
<enumeration name="SessionAccessError" c:type="GjsifyTlsSessionAccessError" glib:type-name="GjsifyTlsSessionAccessError" glib:get-type="gjsify_tls_session_access_error_get_type" glib:error-domain="gjsify-tls-session-access-error-quark">
|
|
16
|
+
<member name="not_supported" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_NOT_SUPPORTED" value="0"/>
|
|
17
|
+
<member name="not_ready" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_NOT_READY" value="1"/>
|
|
18
|
+
<member name="gnutls_error" c:identifier="GJSIFY_TLS_SESSION_ACCESS_ERROR_GNUTLS_ERROR" value="2"/>
|
|
19
|
+
</enumeration>
|
|
8
20
|
<class name="OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo" c:symbol-prefix="ocsp_response_info" glib:type-name="GjsifyTlsOcspResponseInfo" glib:get-type="gjsify_tls_ocsp_response_info_get_type" glib:type-struct="OcspResponseInfoClass" parent="GObject.Object">
|
|
9
21
|
<field name="parent_instance" readable="0" private="1">
|
|
10
22
|
<type name="GObject.Object" c:type="GObject"/>
|
|
@@ -149,5 +161,115 @@
|
|
|
149
161
|
</field>
|
|
150
162
|
</record>
|
|
151
163
|
<record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
|
|
164
|
+
<class name="SessionAccess" c:type="GjsifyTlsSessionAccess" c:symbol-prefix="session_access" glib:type-name="GjsifyTlsSessionAccess" glib:get-type="gjsify_tls_session_access_get_type" glib:type-struct="SessionAccessClass" parent="GObject.Object">
|
|
165
|
+
<field name="parent_instance" readable="0" private="1">
|
|
166
|
+
<type name="GObject.Object" c:type="GObject"/>
|
|
167
|
+
</field>
|
|
168
|
+
<field name="priv" readable="0" private="1">
|
|
169
|
+
<type name="SessionAccessPrivate" c:type="GjsifyTlsSessionAccessPrivate*"/>
|
|
170
|
+
</field>
|
|
171
|
+
<function name="is_supported" c:identifier="gjsify_tls_session_access_is_supported">
|
|
172
|
+
<return-value transfer-ownership="full">
|
|
173
|
+
<type name="gboolean" c:type="gboolean"/>
|
|
174
|
+
</return-value>
|
|
175
|
+
</function>
|
|
176
|
+
<function name="for_connection" c:identifier="gjsify_tls_session_access_for_connection">
|
|
177
|
+
<return-value transfer-ownership="full" nullable="1">
|
|
178
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
179
|
+
</return-value>
|
|
180
|
+
<parameters>
|
|
181
|
+
<parameter name="connection" transfer-ownership="none" nullable="1">
|
|
182
|
+
<type name="Gio.TlsConnection" c:type="GTlsConnection*"/>
|
|
183
|
+
</parameter>
|
|
184
|
+
</parameters>
|
|
185
|
+
</function>
|
|
186
|
+
<method name="is_session_reused" c:identifier="gjsify_tls_session_access_is_session_reused" throws="1">
|
|
187
|
+
<return-value transfer-ownership="full">
|
|
188
|
+
<type name="gboolean" c:type="gboolean"/>
|
|
189
|
+
</return-value>
|
|
190
|
+
<parameters>
|
|
191
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
192
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
193
|
+
</instance-parameter>
|
|
194
|
+
</parameters>
|
|
195
|
+
</method>
|
|
196
|
+
<method name="get_session_data" c:identifier="gjsify_tls_session_access_get_session_data" throws="1">
|
|
197
|
+
<return-value transfer-ownership="full">
|
|
198
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
199
|
+
</return-value>
|
|
200
|
+
<parameters>
|
|
201
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
202
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
203
|
+
</instance-parameter>
|
|
204
|
+
</parameters>
|
|
205
|
+
</method>
|
|
206
|
+
<method name="set_session_data" c:identifier="gjsify_tls_session_access_set_session_data" throws="1">
|
|
207
|
+
<return-value transfer-ownership="full">
|
|
208
|
+
<type name="none" c:type="void"/>
|
|
209
|
+
</return-value>
|
|
210
|
+
<parameters>
|
|
211
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
212
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
213
|
+
</instance-parameter>
|
|
214
|
+
<parameter name="data" transfer-ownership="none">
|
|
215
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
216
|
+
</parameter>
|
|
217
|
+
</parameters>
|
|
218
|
+
</method>
|
|
219
|
+
<method name="get_channel_binding" c:identifier="gjsify_tls_session_access_get_channel_binding" throws="1">
|
|
220
|
+
<return-value transfer-ownership="full">
|
|
221
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
222
|
+
</return-value>
|
|
223
|
+
<parameters>
|
|
224
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
225
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
226
|
+
</instance-parameter>
|
|
227
|
+
<parameter name="binding" transfer-ownership="none">
|
|
228
|
+
<type name="GjsifyTls.ChannelBindingType" c:type="GjsifyTlsChannelBindingType"/>
|
|
229
|
+
</parameter>
|
|
230
|
+
</parameters>
|
|
231
|
+
</method>
|
|
232
|
+
<method name="get_finished" c:identifier="gjsify_tls_session_access_get_finished" throws="1">
|
|
233
|
+
<return-value transfer-ownership="full">
|
|
234
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
235
|
+
</return-value>
|
|
236
|
+
<parameters>
|
|
237
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
238
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
239
|
+
</instance-parameter>
|
|
240
|
+
</parameters>
|
|
241
|
+
</method>
|
|
242
|
+
<method name="get_peer_finished" c:identifier="gjsify_tls_session_access_get_peer_finished" throws="1">
|
|
243
|
+
<return-value transfer-ownership="full">
|
|
244
|
+
<type name="GLib.Bytes" c:type="GBytes*"/>
|
|
245
|
+
</return-value>
|
|
246
|
+
<parameters>
|
|
247
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
248
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
249
|
+
</instance-parameter>
|
|
250
|
+
</parameters>
|
|
251
|
+
</method>
|
|
252
|
+
<method name="get_negotiated_protocol_version" c:identifier="gjsify_tls_session_access_get_negotiated_protocol_version">
|
|
253
|
+
<return-value transfer-ownership="full">
|
|
254
|
+
<type name="utf8" c:type="gchar*"/>
|
|
255
|
+
</return-value>
|
|
256
|
+
<parameters>
|
|
257
|
+
<instance-parameter name="self" transfer-ownership="none">
|
|
258
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
259
|
+
</instance-parameter>
|
|
260
|
+
</parameters>
|
|
261
|
+
</method>
|
|
262
|
+
<constructor name="new" c:identifier="gjsify_tls_session_access_new">
|
|
263
|
+
<return-value transfer-ownership="full">
|
|
264
|
+
<type name="GjsifyTls.SessionAccess" c:type="GjsifyTlsSessionAccess*"/>
|
|
265
|
+
</return-value>
|
|
266
|
+
</constructor>
|
|
267
|
+
</class>
|
|
268
|
+
<record name="SessionAccessClass" c:type="GjsifyTlsSessionAccessClass" glib:is-gtype-struct-for="SessionAccess">
|
|
269
|
+
<field name="parent_class" readable="0" private="1">
|
|
270
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
|
271
|
+
</field>
|
|
272
|
+
</record>
|
|
273
|
+
<record name="SessionAccessPrivate" c:type="GjsifyTlsSessionAccessPrivate" disguised="1"/>
|
|
152
274
|
</namespace>
|
|
153
275
|
</repository>
|
|
Binary file
|
|
Binary file
|