pyobjc-framework-SecurityInterface 12.2__cp315-cp315-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.
- SecurityInterface/_SecurityInterface.cpython-315-darwin.so +0 -0
- SecurityInterface/__init__.py +39 -0
- SecurityInterface/_metadata.py +229 -0
- pyobjc_framework_securityinterface-12.2.dist-info/METADATA +69 -0
- pyobjc_framework_securityinterface-12.2.dist-info/RECORD +8 -0
- pyobjc_framework_securityinterface-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_securityinterface-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_securityinterface-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -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: Sun May 24 11:58:12 2026
|
|
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,69 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-SecurityInterface
|
|
3
|
+
Version: 12.2
|
|
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.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
|
+
Classifier: Programming Language :: Objective C
|
|
29
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
+
Requires-Python: >=3.10
|
|
32
|
+
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
35
|
+
Requires-Dist: pyobjc-framework-Security>=12.2
|
|
36
|
+
Dynamic: author
|
|
37
|
+
Dynamic: author-email
|
|
38
|
+
Dynamic: classifier
|
|
39
|
+
Dynamic: description
|
|
40
|
+
Dynamic: description-content-type
|
|
41
|
+
Dynamic: home-page
|
|
42
|
+
Dynamic: keywords
|
|
43
|
+
Dynamic: license
|
|
44
|
+
Dynamic: platform
|
|
45
|
+
Dynamic: requires-dist
|
|
46
|
+
Dynamic: requires-python
|
|
47
|
+
Dynamic: summary
|
|
48
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
49
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
50
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
Wrappers for the "SecurityInterface" framework on macOS.
|
|
54
|
+
|
|
55
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
56
|
+
for information on how to use this framework and PyObjC's documentation
|
|
57
|
+
for general tips and tricks regarding the translation between Python
|
|
58
|
+
and (Objective-)C frameworks
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
Project links
|
|
62
|
+
-------------
|
|
63
|
+
|
|
64
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
65
|
+
|
|
66
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
67
|
+
|
|
68
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
69
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
SecurityInterface/_SecurityInterface.cpython-315-darwin.so,sha256=oRws9azvs9a0YuV-aO7TTEkVDP14hVO80J6O9MZ0KtQ,85144
|
|
2
|
+
SecurityInterface/__init__.py,sha256=3w18mJlPYVRxpdYTCJZryT6S2Q2pEr93Fo-0zNoTaZE,988
|
|
3
|
+
SecurityInterface/_metadata.py,sha256=q12IegXWYmt41U_jYRA159YjvQM-CLB553RpotnzR_M,7884
|
|
4
|
+
pyobjc_framework_securityinterface-12.2.dist-info/METADATA,sha256=yHgcrmCkBG4EEkexJtPIVtuvMv0E8JjaidnwaT6JR3E,2574
|
|
5
|
+
pyobjc_framework_securityinterface-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
6
|
+
pyobjc_framework_securityinterface-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
7
|
+
pyobjc_framework_securityinterface-12.2.dist-info/top_level.txt,sha256=bMSZX_XGj6KTsSLm5OOOvDNpl2Ogur0OToOJvb7h8RQ,18
|
|
8
|
+
pyobjc_framework_securityinterface-12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
SecurityInterface
|