pyobjc-framework-SecurityUI 11.1__tar.gz

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.
Files changed (23) hide show
  1. pyobjc_framework_securityui-11.1/Lib/SecurityUI/__init__.py +44 -0
  2. pyobjc_framework_securityui-11.1/Lib/SecurityUI/_metadata.py +61 -0
  3. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/PKG-INFO +68 -0
  4. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/SOURCES.txt +21 -0
  5. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/dependency_links.txt +1 -0
  6. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/not-zip-safe +1 -0
  7. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/pyobjc-build-info.txt +3 -0
  8. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/requires.txt +3 -0
  9. pyobjc_framework_securityui-11.1/Lib/pyobjc_framework_SecurityUI.egg-info/top_level.txt +1 -0
  10. pyobjc_framework_securityui-11.1/License.txt +10 -0
  11. pyobjc_framework_securityui-11.1/MANIFEST.in +14 -0
  12. pyobjc_framework_securityui-11.1/PKG-INFO +65 -0
  13. pyobjc_framework_securityui-11.1/PyObjCTest/__init__.py +1 -0
  14. pyobjc_framework_securityui-11.1/PyObjCTest/test_securityui.py +7 -0
  15. pyobjc_framework_securityui-11.1/PyObjCTest/test_sfcertificatepresentation.py +11 -0
  16. pyobjc_framework_securityui-11.1/metadata/SecurityUI.fwinfo +37 -0
  17. pyobjc_framework_securityui-11.1/metadata/metadata.ini +2 -0
  18. pyobjc_framework_securityui-11.1/metadata/raw/arm64-15.4.fwinfo +237 -0
  19. pyobjc_framework_securityui-11.1/metadata/raw/x86_64-15.4.fwinfo +237 -0
  20. pyobjc_framework_securityui-11.1/pyobjc_setup.py +737 -0
  21. pyobjc_framework_securityui-11.1/pyproject.toml +3 -0
  22. pyobjc_framework_securityui-11.1/setup.cfg +4 -0
  23. pyobjc_framework_securityui-11.1/setup.py +32 -0
