@gjsify/tls-native 0.4.20 → 0.4.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/tls-native",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
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",
@@ -49,14 +49,14 @@
49
49
  "build:gir-types": "ts-for-gir generate --externalDeps --allowMissingDeps --girDirectories=./prebuilds/linux-x86_64 --girDirectories=/usr/share/gir-1.0 --modules=GjsifyTls-1.0 --outdir=src/ts --npmScope=@girs --package=false --ignoreVersionConflicts=true"
50
50
  },
51
51
  "dependencies": {
52
- "@girs/glib-2.0": "2.88.0-4.0.0-rc.15",
53
- "@girs/gobject-2.0": "2.88.0-4.0.0-rc.15"
52
+ "@girs/glib-2.0": "2.88.0-4.0.1",
53
+ "@girs/gobject-2.0": "2.88.0-4.0.1"
54
54
  },
55
55
  "devDependencies": {
56
- "@gjsify/cli": "workspace:^",
57
- "@gjsify/unit": "workspace:^",
56
+ "@gjsify/cli": "^0.4.22",
57
+ "@gjsify/unit": "^0.4.22",
58
58
  "@ts-for-gir/cli": "^4.0.0-rc.15",
59
- "@types/node": "^25.6.2",
59
+ "@types/node": "^25.9.1",
60
60
  "typescript": "^6.0.3"
61
61
  }
62
62
  }
