pyobjc-framework-SecurityInterface 12.0__cp314-cp314-macosx_10_15_universal2.whl

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.
@@ -0,0 +1,39 @@
1
+ """
2
+ Python mapping for the SecurityInterface 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 AppKit
13
+ import Security
14
+ import objc
15
+ from . import _metadata, _SecurityInterface
16
+
17
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
18
+ name="SecurityInterface",
19
+ frameworkIdentifier="com.apple.securityinterface",
20
+ frameworkPath=objc.pathForFramework(
21
+ "/System/Library/Frameworks/SecurityInterface.framework"
22
+ ),
23
+ globals_dict=globals(),
24
+ inline_list=None,
25
+ parents=(
26
+ _SecurityInterface,
27
+ Security,
28
+ AppKit,
29
+ ),
30
+ metadict=_metadata.__dict__,
31
+ )
32
+
33
+ globals()["__dir__"] = dir_func
34
+ globals()["__getattr__"] = getattr_func
35
+
36
+ del sys.modules["SecurityInterface._metadata"]
37
+
38
+
39
+ globals().pop("_setup")()
@@ -0,0 +1,229 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Thu Jul 24 14:28:29 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 = """$SFAuthorizationPluginViewUserNameKey$SFAuthorizationPluginViewUserShortNameKey$SFCertificateViewDisclosureStateDidChange$SFDisplayViewException$"""
34
+ enums = """$SFAuthorizationStartupState@0$SFAuthorizationViewInProgressState@2$SFAuthorizationViewLockedState@1$SFAuthorizationViewUnlockedState@3$SFButtonTypeBack@0$SFButtonTypeCancel@0$SFButtonTypeLogin@1$SFButtonTypeOK@1$SFViewTypeCredentials@1$SFViewTypeIdentityAndCredentials@0$"""
35
+ misc.update(
36
+ {
37
+ "SFAuthorizationViewState": NewType("SFAuthorizationViewState", int),
38
+ "SFViewType": NewType("SFViewType", int),
39
+ "SFButtonType": NewType("SFButtonType", int),
40
+ }
41
+ )
42
+ misc.update({})
43
+ misc.update({})
44
+ aliases = {
45
+ "SFButtonTypeBack": "SFButtonTypeCancel",
46
+ "SFButtonTypeLogin": "SFButtonTypeOK",
47
+ "SFButtonTypeOK": "NSOKButton",
48
+ "SFButtonTypeCancel": "NSCancelButton",
49
+ }
50
+ r = objc.registerMetaDataForSelector
51
+ objc._updatingMetadata(True)
52
+ try:
53
+ r(
54
+ b"NSObject",
55
+ b"authorizationViewCreatedAuthorization:",
56
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
57
+ )
58
+ r(
59
+ b"NSObject",
60
+ b"authorizationViewDidAuthorize:",
61
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
62
+ )
63
+ r(
64
+ b"NSObject",
65
+ b"authorizationViewDidDeauthorize:",
66
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
67
+ )
68
+ r(
69
+ b"NSObject",
70
+ b"authorizationViewDidHide:",
71
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
72
+ )
73
+ r(
74
+ b"NSObject",
75
+ b"authorizationViewReleasedAuthorization:",
76
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
77
+ )
78
+ r(
79
+ b"NSObject",
80
+ b"authorizationViewShouldDeauthorize:",
81
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
82
+ )
83
+ r(
84
+ b"NSObject",
85
+ b"certificatePanelShowHelp:",
86
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
87
+ )
88
+ r(
89
+ b"NSObject",
90
+ b"chooseIdentityPanelShowHelp:",
91
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
92
+ )
93
+ r(
94
+ b"SFAuthorizationPluginView",
95
+ b"setButton:enabled:",
96
+ {"arguments": {3: {"type": b"Z"}}},
97
+ )
98
+ r(b"SFAuthorizationPluginView", b"setEnabled:", {"arguments": {2: {"type": b"Z"}}})
99
+ r(b"SFAuthorizationView", b"authorize:", {"retval": {"type": b"Z"}})
100
+ r(b"SFAuthorizationView", b"deauthorize:", {"retval": {"type": b"Z"}})
101
+ r(b"SFAuthorizationView", b"isEnabled", {"retval": {"type": b"Z"}})
102
+ r(b"SFAuthorizationView", b"setAutoupdate:", {"arguments": {2: {"type": b"Z"}}})
103
+ r(
104
+ b"SFAuthorizationView",
105
+ b"setAutoupdate:interval:",
106
+ {"arguments": {2: {"type": b"Z"}}},
107
+ )
108
+ r(b"SFAuthorizationView", b"setEnabled:", {"arguments": {2: {"type": b"Z"}}})
109
+ r(b"SFAuthorizationView", b"updateStatus:", {"retval": {"type": b"Z"}})
110
+ r(
111
+ b"SFCertificatePanel",
112
+ b"beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:certificates:showGroup:",
113
+ {"arguments": {4: {"sel_of_type": b"v@:@q^v"}, 7: {"type": b"Z"}}},
114
+ )
115
+ r(
116
+ b"SFCertificatePanel",
117
+ b"beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:showGroup:",
118
+ {"arguments": {4: {"sel_of_type": b"v@:@q^v"}, 7: {"type": b"Z"}}},
119
+ )
120
+ r(
121
+ b"SFCertificatePanel",
122
+ b"runModalForCertificates:showGroup:",
123
+ {"arguments": {3: {"type": b"Z"}}},
124
+ )
125
+ r(
126
+ b"SFCertificatePanel",
127
+ b"runModalForTrust:showGroup:",
128
+ {"arguments": {3: {"type": b"Z"}}},
129
+ )
130
+ r(b"SFCertificatePanel", b"setShowsHelp:", {"arguments": {2: {"type": b"Z"}}})
131
+ r(b"SFCertificatePanel", b"showsHelp", {"retval": {"type": b"Z"}})
132
+ r(
133
+ b"SFCertificateTrustPanel",
134
+ b"beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:message:",
135
+ {"arguments": {4: {"sel_of_type": b"v@:@q^v"}}},
136
+ )
137
+ r(b"SFCertificateView", b"detailsDisclosed", {"retval": {"type": b"Z"}})
138
+ r(b"SFCertificateView", b"detailsDisplayed", {"retval": {"type": b"Z"}})
139
+ r(b"SFCertificateView", b"isEditable", {"retval": {"type": b"Z"}})
140
+ r(b"SFCertificateView", b"isTrustDisplayed", {"retval": {"type": b"Z"}})
141
+ r(b"SFCertificateView", b"policiesDisclosed", {"retval": {"type": b"Z"}})
142
+ r(b"SFCertificateView", b"setDetailsDisclosed:", {"arguments": {2: {"type": b"Z"}}})
143
+ r(b"SFCertificateView", b"setDisplayDetails:", {"arguments": {2: {"type": b"Z"}}})
144
+ r(b"SFCertificateView", b"setDisplayTrust:", {"arguments": {2: {"type": b"Z"}}})
145
+ r(b"SFCertificateView", b"setEditableTrust:", {"arguments": {2: {"type": b"Z"}}})
146
+ r(
147
+ b"SFCertificateView",
148
+ b"setPoliciesDisclosed:",
149
+ {"arguments": {2: {"type": b"Z"}}},
150
+ )
151
+ r(
152
+ b"SFChooseIdentityPanel",
153
+ b"beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:identities:message:",
154
+ {"arguments": {4: {"sel_of_type": b"v@:@q^v"}}},
155
+ )
156
+ r(b"SFChooseIdentityPanel", b"setShowsHelp:", {"arguments": {2: {"type": b"Z"}}})
157
+ r(b"SFChooseIdentityPanel", b"showsHelp", {"retval": {"type": b"Z"}})
158
+ r(
159
+ b"SFKeychainSavePanel",
160
+ b"beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:",
161
+ {"arguments": {6: {"sel_of_type": b"v@:@q^v"}}},
162
+ )
163
+ r(
164
+ b"SFKeychainSettingsPanel",
165
+ b"beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:settings:keychain:",
166
+ {
167
+ "arguments": {
168
+ 4: {"sel_of_type": b"v@:@q^v"},
169
+ 6: {"type": b"^{SecKeychainSettings=IZZI}"},
170
+ }
171
+ },
172
+ )
173
+ r(
174
+ b"SFKeychainSettingsPanel",
175
+ b"runModalForSettings:keychain:",
176
+ {"arguments": {2: {"type": b"^{SecKeychainSettings=IZZI}"}}},
177
+ )
178
+ finally:
179
+ objc._updatingMetadata(False)
180
+
181
+ objc.registerNewKeywordsFromSelector(
182
+ "SFAuthorizationPluginView", b"initWithCallbacks:andEngineRef:"
183
+ )
184
+ protocols = {
185
+ "SFChooseIdentityPanelDelegate": objc.informal_protocol(
186
+ "SFChooseIdentityPanelDelegate",
187
+ [
188
+ objc.selector(
189
+ None, b"chooseIdentityPanelShowHelp:", b"Z@:@", isRequired=False
190
+ )
191
+ ],
192
+ ),
193
+ "SFCertificatePanelDelegate": objc.informal_protocol(
194
+ "SFCertificatePanelDelegate",
195
+ [objc.selector(None, b"certificatePanelShowHelp:", b"Z@:@", isRequired=False)],
196
+ ),
197
+ "SFAuthorizationViewDelegate": objc.informal_protocol(
198
+ "SFAuthorizationViewDelegate",
199
+ [
200
+ objc.selector(
201
+ None,
202
+ b"authorizationViewCreatedAuthorization:",
203
+ b"v@:@",
204
+ isRequired=False,
205
+ ),
206
+ objc.selector(
207
+ None, b"authorizationViewDidHide:", b"v@:@", isRequired=False
208
+ ),
209
+ objc.selector(
210
+ None, b"authorizationViewDidAuthorize:", b"v@:@", isRequired=False
211
+ ),
212
+ objc.selector(
213
+ None, b"authorizationViewDidDeauthorize:", b"v@:@", isRequired=False
214
+ ),
215
+ objc.selector(
216
+ None, b"authorizationViewShouldDeauthorize:", b"Z@:@", isRequired=False
217
+ ),
218
+ objc.selector(
219
+ None,
220
+ b"authorizationViewReleasedAuthorization:",
221
+ b"v@:@",
222
+ isRequired=False,
223
+ ),
224
+ ],
225
+ ),
226
+ }
227
+ expressions = {}
228
+
229
+ # END OF FILE
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-SecurityInterface
3
+ Version: 12.0
4
+ Summary: Wrappers for the framework SecurityInterface 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,SecurityInterface
10
+ Platform: MacOS X
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 :: 3.15
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
29
+ Classifier: Programming Language :: Objective C
30
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
+ Classifier: Topic :: Software Development :: User Interfaces
32
+ Requires-Python: >=3.9
33
+ Description-Content-Type: text/x-rst; charset=UTF-8
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Requires-Dist: pyobjc-framework-Security>=12.0
37
+ Dynamic: author
38
+ Dynamic: author-email
39
+ Dynamic: classifier
40
+ Dynamic: description
41
+ Dynamic: description-content-type
42
+ Dynamic: home-page
43
+ Dynamic: keywords
44
+ Dynamic: license
45
+ Dynamic: platform
46
+ Dynamic: requires-dist
47
+ Dynamic: requires-python
48
+ Dynamic: summary
49
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
50
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
51
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
52
+
53
+
54
+ Wrappers for the "SecurityInterface" framework on macOS.
55
+
56
+ These wrappers don't include documentation, please check Apple's documentation
57
+ for information on how to use this framework and PyObjC's documentation
58
+ for general tips and tricks regarding the translation between Python
59
+ and (Objective-)C frameworks
60
+
61
+
62
+ Project links
63
+ -------------
64
+
65
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
66
+
67
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
68
+
69
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
70
+
@@ -0,0 +1,8 @@
1
+ SecurityInterface/_SecurityInterface.cpython-314-darwin.so,sha256=c23_A8phPIrh6v7RiXklbk-XP4G_MyHW5_iE4plQZg0,85144
2
+ SecurityInterface/__init__.py,sha256=3w18mJlPYVRxpdYTCJZryT6S2Q2pEr93Fo-0zNoTaZE,988
3
+ SecurityInterface/_metadata.py,sha256=HXCHHQSUt9WxpCKsUGbDVgA42qhcyq6IL4_qrnKie1s,7884
4
+ pyobjc_framework_securityinterface-12.0.dist-info/METADATA,sha256=xkHpQ0hnfW3t80JfMQRz56f7f0A8RLPgC-TzGaH2EAo,2621
5
+ pyobjc_framework_securityinterface-12.0.dist-info/WHEEL,sha256=RUJYU8Uu6pIfKnlMpi3O3hTewcAU_Pb9njGie0PB81o,115
6
+ pyobjc_framework_securityinterface-12.0.dist-info/pyobjc-build-info.txt,sha256=DrbcGDJq0sVhQwFajghJ82j-HCBI07U1mQQig6N9ubs,85
7
+ pyobjc_framework_securityinterface-12.0.dist-info/top_level.txt,sha256=bMSZX_XGj6KTsSLm5OOOvDNpl2Ogur0OToOJvb7h8RQ,18
8
+ pyobjc_framework_securityinterface-12.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-macosx_10_15_universal2
5
+
@@ -0,0 +1,3 @@
1
+ macOS 26.0.1 (25A362)
2
+ Apple clang version 17.0.0 (clang-1700.3.19.1)
3
+ SDK: macOS 26.0
@@ -0,0 +1 @@
1
+ SecurityInterface