@@ -0,0 +1,44 @@
1
+ """
2
+ Python mapping for the SecurityUI framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Security
13
+ import AppKit
14
+ import objc
15
+ from . import _metadata
16
+
17
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
18
+ name="SecurityUI",
19
+ frameworkIdentifier="com.apple.SecurityUI",
20
+ frameworkPath=objc.pathForFramework(
21
+ "/System/Library/Frameworks/SecurityUI.framework"
22
+ ),
23
+ globals_dict=globals(),
24
+ inline_list=None,
25
+ parents=(
26
+ Security,
27
+ AppKit,
28
+ ),
29
+ metadict=_metadata.__dict__,
30
+ )
31
+
32
+ globals()["__dir__"] = dir_func
33
+ globals()["__getattr__"] = getattr_func
34
+
35
+ for cls, sel in (
36
+ ("SFCertificatePresentation", b"init"),
37
+ ("SFCertificatePresentation", b"new"),
38
+ ):
39
+ objc.registerUnavailableMethod(cls, sel)
40
+
41
+ del sys.modules["SecurityUI._metadata"]
42
+
43
+
44
+ globals().pop("_setup")()
@@ -0,0 +1,61 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sun Mar 2 11:55:28 2025
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$$"""
34
+ enums = """$$"""
35
+ misc.update({})
36
+ misc.update({})
37
+ misc.update({})
38
+ r = objc.registerMetaDataForSelector
39
+ objc._updatingMetadata(True)
40
+ try:
41
+ r(
42
+ b"SFCertificatePresentation",
43
+ b"presentSheetInWindow:dismissHandler:",
44
+ {
45
+ "arguments": {
46
+ 3: {
47
+ "callable": {
48
+ "retval": {"type": b"v"},
49
+ "arguments": {0: {"type": b"^v"}},
50
+ }
51
+ }
52
+ }
53
+ },
54
+ )
55
+ finally:
56
+ objc._updatingMetadata(False)
57
+
58
+ objc.registerNewKeywordsFromSelector("SFCertificatePresentation", b"initWithTrust:")
59
+ expressions = {}
60
+
61
+ # END OF FILE
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-SecurityUI
3
+ Version: 11.1
4
+ Summary: Wrappers for the framework SecurityUI on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT
9
+ Keywords: PyObjC,SecurityUI
10
+ Platform: MacOS X (>=15.4)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Objective C
28
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
+ Classifier: Topic :: Software Development :: User Interfaces
30
+ Requires-Python: >=3.9
31
+ Description-Content-Type: text/x-rst; charset=UTF-8
32
+ Requires-Dist: pyobjc-core>=11.1
33
+ Requires-Dist: pyobjc-framework-Cocoa>=11.1
34
+ Requires-Dist: pyobjc-framework-Security>=11.1
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: description-content-type
40
+ Dynamic: home-page
41
+ Dynamic: keywords
42
+ Dynamic: license
43
+ Dynamic: platform
44
+ Dynamic: requires-dist
45
+ Dynamic: requires-python
46
+ Dynamic: summary
47
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
48
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
49
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
50
+
51
+
52
+ Wrappers for the "SecurityUI" framework on macOS.
53
+
54
+ These wrappers don't include documentation, please check Apple's documentation
55
+ for information on how to use this framework and PyObjC's documentation
56
+ for general tips and tricks regarding the translation between Python
57
+ and (Objective-)C frameworks
58
+
59
+
60
+ Project links
61
+ -------------
62
+
63
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
64
+
65
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
66
+
67
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
68
+
@@ -0,0 +1,21 @@
1
+ License.txt
2
+ MANIFEST.in
3
+ pyobjc_setup.py
4
+ pyproject.toml
5
+ setup.py
6
+ Lib/SecurityUI/__init__.py
7
+ Lib/SecurityUI/_metadata.py
8
+ Lib/pyobjc_framework_SecurityUI.egg-info/PKG-INFO
9
+ Lib/pyobjc_framework_SecurityUI.egg-info/SOURCES.txt
10
+ Lib/pyobjc_framework_SecurityUI.egg-info/dependency_links.txt
11
+ Lib/pyobjc_framework_SecurityUI.egg-info/not-zip-safe
12
+ Lib/pyobjc_framework_SecurityUI.egg-info/pyobjc-build-info.txt
13
+ Lib/pyobjc_framework_SecurityUI.egg-info/requires.txt
14
+ Lib/pyobjc_framework_SecurityUI.egg-info/top_level.txt
15
+ PyObjCTest/__init__.py
16
+ PyObjCTest/test_securityui.py
17
+ PyObjCTest/test_sfcertificatepresentation.py
18
+ metadata/SecurityUI.fwinfo
19
+ metadata/metadata.ini
20
+ metadata/raw/arm64-15.4.fwinfo
21
+ metadata/raw/x86_64-15.4.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 15.5 (24F74)
2
+ Apple clang version 17.0.0 (clang-1700.0.13.5)
3
+ SDK: macOS 15.5
@@ -0,0 +1,3 @@
1
+ pyobjc-core>=11.1
2
+ pyobjc-framework-Cocoa>=11.1
3
+ pyobjc-framework-Security>=11.1
@@ -0,0 +1,10 @@
1
+ (This is the MIT license, note that libffi-src is a separate product with its own license)
2
+
3
+ Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
+ Copyright 2003-2025 - Ronald Oussoren
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,14 @@
1
+ include *.txt MANIFEST.in *.py
2
+ graft Doc
3
+ graft Examples
4
+ graft Lib
5
+ graft Modules
6
+ graft source-deps
7
+ graft PyObjCTest
8
+ graft metadata
9
+ global-exclude .DS_Store
10
+ global-exclude *.pyc
11
+ global-exclude *.pyo
12
+ global-exclude *.so
13
+ prune Lib/*/*.dSYM
14
+ prune PyObjCTest/*.dSYM
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-SecurityUI
3
+ Version: 11.1
4
+ Summary: Wrappers for the framework SecurityUI on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT
9
+ Keywords: PyObjC,SecurityUI
10
+ Platform: MacOS X (>=15.4)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Objective C
28
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
+ Classifier: Topic :: Software Development :: User Interfaces
30
+ Requires-Python: >=3.9
31
+ Description-Content-Type: text/x-rst; charset=UTF-8
32
+ Requires-Dist: pyobjc-core>=11.1
33
+ Requires-Dist: pyobjc-framework-Cocoa>=11.1
34
+ Requires-Dist: pyobjc-framework-Security>=11.1
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: description-content-type
40
+ Dynamic: home-page
41
+ Dynamic: keywords
42
+ Dynamic: license
43
+ Dynamic: platform
44
+ Dynamic: requires-dist
45
+ Dynamic: requires-python
46
+ Dynamic: summary
47
+
48
+
49
+ Wrappers for the "SecurityUI" framework on macOS.
50
+
51
+ These wrappers don't include documentation, please check Apple's documentation
52
+ for information on how to use this framework and PyObjC's documentation
53
+ for general tips and tricks regarding the translation between Python
54
+ and (Objective-)C frameworks
55
+
56
+
57
+ Project links
58
+ -------------
59
+
60
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
61
+
62
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
63
+
64
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
65
+
@@ -0,0 +1 @@
1
+ """testsuite"""
@@ -0,0 +1,7 @@
1
+ import SecurityUI
2
+ from PyObjCTools.TestSupport import TestCase
3
+
4
+
5
+ class TestSecurityUI(TestCase):
6
+ def test_callable_metadata_is_sane(self):
7
+ self.assertCallableMetadataIsSane(SecurityUI)
@@ -0,0 +1,11 @@
1
+ import SecurityUI
2
+ from PyObjCTools.TestSupport import TestCase
3
+
4
+
5
+ class TestCFCertificatePresentation(TestCase):
6
+ def test_methods(self):
7
+ self.assertArgIsBlock(
8
+ SecurityUI.SFCertificatePresentation.presentSheetInWindow_dismissHandler_,
9
+ 1,
10
+ b"v",
11
+ )
@@ -0,0 +1,37 @@
1
+ // objective.metadata exceptions file, see its document
2
+ // for information on how to update this file.
3
+ {
4
+ "definitions": {
5
+ "classes": {
6
+ "SFCertificatePresentation": {
7
+ "methods": [
8
+ {
9
+ "args": {
10
+ "0": {}
11
+ },
12
+ "class_method": false,
13
+ "selector": "initWithTrust:"
14
+ },
15
+ {
16
+ "class_method": false,
17
+ "retval": {},
18
+ "selector": "trust"
19
+ }
20
+ ],
21
+ "properties": [
22
+ {
23
+ "attributes": [
24
+ "assign",
25
+ "nonatomic",
26
+ "readonly"
27
+ ],
28
+ "name": "trust"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ "formal_protocols": {},
34
+ "functions": {},
35
+ "informal_protocols": {}
36
+ }
37
+ }
@@ -0,0 +1,2 @@
1
+ [SecurityUI]
2
+ framework = SecurityUI
@@ -0,0 +1,237 @@
1
+ // GENERATED FILE DO NOT EDIT
2
+ //
3
+ // This file was generated by objective.metadata
4
+ // Last update: Sun Mar 2 11:49:08 2025
5
+ {
6
+ "arch": "arm64",
7
+ "definitions": {
8
+ "aliases": {},
9
+ "called_definitions": {},
10
+ "cftypes": {},
11
+ "classes": {
12
+ "SFCertificatePresentation": {
13
+ "categories": [],
14
+ "methods": [
15
+ {
16
+ "args": [
17
+ {
18
+ "typestr": "^{__SecTrust=}",
19
+ "typestr_special": false
20
+ }
21
+ ],
22
+ "class_method": false,
23
+ "retval": {
24
+ "typestr": "@",
25
+ "typestr_special": false
26
+ },
27
+ "selector": "initWithTrust:",
28
+ "visibility": "public"
29
+ },
30
+ {
31
+ "args": [],
32
+ "class_method": false,
33
+ "retval": {
34
+ "typestr": "@",
35
+ "typestr_special": false
36
+ },
37
+ "selector": "init",
38
+ "visibility": "public"
39
+ },
40
+ {
41
+ "args": [],
42
+ "class_method": true,
43
+ "retval": {
44
+ "typestr": "@",
45
+ "typestr_special": false
46
+ },
47
+ "selector": "new",
48
+ "visibility": "public"
49
+ },
50
+ {
51
+ "args": [
52
+ {
53
+ "typestr": "@",
54
+ "typestr_special": false
55
+ },
56
+ {
57
+ "callable": {
58
+ "arguments": {
59
+ "0": {
60
+ "type": "^v"
61
+ }
62
+ },
63
+ "retval": {
64
+ "type": "v"
65
+ }
66
+ },
67
+ "typestr": "@?",
68
+ "typestr_special": false
69
+ }
70
+ ],
71
+ "class_method": false,
72
+ "retval": {
73
+ "typestr": "v",
74
+ "typestr_special": false
75
+ },
76
+ "selector": "presentSheetInWindow:dismissHandler:",
77
+ "visibility": "public"
78
+ },
79
+ {
80
+ "args": [],
81
+ "class_method": false,
82
+ "retval": {
83
+ "typestr": "v",
84
+ "typestr_special": false
85
+ },
86
+ "selector": "dismissSheet",
87
+ "visibility": "public"
88
+ },
89
+ {
90
+ "args": [],
91
+ "class_method": false,
92
+ "retval": {
93
+ "typestr": "^{__SecTrust=}",
94
+ "typestr_special": false
95
+ },
96
+ "selector": "trust",
97
+ "visibility": "public"
98
+ },
99
+ {
100
+ "args": [],
101
+ "class_method": false,
102
+ "retval": {
103
+ "typestr": "@",
104
+ "typestr_special": false
105
+ },
106
+ "selector": "title",
107
+ "visibility": "public"
108
+ },
109
+ {
110
+ "args": [
111
+ {
112
+ "typestr": "@",
113
+ "typestr_special": false
114
+ }
115
+ ],
116
+ "class_method": false,
117
+ "retval": {
118
+ "typestr": "v",
119
+ "typestr_special": false
120
+ },
121
+ "selector": "setTitle:",
122
+ "visibility": "public"
123
+ },
124
+ {
125
+ "args": [],
126
+ "class_method": false,
127
+ "retval": {
128
+ "typestr": "@",
129
+ "typestr_special": false
130
+ },
131
+ "selector": "message",
132
+ "visibility": "public"
133
+ },
134
+ {
135
+ "args": [
136
+ {
137
+ "typestr": "@",
138
+ "typestr_special": false
139
+ }
140
+ ],
141
+ "class_method": false,
142
+ "retval": {
143
+ "typestr": "v",
144
+ "typestr_special": false
145
+ },
146
+ "selector": "setMessage:",
147
+ "visibility": "public"
148
+ },
149
+ {
150
+ "args": [],
151
+ "class_method": false,
152
+ "retval": {
153
+ "typestr": "@",
154
+ "typestr_special": false
155
+ },
156
+ "selector": "helpURL",
157
+ "visibility": "public"
158
+ },
159
+ {
160
+ "args": [
161
+ {
162
+ "typestr": "@",
163
+ "typestr_special": false
164
+ }
165
+ ],
166
+ "class_method": false,
167
+ "retval": {
168
+ "typestr": "v",
169
+ "typestr_special": false
170
+ },
171
+ "selector": "setHelpURL:",
172
+ "visibility": "public"
173
+ }
174
+ ],
175
+ "name": "SFCertificatePresentation",
176
+ "properties": [
177
+ {
178
+ "attributes": [
179
+ "assign",
180
+ "nonatomic",
181
+ "readonly"
182
+ ],
183
+ "name": "trust",
184
+ "typestr": "^{__SecTrust=}",
185
+ "typestr_special": false
186
+ },
187
+ {
188
+ "attributes": [
189
+ "copy",
190
+ "nonatomic"
191
+ ],
192
+ "name": "title",
193
+ "typestr": "@",
194
+ "typestr_special": false
195
+ },
196
+ {
197
+ "attributes": [
198
+ "copy",
199
+ "nonatomic"
200
+ ],
201
+ "name": "message",
202
+ "typestr": "@",
203
+ "typestr_special": false
204
+ },
205
+ {
206
+ "attributes": [
207
+ "copy",
208
+ "nonatomic"
209
+ ],
210
+ "name": "helpURL",
211
+ "typestr": "@",
212
+ "typestr_special": false
213
+ }
214
+ ],
215
+ "protocols": [],
216
+ "super": "NSObject"
217
+ }
218
+ },
219
+ "enum": {},
220
+ "enum_type": {},
221
+ "expressions": {},
222
+ "externs": {},
223
+ "formal_protocols": {},
224
+ "func_macros": {},
225
+ "functions": {},
226
+ "informal_protocols": {},
227
+ "literals": {},
228
+ "structs": {},
229
+ "typedefs": {}
230
+ },
231
+ "framework": "SecurityUI",
232
+ "headers": [
233
+ "SFCertificatePresentation.h"
234
+ ],
235
+ "release": "10.16",
236
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk"
237
+ }