@@ -0,0 +1,154 @@
1
+ <?xml version="1.0"?>
2
+ <!-- GjsifyTls-1.0.gir generated by valac 0.56.19, do not modify. -->
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
+ <include name="GObject" version="2.0"/>
5
+ <package name="gjsifytls"/>
6
+ <c:include name="gjsifytls.h"/>
7
+ <doc:format name="unknown"/>
8
+ <namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
9
+ <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
+ <field name="parent_instance" readable="0" private="1">
11
+ <type name="GObject.Object" c:type="GObject"/>
12
+ </field>
13
+ <field name="priv" readable="0" private="1">
14
+ <type name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate*"/>
15
+ </field>
16
+ <constructor name="new" c:identifier="gjsify_tls_ocsp_response_info_new">
17
+ <return-value transfer-ownership="full">
18
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
19
+ </return-value>
20
+ </constructor>
21
+ <property name="response-status" writable="1">
22
+ <type name="gint" c:type="gint"/>
23
+ </property>
24
+ <method name="get_response_status" c:identifier="gjsify_tls_ocsp_response_info_get_response_status">
25
+ <return-value transfer-ownership="none">
26
+ <type name="gint" c:type="gint"/>
27
+ </return-value>
28
+ <parameters>
29
+ <instance-parameter name="self" transfer-ownership="none">
30
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
31
+ </instance-parameter>
32
+ </parameters>
33
+ </method>
34
+ <property name="produced-at" writable="1">
35
+ <type name="gint64" c:type="gint64"/>
36
+ </property>
37
+ <method name="get_produced_at" c:identifier="gjsify_tls_ocsp_response_info_get_produced_at">
38
+ <return-value transfer-ownership="none">
39
+ <type name="gint64" c:type="gint64"/>
40
+ </return-value>
41
+ <parameters>
42
+ <instance-parameter name="self" transfer-ownership="none">
43
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
44
+ </instance-parameter>
45
+ </parameters>
46
+ </method>
47
+ <property name="cert-status" writable="1">
48
+ <type name="gint" c:type="gint"/>
49
+ </property>
50
+ <method name="get_cert_status" c:identifier="gjsify_tls_ocsp_response_info_get_cert_status">
51
+ <return-value transfer-ownership="none">
52
+ <type name="gint" c:type="gint"/>
53
+ </return-value>
54
+ <parameters>
55
+ <instance-parameter name="self" transfer-ownership="none">
56
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
57
+ </instance-parameter>
58
+ </parameters>
59
+ </method>
60
+ <property name="this-update" writable="1">
61
+ <type name="gint64" c:type="gint64"/>
62
+ </property>
63
+ <method name="get_this_update" c:identifier="gjsify_tls_ocsp_response_info_get_this_update">
64
+ <return-value transfer-ownership="none">
65
+ <type name="gint64" c:type="gint64"/>
66
+ </return-value>
67
+ <parameters>
68
+ <instance-parameter name="self" transfer-ownership="none">
69
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
70
+ </instance-parameter>
71
+ </parameters>
72
+ </method>
73
+ <property name="next-update" writable="1">
74
+ <type name="gint64" c:type="gint64"/>
75
+ </property>
76
+ <method name="get_next_update" c:identifier="gjsify_tls_ocsp_response_info_get_next_update">
77
+ <return-value transfer-ownership="none">
78
+ <type name="gint64" c:type="gint64"/>
79
+ </return-value>
80
+ <parameters>
81
+ <instance-parameter name="self" transfer-ownership="none">
82
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
83
+ </instance-parameter>
84
+ </parameters>
85
+ </method>
86
+ <property name="revocation-time" writable="1">
87
+ <type name="gint64" c:type="gint64"/>
88
+ </property>
89
+ <method name="get_revocation_time" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_time">
90
+ <return-value transfer-ownership="none">
91
+ <type name="gint64" c:type="gint64"/>
92
+ </return-value>
93
+ <parameters>
94
+ <instance-parameter name="self" transfer-ownership="none">
95
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
96
+ </instance-parameter>
97
+ </parameters>
98
+ </method>
99
+ <property name="revocation-reason" writable="1">
100
+ <type name="gint" c:type="gint"/>
101
+ </property>
102
+ <method name="get_revocation_reason" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_reason">
103
+ <return-value transfer-ownership="none">
104
+ <type name="gint" c:type="gint"/>
105
+ </return-value>
106
+ <parameters>
107
+ <instance-parameter name="self" transfer-ownership="none">
108
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
109
+ </instance-parameter>
110
+ </parameters>
111
+ </method>
112
+ </class>
113
+ <record name="OcspResponseInfoClass" c:type="GjsifyTlsOcspResponseInfoClass" glib:is-gtype-struct-for="OcspResponseInfo">
114
+ <field name="parent_class" readable="0" private="1">
115
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
116
+ </field>
117
+ </record>
118
+ <record name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate" disguised="1"/>
119
+ <class name="Tls" c:type="GjsifyTlsTls" c:symbol-prefix="tls" glib:type-name="GjsifyTlsTls" glib:get-type="gjsify_tls_tls_get_type" glib:type-struct="TlsClass" parent="GObject.Object">
120
+ <field name="parent_instance" readable="0" private="1">
121
+ <type name="GObject.Object" c:type="GObject"/>
122
+ </field>
123
+ <field name="priv" readable="0" private="1">
124
+ <type name="TlsPrivate" c:type="GjsifyTlsTlsPrivate*"/>
125
+ </field>
126
+ <function name="parse_ocsp_response" c:identifier="gjsify_tls_tls_parse_ocsp_response">
127
+ <return-value transfer-ownership="full" nullable="1">
128
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
129
+ </return-value>
130
+ <parameters>
131
+ <parameter name="bytes" transfer-ownership="none">
132
+ <array length="1" c:type="guint8*">
133
+ <type name="guint8" c:type="guint8"/>
134
+ </array>
135
+ </parameter>
136
+ <parameter name="bytes_length1" transfer-ownership="none">
137
+ <type name="gint" c:type="gint"/>
138
+ </parameter>
139
+ </parameters>
140
+ </function>
141
+ <constructor name="new" c:identifier="gjsify_tls_tls_new">
142
+ <return-value transfer-ownership="full">
143
+ <type name="GjsifyTls.Tls" c:type="GjsifyTlsTls*"/>
144
+ </return-value>
145
+ </constructor>
146
+ </class>
147
+ <record name="TlsClass" c:type="GjsifyTlsTlsClass" glib:is-gtype-struct-for="Tls">
148
+ <field name="parent_class" readable="0" private="1">
149
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
150
+ </field>
151
+ </record>
152
+ <record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
153
+ </namespace>
154
+ </repository>
@@ -0,0 +1,154 @@
1
+ <?xml version="1.0"?>
2
+ <!-- GjsifyTls-1.0.gir generated by valac 0.56.19, do not modify. -->
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
+ <include name="GObject" version="2.0"/>
5
+ <package name="gjsifytls"/>
6
+ <c:include name="gjsifytls.h"/>
7
+ <doc:format name="unknown"/>
8
+ <namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
9
+ <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
+ <field name="parent_instance" readable="0" private="1">
11
+ <type name="GObject.Object" c:type="GObject"/>
12
+ </field>
13
+ <field name="priv" readable="0" private="1">
14
+ <type name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate*"/>
15
+ </field>
16
+ <constructor name="new" c:identifier="gjsify_tls_ocsp_response_info_new">
17
+ <return-value transfer-ownership="full">
18
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
19
+ </return-value>
20
+ </constructor>
21
+ <property name="response-status" writable="1">
22
+ <type name="gint" c:type="gint"/>
23
+ </property>
24
+ <method name="get_response_status" c:identifier="gjsify_tls_ocsp_response_info_get_response_status">
25
+ <return-value transfer-ownership="none">
26
+ <type name="gint" c:type="gint"/>
27
+ </return-value>
28
+ <parameters>
29
+ <instance-parameter name="self" transfer-ownership="none">
30
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
31
+ </instance-parameter>
32
+ </parameters>
33
+ </method>
34
+ <property name="produced-at" writable="1">
35
+ <type name="gint64" c:type="gint64"/>
36
+ </property>
37
+ <method name="get_produced_at" c:identifier="gjsify_tls_ocsp_response_info_get_produced_at">
38
+ <return-value transfer-ownership="none">
39
+ <type name="gint64" c:type="gint64"/>
40
+ </return-value>
41
+ <parameters>
42
+ <instance-parameter name="self" transfer-ownership="none">
43
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
44
+ </instance-parameter>
45
+ </parameters>
46
+ </method>
47
+ <property name="cert-status" writable="1">
48
+ <type name="gint" c:type="gint"/>
49
+ </property>
50
+ <method name="get_cert_status" c:identifier="gjsify_tls_ocsp_response_info_get_cert_status">
51
+ <return-value transfer-ownership="none">
52
+ <type name="gint" c:type="gint"/>
53
+ </return-value>
54
+ <parameters>
55
+ <instance-parameter name="self" transfer-ownership="none">
56
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
57
+ </instance-parameter>
58
+ </parameters>
59
+ </method>
60
+ <property name="this-update" writable="1">
61
+ <type name="gint64" c:type="gint64"/>
62
+ </property>
63
+ <method name="get_this_update" c:identifier="gjsify_tls_ocsp_response_info_get_this_update">
64
+ <return-value transfer-ownership="none">
65
+ <type name="gint64" c:type="gint64"/>
66
+ </return-value>
67
+ <parameters>
68
+ <instance-parameter name="self" transfer-ownership="none">
69
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
70
+ </instance-parameter>
71
+ </parameters>
72
+ </method>
73
+ <property name="next-update" writable="1">
74
+ <type name="gint64" c:type="gint64"/>
75
+ </property>
76
+ <method name="get_next_update" c:identifier="gjsify_tls_ocsp_response_info_get_next_update">
77
+ <return-value transfer-ownership="none">
78
+ <type name="gint64" c:type="gint64"/>
79
+ </return-value>
80
+ <parameters>
81
+ <instance-parameter name="self" transfer-ownership="none">
82
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
83
+ </instance-parameter>
84
+ </parameters>
85
+ </method>
86
+ <property name="revocation-time" writable="1">
87
+ <type name="gint64" c:type="gint64"/>
88
+ </property>
89
+ <method name="get_revocation_time" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_time">
90
+ <return-value transfer-ownership="none">
91
+ <type name="gint64" c:type="gint64"/>
92
+ </return-value>
93
+ <parameters>
94
+ <instance-parameter name="self" transfer-ownership="none">
95
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
96
+ </instance-parameter>
97
+ </parameters>
98
+ </method>
99
+ <property name="revocation-reason" writable="1">
100
+ <type name="gint" c:type="gint"/>
101
+ </property>
102
+ <method name="get_revocation_reason" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_reason">
103
+ <return-value transfer-ownership="none">
104
+ <type name="gint" c:type="gint"/>
105
+ </return-value>
106
+ <parameters>
107
+ <instance-parameter name="self" transfer-ownership="none">
108
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
109
+ </instance-parameter>
110
+ </parameters>
111
+ </method>
112
+ </class>
113
+ <record name="OcspResponseInfoClass" c:type="GjsifyTlsOcspResponseInfoClass" glib:is-gtype-struct-for="OcspResponseInfo">
114
+ <field name="parent_class" readable="0" private="1">
115
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
116
+ </field>
117
+ </record>
118
+ <record name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate" disguised="1"/>
119
+ <class name="Tls" c:type="GjsifyTlsTls" c:symbol-prefix="tls" glib:type-name="GjsifyTlsTls" glib:get-type="gjsify_tls_tls_get_type" glib:type-struct="TlsClass" parent="GObject.Object">
120
+ <field name="parent_instance" readable="0" private="1">
121
+ <type name="GObject.Object" c:type="GObject"/>
122
+ </field>
123
+ <field name="priv" readable="0" private="1">
124
+ <type name="TlsPrivate" c:type="GjsifyTlsTlsPrivate*"/>
125
+ </field>
126
+ <function name="parse_ocsp_response" c:identifier="gjsify_tls_tls_parse_ocsp_response">
127
+ <return-value transfer-ownership="full" nullable="1">
128
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
129
+ </return-value>
130
+ <parameters>
131
+ <parameter name="bytes" transfer-ownership="none">
132
+ <array length="1" c:type="guint8*">
133
+ <type name="guint8" c:type="guint8"/>
134
+ </array>
135
+ </parameter>
136
+ <parameter name="bytes_length1" transfer-ownership="none">
137
+ <type name="gint" c:type="gint"/>
138
+ </parameter>
139
+ </parameters>
140
+ </function>
141
+ <constructor name="new" c:identifier="gjsify_tls_tls_new">
142
+ <return-value transfer-ownership="full">
143
+ <type name="GjsifyTls.Tls" c:type="GjsifyTlsTls*"/>
144
+ </return-value>
145
+ </constructor>
146
+ </class>
147
+ <record name="TlsClass" c:type="GjsifyTlsTlsClass" glib:is-gtype-struct-for="Tls">
148
+ <field name="parent_class" readable="0" private="1">
149
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
150
+ </field>
151
+ </record>
152
+ <record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
153
+ </namespace>
154
+ </repository>
@@ -0,0 +1,153 @@
1
+ <?xml version="1.0"?>
2
+ <!-- GjsifyTls-1.0.gir generated by valac 0.56.18, do not modify. -->
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
+ <include name="GObject" version="2.0"/>
5
+ <package name="gjsifytls"/>
6
+ <c:include name="gjsifytls.h"/>
7
+ <namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
8
+ <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
+ <field name="parent_instance" readable="0" private="1">
10
+ <type name="GObject.Object" c:type="GObject"/>
11
+ </field>
12
+ <field name="priv" readable="0" private="1">
13
+ <type name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate*"/>
14
+ </field>
15
+ <constructor name="new" c:identifier="gjsify_tls_ocsp_response_info_new">
16
+ <return-value transfer-ownership="full">
17
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
18
+ </return-value>
19
+ </constructor>
20
+ <property name="response-status" writable="1">
21
+ <type name="gint" c:type="gint"/>
22
+ </property>
23
+ <method name="get_response_status" c:identifier="gjsify_tls_ocsp_response_info_get_response_status">
24
+ <return-value transfer-ownership="none">
25
+ <type name="gint" c:type="gint"/>
26
+ </return-value>
27
+ <parameters>
28
+ <instance-parameter name="self" transfer-ownership="none">
29
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
30
+ </instance-parameter>
31
+ </parameters>
32
+ </method>
33
+ <property name="produced-at" writable="1">
34
+ <type name="gint64" c:type="gint64"/>
35
+ </property>
36
+ <method name="get_produced_at" c:identifier="gjsify_tls_ocsp_response_info_get_produced_at">
37
+ <return-value transfer-ownership="none">
38
+ <type name="gint64" c:type="gint64"/>
39
+ </return-value>
40
+ <parameters>
41
+ <instance-parameter name="self" transfer-ownership="none">
42
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
43
+ </instance-parameter>
44
+ </parameters>
45
+ </method>
46
+ <property name="cert-status" writable="1">
47
+ <type name="gint" c:type="gint"/>
48
+ </property>
49
+ <method name="get_cert_status" c:identifier="gjsify_tls_ocsp_response_info_get_cert_status">
50
+ <return-value transfer-ownership="none">
51
+ <type name="gint" c:type="gint"/>
52
+ </return-value>
53
+ <parameters>
54
+ <instance-parameter name="self" transfer-ownership="none">
55
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
56
+ </instance-parameter>
57
+ </parameters>
58
+ </method>
59
+ <property name="this-update" writable="1">
60
+ <type name="gint64" c:type="gint64"/>
61
+ </property>
62
+ <method name="get_this_update" c:identifier="gjsify_tls_ocsp_response_info_get_this_update">
63
+ <return-value transfer-ownership="none">
64
+ <type name="gint64" c:type="gint64"/>
65
+ </return-value>
66
+ <parameters>
67
+ <instance-parameter name="self" transfer-ownership="none">
68
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
69
+ </instance-parameter>
70
+ </parameters>
71
+ </method>
72
+ <property name="next-update" writable="1">
73
+ <type name="gint64" c:type="gint64"/>
74
+ </property>
75
+ <method name="get_next_update" c:identifier="gjsify_tls_ocsp_response_info_get_next_update">
76
+ <return-value transfer-ownership="none">
77
+ <type name="gint64" c:type="gint64"/>
78
+ </return-value>
79
+ <parameters>
80
+ <instance-parameter name="self" transfer-ownership="none">
81
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
82
+ </instance-parameter>
83
+ </parameters>
84
+ </method>
85
+ <property name="revocation-time" writable="1">
86
+ <type name="gint64" c:type="gint64"/>
87
+ </property>
88
+ <method name="get_revocation_time" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_time">
89
+ <return-value transfer-ownership="none">
90
+ <type name="gint64" c:type="gint64"/>
91
+ </return-value>
92
+ <parameters>
93
+ <instance-parameter name="self" transfer-ownership="none">
94
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
95
+ </instance-parameter>
96
+ </parameters>
97
+ </method>
98
+ <property name="revocation-reason" writable="1">
99
+ <type name="gint" c:type="gint"/>
100
+ </property>
101
+ <method name="get_revocation_reason" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_reason">
102
+ <return-value transfer-ownership="none">
103
+ <type name="gint" c:type="gint"/>
104
+ </return-value>
105
+ <parameters>
106
+ <instance-parameter name="self" transfer-ownership="none">
107
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
108
+ </instance-parameter>
109
+ </parameters>
110
+ </method>
111
+ </class>
112
+ <record name="OcspResponseInfoClass" c:type="GjsifyTlsOcspResponseInfoClass" glib:is-gtype-struct-for="OcspResponseInfo">
113
+ <field name="parent_class" readable="0" private="1">
114
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
115
+ </field>
116
+ </record>
117
+ <record name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate" disguised="1"/>
118
+ <class name="Tls" c:type="GjsifyTlsTls" c:symbol-prefix="tls" glib:type-name="GjsifyTlsTls" glib:get-type="gjsify_tls_tls_get_type" glib:type-struct="TlsClass" parent="GObject.Object">
119
+ <field name="parent_instance" readable="0" private="1">
120
+ <type name="GObject.Object" c:type="GObject"/>
121
+ </field>
122
+ <field name="priv" readable="0" private="1">
123
+ <type name="TlsPrivate" c:type="GjsifyTlsTlsPrivate*"/>
124
+ </field>
125
+ <function name="parse_ocsp_response" c:identifier="gjsify_tls_tls_parse_ocsp_response">
126
+ <return-value transfer-ownership="full" nullable="1">
127
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
128
+ </return-value>
129
+ <parameters>
130
+ <parameter name="bytes" transfer-ownership="none">
131
+ <array length="1" c:type="guint8*">
132
+ <type name="guint8" c:type="guint8"/>
133
+ </array>
134
+ </parameter>
135
+ <parameter name="bytes_length1" transfer-ownership="none">
136
+ <type name="gint" c:type="gint"/>
137
+ </parameter>
138
+ </parameters>
139
+ </function>
140
+ <constructor name="new" c:identifier="gjsify_tls_tls_new">
141
+ <return-value transfer-ownership="full">
142
+ <type name="GjsifyTls.Tls" c:type="GjsifyTlsTls*"/>
143
+ </return-value>
144
+ </constructor>
145
+ </class>
146
+ <record name="TlsClass" c:type="GjsifyTlsTlsClass" glib:is-gtype-struct-for="Tls">
147
+ <field name="parent_class" readable="0" private="1">
148
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
149
+ </field>
150
+ </record>
151
+ <record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
152
+ </namespace>
153
+ </repository>
@@ -0,0 +1,154 @@
1
+ <?xml version="1.0"?>
2
+ <!-- GjsifyTls-1.0.gir generated by valac 0.56.19, do not modify. -->
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
+ <include name="GObject" version="2.0"/>
5
+ <package name="gjsifytls"/>
6
+ <c:include name="gjsifytls.h"/>
7
+ <doc:format name="unknown"/>
8
+ <namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
9
+ <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
+ <field name="parent_instance" readable="0" private="1">
11
+ <type name="GObject.Object" c:type="GObject"/>
12
+ </field>
13
+ <field name="priv" readable="0" private="1">
14
+ <type name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate*"/>
15
+ </field>
16
+ <constructor name="new" c:identifier="gjsify_tls_ocsp_response_info_new">
17
+ <return-value transfer-ownership="full">
18
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
19
+ </return-value>
20
+ </constructor>
21
+ <property name="response-status" writable="1">
22
+ <type name="gint" c:type="gint"/>
23
+ </property>
24
+ <method name="get_response_status" c:identifier="gjsify_tls_ocsp_response_info_get_response_status">
25
+ <return-value transfer-ownership="none">
26
+ <type name="gint" c:type="gint"/>
27
+ </return-value>
28
+ <parameters>
29
+ <instance-parameter name="self" transfer-ownership="none">
30
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
31
+ </instance-parameter>
32
+ </parameters>
33
+ </method>
34
+ <property name="produced-at" writable="1">
35
+ <type name="gint64" c:type="gint64"/>
36
+ </property>
37
+ <method name="get_produced_at" c:identifier="gjsify_tls_ocsp_response_info_get_produced_at">
38
+ <return-value transfer-ownership="none">
39
+ <type name="gint64" c:type="gint64"/>
40
+ </return-value>
41
+ <parameters>
42
+ <instance-parameter name="self" transfer-ownership="none">
43
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
44
+ </instance-parameter>
45
+ </parameters>
46
+ </method>
47
+ <property name="cert-status" writable="1">
48
+ <type name="gint" c:type="gint"/>
49
+ </property>
50
+ <method name="get_cert_status" c:identifier="gjsify_tls_ocsp_response_info_get_cert_status">
51
+ <return-value transfer-ownership="none">
52
+ <type name="gint" c:type="gint"/>
53
+ </return-value>
54
+ <parameters>
55
+ <instance-parameter name="self" transfer-ownership="none">
56
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
57
+ </instance-parameter>
58
+ </parameters>
59
+ </method>
60
+ <property name="this-update" writable="1">
61
+ <type name="gint64" c:type="gint64"/>
62
+ </property>
63
+ <method name="get_this_update" c:identifier="gjsify_tls_ocsp_response_info_get_this_update">
64
+ <return-value transfer-ownership="none">
65
+ <type name="gint64" c:type="gint64"/>
66
+ </return-value>
67
+ <parameters>
68
+ <instance-parameter name="self" transfer-ownership="none">
69
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
70
+ </instance-parameter>
71
+ </parameters>
72
+ </method>
73
+ <property name="next-update" writable="1">
74
+ <type name="gint64" c:type="gint64"/>
75
+ </property>
76
+ <method name="get_next_update" c:identifier="gjsify_tls_ocsp_response_info_get_next_update">
77
+ <return-value transfer-ownership="none">
78
+ <type name="gint64" c:type="gint64"/>
79
+ </return-value>
80
+ <parameters>
81
+ <instance-parameter name="self" transfer-ownership="none">
82
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
83
+ </instance-parameter>
84
+ </parameters>
85
+ </method>
86
+ <property name="revocation-time" writable="1">
87
+ <type name="gint64" c:type="gint64"/>
88
+ </property>
89
+ <method name="get_revocation_time" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_time">
90
+ <return-value transfer-ownership="none">
91
+ <type name="gint64" c:type="gint64"/>
92
+ </return-value>
93
+ <parameters>
94
+ <instance-parameter name="self" transfer-ownership="none">
95
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
96
+ </instance-parameter>
97
+ </parameters>
98
+ </method>
99
+ <property name="revocation-reason" writable="1">
100
+ <type name="gint" c:type="gint"/>
101
+ </property>
102
+ <method name="get_revocation_reason" c:identifier="gjsify_tls_ocsp_response_info_get_revocation_reason">
103
+ <return-value transfer-ownership="none">
104
+ <type name="gint" c:type="gint"/>
105
+ </return-value>
106
+ <parameters>
107
+ <instance-parameter name="self" transfer-ownership="none">
108
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
109
+ </instance-parameter>
110
+ </parameters>
111
+ </method>
112
+ </class>
113
+ <record name="OcspResponseInfoClass" c:type="GjsifyTlsOcspResponseInfoClass" glib:is-gtype-struct-for="OcspResponseInfo">
114
+ <field name="parent_class" readable="0" private="1">
115
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
116
+ </field>
117
+ </record>
118
+ <record name="OcspResponseInfoPrivate" c:type="GjsifyTlsOcspResponseInfoPrivate" disguised="1"/>
119
+ <class name="Tls" c:type="GjsifyTlsTls" c:symbol-prefix="tls" glib:type-name="GjsifyTlsTls" glib:get-type="gjsify_tls_tls_get_type" glib:type-struct="TlsClass" parent="GObject.Object">
120
+ <field name="parent_instance" readable="0" private="1">
121
+ <type name="GObject.Object" c:type="GObject"/>
122
+ </field>
123
+ <field name="priv" readable="0" private="1">
124
+ <type name="TlsPrivate" c:type="GjsifyTlsTlsPrivate*"/>
125
+ </field>
126
+ <function name="parse_ocsp_response" c:identifier="gjsify_tls_tls_parse_ocsp_response">
127
+ <return-value transfer-ownership="full" nullable="1">
128
+ <type name="GjsifyTls.OcspResponseInfo" c:type="GjsifyTlsOcspResponseInfo*"/>
129
+ </return-value>
130
+ <parameters>
131
+ <parameter name="bytes" transfer-ownership="none">
132
+ <array length="1" c:type="guint8*">
133
+ <type name="guint8" c:type="guint8"/>
134
+ </array>
135
+ </parameter>
136
+ <parameter name="bytes_length1" transfer-ownership="none">
137
+ <type name="gint" c:type="gint"/>
138
+ </parameter>
139
+ </parameters>
140
+ </function>
141
+ <constructor name="new" c:identifier="gjsify_tls_tls_new">
142
+ <return-value transfer-ownership="full">
143
+ <type name="GjsifyTls.Tls" c:type="GjsifyTlsTls*"/>
144
+ </return-value>
145
+ </constructor>
146
+ </class>
147
+ <record name="TlsClass" c:type="GjsifyTlsTlsClass" glib:is-gtype-struct-for="Tls">
148
+ <field name="parent_class" readable="0" private="1">
149
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
150
+ </field>
151
+ </record>
152
+ <record name="TlsPrivate" c:type="GjsifyTlsTlsPrivate" disguised="1"/>
153
+ </namespace>
154
+ </repository>
@@ -1,10 +1,11 @@
1
1
  <?xml version="1.0"?>
2
- <!-- GjsifyTls-1.0.gir generated by valac 0.56.18, do not modify. -->
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">
2
+ <!-- GjsifyTls-1.0.gir generated by valac 0.56.19, do not modify. -->
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
5
  <package name="gjsifytls"/>
6
6
  <c:include name="gjsifytls.h"/>
7
- <namespace name="GjsifyTls" version="1.0" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
7
+ <doc:format name="unknown"/>
8
+ <namespace name="GjsifyTls" version="1.0" shared-library="libgjsifytls.so" c:prefix="GjsifyTls" c:identifier-prefixes="GjsifyTls" c:symbol-prefixes="gjsify_tls">
8
9
  <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
10
  <field name="parent_instance" readable="0" private="1">
10
11
  <type name="GObject.Object" c:type="GObject"/>