pyobjc-framework-NetworkExtension 11.1__tar.gz → 12.0__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 (79) hide show
  1. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/NetworkExtension/__init__.py +6 -0
  2. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/NetworkExtension/_metadata.py +37 -8
  3. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/pyobjc_framework_NetworkExtension.egg-info/PKG-INFO +5 -3
  4. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/pyobjc_framework_NetworkExtension.egg-info/SOURCES.txt +3 -14
  5. pyobjc_framework_networkextension-12.0/Lib/pyobjc_framework_NetworkExtension.egg-info/pyobjc-build-info.txt +3 -0
  6. pyobjc_framework_networkextension-12.0/Lib/pyobjc_framework_NetworkExtension.egg-info/requires.txt +2 -0
  7. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Modules/_NetworkExtension.m +18 -21
  8. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Modules/_NetworkExtension_protocols.m +2 -1
  9. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Modules/pyobjc-api.h +6 -3
  10. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Modules/pyobjc-compat.h +32 -48
  11. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PKG-INFO +5 -3
  12. pyobjc_framework_networkextension-12.0/PyObjCTest/test_nednssettings.py +22 -0
  13. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nerelaymanager.py +4 -0
  14. pyobjc_framework_networkextension-12.0/PyObjCTest/test_neurlfilter.py +10 -0
  15. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nevpnprotocolikev2.py +15 -0
  16. pyobjc_framework_networkextension-11.1/metadata/raw/arm64-15.4.fwinfo → pyobjc_framework_networkextension-12.0/metadata/raw/arm64-26.0.fwinfo +240 -2
  17. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-15.4.fwinfo → pyobjc_framework_networkextension-12.0/metadata/raw/x86_64-26.0.fwinfo +240 -2
  18. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/pyobjc_setup.py +2 -0
  19. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/setup.py +1 -1
  20. pyobjc_framework_networkextension-11.1/Lib/pyobjc_framework_NetworkExtension.egg-info/pyobjc-build-info.txt +0 -3
  21. pyobjc_framework_networkextension-11.1/Lib/pyobjc_framework_NetworkExtension.egg-info/requires.txt +0 -2
  22. pyobjc_framework_networkextension-11.1/PyObjCTest/test_nednssettings.py +0 -12
  23. pyobjc_framework_networkextension-11.1/metadata/raw/arm64-12.3.fwinfo +0 -12138
  24. pyobjc_framework_networkextension-11.1/metadata/raw/arm64-13.3.fwinfo +0 -12531
  25. pyobjc_framework_networkextension-11.1/metadata/raw/arm64-14.5.fwinfo +0 -13236
  26. pyobjc_framework_networkextension-11.1/metadata/raw/arm64-15.0.fwinfo +0 -13916
  27. pyobjc_framework_networkextension-11.1/metadata/raw/arm64-15.2.fwinfo +0 -13917
  28. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-10.15.fwinfo +0 -10097
  29. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-10.16.fwinfo +0 -11820
  30. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-12.3.fwinfo +0 -12138
  31. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-13.3.fwinfo +0 -12531
  32. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -13236
  33. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-15.0.fwinfo +0 -13916
  34. pyobjc_framework_networkextension-11.1/metadata/raw/x86_64-15.2.fwinfo +0 -13917
  35. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/pyobjc_framework_NetworkExtension.egg-info/dependency_links.txt +0 -0
  36. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/pyobjc_framework_NetworkExtension.egg-info/not-zip-safe +0 -0
  37. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/Lib/pyobjc_framework_NetworkExtension.egg-info/top_level.txt +0 -0
  38. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/License.txt +0 -0
  39. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/MANIFEST.in +0 -0
  40. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/__init__.py +0 -0
  41. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neappproxyflow.py +0 -0
  42. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neappproxyprovider.py +0 -0
  43. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neappproxyprovidermanager.py +0 -0
  44. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neappproxytcpflow.py +0 -0
  45. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neappproxyudpflow.py +0 -0
  46. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nednsproxymanager.py +0 -0
  47. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nednsproxyprovider.py +0 -0
  48. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nednssettingsmanager.py +0 -0
  49. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefailurehandlerprovider.py +0 -0
  50. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefiltercontrolprovider.py +0 -0
  51. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefilterdataprovider.py +0 -0
  52. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefilterflow.py +0 -0
  53. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefiltermanager.py +0 -0
  54. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefilterpacketprovider.py +0 -0
  55. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefilterprovider.py +0 -0
  56. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nefilterproviderconfiguration.py +0 -0
  57. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nenetworkrule.py +0 -0
  58. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neondemandrule.py +0 -0
  59. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nepackettunnelflow.py +0 -0
  60. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nepackettunnelprovider.py +0 -0
  61. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neprovider.py +0 -0
  62. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_neproxysettings.py +0 -0
  63. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_netransparentproxymanager.py +0 -0
  64. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_netunnelprovider.py +0 -0
  65. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_netunnelprovidermanager.py +0 -0
  66. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_netunnelprovidersession.py +0 -0
  67. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_networkextension.py +0 -0
  68. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nevpnconnection.py +0 -0
  69. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nevpnmanager.py +0 -0
  70. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nevpnprotocol.py +0 -0
  71. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nevpnprotocolipsec.py +0 -0
  72. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nsdnssettings.py +0 -0
  73. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nwpath.py +0 -0
  74. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nwtcpconnection.py +0 -0
  75. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/PyObjCTest/test_nwudpsession.py +0 -0
  76. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/metadata/NetworkExtension.fwinfo +0 -0
  77. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/metadata/metadata.ini +0 -0
  78. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/pyproject.toml +0 -0
  79. {pyobjc_framework_networkextension-11.1 → pyobjc_framework_networkextension-12.0}/setup.cfg +0 -0
@@ -28,6 +28,12 @@ def _setup():
28
28
  metadict=_metadata.__dict__,
29
29
  )
30
30
 
31
+ for cls, sel in (
32
+ ("NEURLFilter", b"init"),
33
+ ("NEURLFilter", b"new"),
34
+ ):
35
+ objc.registerUnavailableMethod(cls, sel)
36
+
31
37
  globals()["__dir__"] = dir_func
32
38
  globals()["__getattr__"] = getattr_func
33
39
 
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sat Mar 8 10:45:11 2025
3
+ # Last update: Thu Jul 24 09:25:54 2025
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -31,7 +31,7 @@ else:
31
31
 
32
32
  misc = {}
33
33
  constants = """$NEAppProxyErrorDomain$NEAppPushErrorDomain$NEDNSProxyConfigurationDidChangeNotification$NEDNSProxyErrorDomain$NEDNSSettingsConfigurationDidChangeNotification$NEDNSSettingsErrorDomain$NEFilterConfigurationDidChangeNotification$NEFilterErrorDomain$NEFilterProviderRemediationMapRemediationButtonTexts$NEFilterProviderRemediationMapRemediationURLs$NEHotspotConfigurationErrorDomain$NERelayClientErrorDomain$NERelayConfigurationDidChangeNotification$NERelayErrorDomain$NETunnelProviderErrorDomain$NEVPNConfigurationChangeNotification$NEVPNConnectionErrorDomain$NEVPNConnectionStartOptionPassword$NEVPNConnectionStartOptionUsername$NEVPNErrorDomain$NEVPNStatusDidChangeNotification$kNEHotspotHelperOptionDisplayName$"""
34
- enums = """$NEAppProxyFlowErrorAborted@5$NEAppProxyFlowErrorDatagramTooLarge@9$NEAppProxyFlowErrorHostUnreachable@3$NEAppProxyFlowErrorInternal@8$NEAppProxyFlowErrorInvalidArgument@4$NEAppProxyFlowErrorNotConnected@1$NEAppProxyFlowErrorPeerReset@2$NEAppProxyFlowErrorReadAlreadyPending@10$NEAppProxyFlowErrorRefused@6$NEAppProxyFlowErrorTimedOut@7$NEAppPushManagerErrorConfigurationInvalid@1$NEAppPushManagerErrorConfigurationNotLoaded@2$NEAppPushManagerErrorInactiveSession@4$NEAppPushManagerErrorInternalError@3$NEDNSProtocolCleartext@1$NEDNSProtocolHTTPS@3$NEDNSProtocolTLS@2$NEDNSProxyManagerErrorConfigurationCannotBeRemoved@4$NEDNSProxyManagerErrorConfigurationDisabled@2$NEDNSProxyManagerErrorConfigurationInvalid@1$NEDNSProxyManagerErrorConfigurationStale@3$NEDNSSettingsManagerErrorConfigurationCannotBeRemoved@4$NEDNSSettingsManagerErrorConfigurationDisabled@2$NEDNSSettingsManagerErrorConfigurationInvalid@1$NEDNSSettingsManagerErrorConfigurationStale@3$NEEvaluateConnectionRuleActionConnectIfNeeded@1$NEEvaluateConnectionRuleActionNeverConnect@2$NEFilterActionAllow@1$NEFilterActionDrop@2$NEFilterActionFilterData@4$NEFilterActionInvalid@0$NEFilterActionRemediate@3$NEFilterDataAttributeHasIPHeader@1$NEFilterFlowBytesMax@18446744073709551615$NEFilterManagerErrorConfigurationCannotBeRemoved@4$NEFilterManagerErrorConfigurationDisabled@2$NEFilterManagerErrorConfigurationInternalError@6$NEFilterManagerErrorConfigurationInvalid@1$NEFilterManagerErrorConfigurationPermissionDenied@5$NEFilterManagerErrorConfigurationStale@3$NEFilterManagerGradeFirewall@1$NEFilterManagerGradeInspector@2$NEFilterPacketProviderVerdictAllow@0$NEFilterPacketProviderVerdictDelay@2$NEFilterPacketProviderVerdictDrop@1$NEFilterReportEventDataDecision@2$NEFilterReportEventFlowClosed@3$NEFilterReportEventNewFlow@1$NEFilterReportEventStatistics@4$NEFilterReportFrequencyHigh@3$NEFilterReportFrequencyLow@1$NEFilterReportFrequencyMedium@2$NEFilterReportFrequencyNone@0$NEHotspotConfigurationEAPTLSVersion_1_0@0$NEHotspotConfigurationEAPTLSVersion_1_1@1$NEHotspotConfigurationEAPTLSVersion_1_2@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationCHAP@1$NEHotspotConfigurationEAPTTLSInnerAuthenticationEAP@4$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAP@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAPv2@3$NEHotspotConfigurationEAPTTLSInnerAuthenticationPAP@0$NEHotspotConfigurationEAPTypeEAPFAST@43$NEHotspotConfigurationEAPTypeEAPPEAP@25$NEHotspotConfigurationEAPTypeEAPTLS@13$NEHotspotConfigurationEAPTypeEAPTTLS@21$NEHotspotConfigurationErrorAlreadyAssociated@13$NEHotspotConfigurationErrorApplicationIsNotInForeground@14$NEHotspotConfigurationErrorInternal@8$NEHotspotConfigurationErrorInvalid@0$NEHotspotConfigurationErrorInvalidEAPSettings@4$NEHotspotConfigurationErrorInvalidHS20DomainName@6$NEHotspotConfigurationErrorInvalidHS20Settings@5$NEHotspotConfigurationErrorInvalidSSID@1$NEHotspotConfigurationErrorInvalidSSIDPrefix@15$NEHotspotConfigurationErrorInvalidWEPPassphrase@3$NEHotspotConfigurationErrorInvalidWPAPassphrase@2$NEHotspotConfigurationErrorJoinOnceNotSupported@12$NEHotspotConfigurationErrorPending@9$NEHotspotConfigurationErrorSystemConfiguration@10$NEHotspotConfigurationErrorSystemDenied@17$NEHotspotConfigurationErrorUnknown@11$NEHotspotConfigurationErrorUserDenied@7$NEHotspotConfigurationErrorUserUnauthorized@16$NEHotspotNetworkSecurityTypeEnterprise@3$NEHotspotNetworkSecurityTypeOpen@0$NEHotspotNetworkSecurityTypePersonal@2$NEHotspotNetworkSecurityTypeUnknown@4$NEHotspotNetworkSecurityTypeWEP@1$NENetworkRuleProtocolAny@0$NENetworkRuleProtocolTCP@1$NENetworkRuleProtocolUDP@2$NEOnDemandRuleActionConnect@1$NEOnDemandRuleActionDisconnect@2$NEOnDemandRuleActionEvaluateConnection@3$NEOnDemandRuleActionIgnore@4$NEOnDemandRuleInterfaceTypeAny@0$NEOnDemandRuleInterfaceTypeCellular@3$NEOnDemandRuleInterfaceTypeEthernet@1$NEOnDemandRuleInterfaceTypeWiFi@2$NEProviderStopReasonAppUpdate@16$NEProviderStopReasonAuthenticationCanceled@6$NEProviderStopReasonConfigurationDisabled@9$NEProviderStopReasonConfigurationFailed@7$NEProviderStopReasonConfigurationRemoved@10$NEProviderStopReasonConnectionFailed@14$NEProviderStopReasonIdleTimeout@8$NEProviderStopReasonInternalError@17$NEProviderStopReasonNoNetworkAvailable@3$NEProviderStopReasonNone@0$NEProviderStopReasonProviderDisabled@5$NEProviderStopReasonProviderFailed@2$NEProviderStopReasonSleep@15$NEProviderStopReasonSuperceded@11$NEProviderStopReasonUnrecoverableNetworkChange@4$NEProviderStopReasonUserInitiated@1$NEProviderStopReasonUserLogout@12$NEProviderStopReasonUserSwitch@13$NERelayManagerClientErrorCertificateExpired@7$NERelayManagerClientErrorCertificateInvalid@6$NERelayManagerClientErrorCertificateMissing@5$NERelayManagerClientErrorDNSFailed@2$NERelayManagerClientErrorNone@1$NERelayManagerClientErrorOther@10$NERelayManagerClientErrorServerCertificateExpired@9$NERelayManagerClientErrorServerCertificateInvalid@8$NERelayManagerClientErrorServerDisconnected@4$NERelayManagerClientErrorServerUnreachable@3$NERelayManagerErrorConfigurationCannotBeRemoved@4$NERelayManagerErrorConfigurationDisabled@2$NERelayManagerErrorConfigurationInvalid@1$NERelayManagerErrorConfigurationStale@3$NETrafficDirectionAny@0$NETrafficDirectionInbound@1$NETrafficDirectionOutbound@2$NETunnelProviderErrorNetworkSettingsCanceled@2$NETunnelProviderErrorNetworkSettingsFailed@3$NETunnelProviderErrorNetworkSettingsInvalid@1$NETunnelProviderRoutingMethodDestinationIP@1$NETunnelProviderRoutingMethodNetworkRule@3$NETunnelProviderRoutingMethodSourceApplication@2$NEVPNConnectionErrorAuthenticationFailed@8$NEVPNConnectionErrorClientCertificateExpired@11$NEVPNConnectionErrorClientCertificateInvalid@9$NEVPNConnectionErrorClientCertificateNotYetValid@10$NEVPNConnectionErrorConfigurationFailed@4$NEVPNConnectionErrorConfigurationNotFound@13$NEVPNConnectionErrorNegotiationFailed@15$NEVPNConnectionErrorNoNetworkAvailable@2$NEVPNConnectionErrorOverslept@1$NEVPNConnectionErrorPluginDisabled@14$NEVPNConnectionErrorPluginFailed@12$NEVPNConnectionErrorServerAddressResolutionFailed@5$NEVPNConnectionErrorServerCertificateExpired@19$NEVPNConnectionErrorServerCertificateInvalid@17$NEVPNConnectionErrorServerCertificateNotYetValid@18$NEVPNConnectionErrorServerDead@7$NEVPNConnectionErrorServerDisconnected@16$NEVPNConnectionErrorServerNotResponding@6$NEVPNConnectionErrorUnrecoverableNetworkChange@3$NEVPNErrorConfigurationDisabled@2$NEVPNErrorConfigurationInvalid@1$NEVPNErrorConfigurationReadWriteFailed@5$NEVPNErrorConfigurationStale@4$NEVPNErrorConfigurationUnknown@6$NEVPNErrorConnectionFailed@3$NEVPNIKEAuthenticationMethodCertificate@1$NEVPNIKEAuthenticationMethodNone@0$NEVPNIKEAuthenticationMethodSharedSecret@2$NEVPNIKEv2CertificateTypeECDSA256@2$NEVPNIKEv2CertificateTypeECDSA384@3$NEVPNIKEv2CertificateTypeECDSA521@4$NEVPNIKEv2CertificateTypeEd25519@5$NEVPNIKEv2CertificateTypeRSA@1$NEVPNIKEv2CertificateTypeRSAPSS@6$NEVPNIKEv2DeadPeerDetectionRateHigh@3$NEVPNIKEv2DeadPeerDetectionRateLow@1$NEVPNIKEv2DeadPeerDetectionRateMedium@2$NEVPNIKEv2DeadPeerDetectionRateNone@0$NEVPNIKEv2DiffieHellmanGroup0@0$NEVPNIKEv2DiffieHellmanGroup1@1$NEVPNIKEv2DiffieHellmanGroup14@14$NEVPNIKEv2DiffieHellmanGroup15@15$NEVPNIKEv2DiffieHellmanGroup16@16$NEVPNIKEv2DiffieHellmanGroup17@17$NEVPNIKEv2DiffieHellmanGroup18@18$NEVPNIKEv2DiffieHellmanGroup19@19$NEVPNIKEv2DiffieHellmanGroup2@2$NEVPNIKEv2DiffieHellmanGroup20@20$NEVPNIKEv2DiffieHellmanGroup21@21$NEVPNIKEv2DiffieHellmanGroup31@31$NEVPNIKEv2DiffieHellmanGroup32@32$NEVPNIKEv2DiffieHellmanGroup5@5$NEVPNIKEv2DiffieHellmanGroupInvalid@0$NEVPNIKEv2EncryptionAlgorithm3DES@2$NEVPNIKEv2EncryptionAlgorithmAES128@3$NEVPNIKEv2EncryptionAlgorithmAES128GCM@5$NEVPNIKEv2EncryptionAlgorithmAES256@4$NEVPNIKEv2EncryptionAlgorithmAES256GCM@6$NEVPNIKEv2EncryptionAlgorithmChaCha20Poly1305@7$NEVPNIKEv2EncryptionAlgorithmDES@1$NEVPNIKEv2IntegrityAlgorithmSHA160@2$NEVPNIKEv2IntegrityAlgorithmSHA256@3$NEVPNIKEv2IntegrityAlgorithmSHA384@4$NEVPNIKEv2IntegrityAlgorithmSHA512@5$NEVPNIKEv2IntegrityAlgorithmSHA96@1$NEVPNIKEv2TLSVersion1_0@1$NEVPNIKEv2TLSVersion1_1@2$NEVPNIKEv2TLSVersion1_2@3$NEVPNIKEv2TLSVersionDefault@0$NEVPNStatusConnected@3$NEVPNStatusConnecting@2$NEVPNStatusDisconnected@1$NEVPNStatusDisconnecting@5$NEVPNStatusInvalid@0$NEVPNStatusReasserting@4$NWPathStatusInvalid@0$NWPathStatusSatisfiable@3$NWPathStatusSatisfied@1$NWPathStatusUnsatisfied@2$NWTCPConnectionStateCancelled@5$NWTCPConnectionStateConnected@3$NWTCPConnectionStateConnecting@1$NWTCPConnectionStateDisconnected@4$NWTCPConnectionStateInvalid@0$NWTCPConnectionStateWaiting@2$NWUDPSessionStateCancelled@5$NWUDPSessionStateFailed@4$NWUDPSessionStateInvalid@0$NWUDPSessionStatePreparing@2$NWUDPSessionStateReady@3$NWUDPSessionStateWaiting@1$kNEHotspotHelperCommandTypeAuthenticate@3$kNEHotspotHelperCommandTypeEvaluate@2$kNEHotspotHelperCommandTypeFilterScanList@1$kNEHotspotHelperCommandTypeLogoff@6$kNEHotspotHelperCommandTypeMaintain@5$kNEHotspotHelperCommandTypeNone@0$kNEHotspotHelperCommandTypePresentUI@4$kNEHotspotHelperConfidenceHigh@2$kNEHotspotHelperConfidenceLow@1$kNEHotspotHelperConfidenceNone@0$kNEHotspotHelperResultAuthenticationRequired@4$kNEHotspotHelperResultCommandNotRecognized@3$kNEHotspotHelperResultFailure@1$kNEHotspotHelperResultSuccess@0$kNEHotspotHelperResultTemporaryFailure@6$kNEHotspotHelperResultUIRequired@2$kNEHotspotHelperResultUnsupportedNetwork@5$"""
34
+ enums = """$NEAppProxyFlowErrorAborted@5$NEAppProxyFlowErrorDatagramTooLarge@9$NEAppProxyFlowErrorHostUnreachable@3$NEAppProxyFlowErrorInternal@8$NEAppProxyFlowErrorInvalidArgument@4$NEAppProxyFlowErrorNotConnected@1$NEAppProxyFlowErrorPeerReset@2$NEAppProxyFlowErrorReadAlreadyPending@10$NEAppProxyFlowErrorRefused@6$NEAppProxyFlowErrorTimedOut@7$NEAppPushManagerErrorConfigurationInvalid@1$NEAppPushManagerErrorConfigurationNotLoaded@2$NEAppPushManagerErrorInactiveSession@4$NEAppPushManagerErrorInternalError@3$NEDNSProtocolCleartext@1$NEDNSProtocolHTTPS@3$NEDNSProtocolTLS@2$NEDNSProxyManagerErrorConfigurationCannotBeRemoved@4$NEDNSProxyManagerErrorConfigurationDisabled@2$NEDNSProxyManagerErrorConfigurationInvalid@1$NEDNSProxyManagerErrorConfigurationStale@3$NEDNSSettingsManagerErrorConfigurationCannotBeRemoved@4$NEDNSSettingsManagerErrorConfigurationDisabled@2$NEDNSSettingsManagerErrorConfigurationInvalid@1$NEDNSSettingsManagerErrorConfigurationStale@3$NEEvaluateConnectionRuleActionConnectIfNeeded@1$NEEvaluateConnectionRuleActionNeverConnect@2$NEFilterActionAllow@1$NEFilterActionDrop@2$NEFilterActionFilterData@4$NEFilterActionInvalid@0$NEFilterActionRemediate@3$NEFilterDataAttributeHasIPHeader@1$NEFilterFlowBytesMax@18446744073709551615$NEFilterManagerErrorConfigurationCannotBeRemoved@4$NEFilterManagerErrorConfigurationDisabled@2$NEFilterManagerErrorConfigurationInternalError@6$NEFilterManagerErrorConfigurationInvalid@1$NEFilterManagerErrorConfigurationPermissionDenied@5$NEFilterManagerErrorConfigurationStale@3$NEFilterManagerGradeFirewall@1$NEFilterManagerGradeInspector@2$NEFilterPacketProviderVerdictAllow@0$NEFilterPacketProviderVerdictDelay@2$NEFilterPacketProviderVerdictDrop@1$NEFilterReportEventDataDecision@2$NEFilterReportEventFlowClosed@3$NEFilterReportEventNewFlow@1$NEFilterReportEventStatistics@4$NEFilterReportFrequencyHigh@3$NEFilterReportFrequencyLow@1$NEFilterReportFrequencyMedium@2$NEFilterReportFrequencyNone@0$NEHotspotConfigurationEAPTLSVersion_1_0@0$NEHotspotConfigurationEAPTLSVersion_1_1@1$NEHotspotConfigurationEAPTLSVersion_1_2@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationCHAP@1$NEHotspotConfigurationEAPTTLSInnerAuthenticationEAP@4$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAP@2$NEHotspotConfigurationEAPTTLSInnerAuthenticationMSCHAPv2@3$NEHotspotConfigurationEAPTTLSInnerAuthenticationPAP@0$NEHotspotConfigurationEAPTypeEAPFAST@43$NEHotspotConfigurationEAPTypeEAPPEAP@25$NEHotspotConfigurationEAPTypeEAPTLS@13$NEHotspotConfigurationEAPTypeEAPTTLS@21$NEHotspotConfigurationErrorAlreadyAssociated@13$NEHotspotConfigurationErrorApplicationIsNotInForeground@14$NEHotspotConfigurationErrorInternal@8$NEHotspotConfigurationErrorInvalid@0$NEHotspotConfigurationErrorInvalidEAPSettings@4$NEHotspotConfigurationErrorInvalidHS20DomainName@6$NEHotspotConfigurationErrorInvalidHS20Settings@5$NEHotspotConfigurationErrorInvalidSSID@1$NEHotspotConfigurationErrorInvalidSSIDPrefix@15$NEHotspotConfigurationErrorInvalidWEPPassphrase@3$NEHotspotConfigurationErrorInvalidWPAPassphrase@2$NEHotspotConfigurationErrorJoinOnceNotSupported@12$NEHotspotConfigurationErrorPending@9$NEHotspotConfigurationErrorSystemConfiguration@10$NEHotspotConfigurationErrorSystemDenied@17$NEHotspotConfigurationErrorUnknown@11$NEHotspotConfigurationErrorUserDenied@7$NEHotspotConfigurationErrorUserUnauthorized@16$NEHotspotNetworkSecurityTypeEnterprise@3$NEHotspotNetworkSecurityTypeOpen@0$NEHotspotNetworkSecurityTypePersonal@2$NEHotspotNetworkSecurityTypeUnknown@4$NEHotspotNetworkSecurityTypeWEP@1$NENetworkRuleProtocolAny@0$NENetworkRuleProtocolTCP@1$NENetworkRuleProtocolUDP@2$NEOnDemandRuleActionConnect@1$NEOnDemandRuleActionDisconnect@2$NEOnDemandRuleActionEvaluateConnection@3$NEOnDemandRuleActionIgnore@4$NEOnDemandRuleInterfaceTypeAny@0$NEOnDemandRuleInterfaceTypeCellular@3$NEOnDemandRuleInterfaceTypeEthernet@1$NEOnDemandRuleInterfaceTypeWiFi@2$NEProviderStopReasonAppUpdate@16$NEProviderStopReasonAuthenticationCanceled@6$NEProviderStopReasonConfigurationDisabled@9$NEProviderStopReasonConfigurationFailed@7$NEProviderStopReasonConfigurationRemoved@10$NEProviderStopReasonConnectionFailed@14$NEProviderStopReasonIdleTimeout@8$NEProviderStopReasonInternalError@17$NEProviderStopReasonNoNetworkAvailable@3$NEProviderStopReasonNone@0$NEProviderStopReasonProviderDisabled@5$NEProviderStopReasonProviderFailed@2$NEProviderStopReasonSleep@15$NEProviderStopReasonSuperceded@11$NEProviderStopReasonUnrecoverableNetworkChange@4$NEProviderStopReasonUserInitiated@1$NEProviderStopReasonUserLogout@12$NEProviderStopReasonUserSwitch@13$NERelayManagerClientErrorCertificateExpired@7$NERelayManagerClientErrorCertificateInvalid@6$NERelayManagerClientErrorCertificateMissing@5$NERelayManagerClientErrorDNSFailed@2$NERelayManagerClientErrorNone@1$NERelayManagerClientErrorOther@10$NERelayManagerClientErrorServerCertificateExpired@9$NERelayManagerClientErrorServerCertificateInvalid@8$NERelayManagerClientErrorServerDisconnected@4$NERelayManagerClientErrorServerUnreachable@3$NERelayManagerErrorConfigurationCannotBeRemoved@4$NERelayManagerErrorConfigurationDisabled@2$NERelayManagerErrorConfigurationInvalid@1$NERelayManagerErrorConfigurationStale@3$NETrafficDirectionAny@0$NETrafficDirectionInbound@1$NETrafficDirectionOutbound@2$NETunnelProviderErrorNetworkSettingsCanceled@2$NETunnelProviderErrorNetworkSettingsFailed@3$NETunnelProviderErrorNetworkSettingsInvalid@1$NETunnelProviderRoutingMethodDestinationIP@1$NETunnelProviderRoutingMethodNetworkRule@3$NETunnelProviderRoutingMethodSourceApplication@2$NEURLFilterVerdictAllow@2$NEURLFilterVerdictDeny@3$NEURLFilterVerdictUnknown@1$NEVPNConnectionErrorAuthenticationFailed@8$NEVPNConnectionErrorClientCertificateExpired@11$NEVPNConnectionErrorClientCertificateInvalid@9$NEVPNConnectionErrorClientCertificateNotYetValid@10$NEVPNConnectionErrorConfigurationFailed@4$NEVPNConnectionErrorConfigurationNotFound@13$NEVPNConnectionErrorNegotiationFailed@15$NEVPNConnectionErrorNoNetworkAvailable@2$NEVPNConnectionErrorOverslept@1$NEVPNConnectionErrorPluginDisabled@14$NEVPNConnectionErrorPluginFailed@12$NEVPNConnectionErrorServerAddressResolutionFailed@5$NEVPNConnectionErrorServerCertificateExpired@19$NEVPNConnectionErrorServerCertificateInvalid@17$NEVPNConnectionErrorServerCertificateNotYetValid@18$NEVPNConnectionErrorServerDead@7$NEVPNConnectionErrorServerDisconnected@16$NEVPNConnectionErrorServerNotResponding@6$NEVPNConnectionErrorUnrecoverableNetworkChange@3$NEVPNErrorConfigurationDisabled@2$NEVPNErrorConfigurationInvalid@1$NEVPNErrorConfigurationReadWriteFailed@5$NEVPNErrorConfigurationStale@4$NEVPNErrorConfigurationUnknown@6$NEVPNErrorConnectionFailed@3$NEVPNIKEAuthenticationMethodCertificate@1$NEVPNIKEAuthenticationMethodNone@0$NEVPNIKEAuthenticationMethodSharedSecret@2$NEVPNIKEv2CertificateTypeECDSA256@2$NEVPNIKEv2CertificateTypeECDSA384@3$NEVPNIKEv2CertificateTypeECDSA521@4$NEVPNIKEv2CertificateTypeEd25519@5$NEVPNIKEv2CertificateTypeRSA@1$NEVPNIKEv2CertificateTypeRSAPSS@6$NEVPNIKEv2DeadPeerDetectionRateHigh@3$NEVPNIKEv2DeadPeerDetectionRateLow@1$NEVPNIKEv2DeadPeerDetectionRateMedium@2$NEVPNIKEv2DeadPeerDetectionRateNone@0$NEVPNIKEv2DiffieHellmanGroup0@0$NEVPNIKEv2DiffieHellmanGroup1@1$NEVPNIKEv2DiffieHellmanGroup14@14$NEVPNIKEv2DiffieHellmanGroup15@15$NEVPNIKEv2DiffieHellmanGroup16@16$NEVPNIKEv2DiffieHellmanGroup17@17$NEVPNIKEv2DiffieHellmanGroup18@18$NEVPNIKEv2DiffieHellmanGroup19@19$NEVPNIKEv2DiffieHellmanGroup2@2$NEVPNIKEv2DiffieHellmanGroup20@20$NEVPNIKEv2DiffieHellmanGroup21@21$NEVPNIKEv2DiffieHellmanGroup31@31$NEVPNIKEv2DiffieHellmanGroup32@32$NEVPNIKEv2DiffieHellmanGroup5@5$NEVPNIKEv2DiffieHellmanGroupInvalid@0$NEVPNIKEv2EncryptionAlgorithm3DES@2$NEVPNIKEv2EncryptionAlgorithmAES128@3$NEVPNIKEv2EncryptionAlgorithmAES128GCM@5$NEVPNIKEv2EncryptionAlgorithmAES256@4$NEVPNIKEv2EncryptionAlgorithmAES256GCM@6$NEVPNIKEv2EncryptionAlgorithmChaCha20Poly1305@7$NEVPNIKEv2EncryptionAlgorithmDES@1$NEVPNIKEv2IntegrityAlgorithmSHA160@2$NEVPNIKEv2IntegrityAlgorithmSHA256@3$NEVPNIKEv2IntegrityAlgorithmSHA384@4$NEVPNIKEv2IntegrityAlgorithmSHA512@5$NEVPNIKEv2IntegrityAlgorithmSHA96@1$NEVPNIKEv2PostQuantumKeyExchangeMethod36@36$NEVPNIKEv2PostQuantumKeyExchangeMethod37@37$NEVPNIKEv2PostQuantumKeyExchangeMethodNone@0$NEVPNIKEv2TLSVersion1_0@1$NEVPNIKEv2TLSVersion1_1@2$NEVPNIKEv2TLSVersion1_2@3$NEVPNIKEv2TLSVersionDefault@0$NEVPNStatusConnected@3$NEVPNStatusConnecting@2$NEVPNStatusDisconnected@1$NEVPNStatusDisconnecting@5$NEVPNStatusInvalid@0$NEVPNStatusReasserting@4$NWPathStatusInvalid@0$NWPathStatusSatisfiable@3$NWPathStatusSatisfied@1$NWPathStatusUnsatisfied@2$NWTCPConnectionStateCancelled@5$NWTCPConnectionStateConnected@3$NWTCPConnectionStateConnecting@1$NWTCPConnectionStateDisconnected@4$NWTCPConnectionStateInvalid@0$NWTCPConnectionStateWaiting@2$NWUDPSessionStateCancelled@5$NWUDPSessionStateFailed@4$NWUDPSessionStateInvalid@0$NWUDPSessionStatePreparing@2$NWUDPSessionStateReady@3$NWUDPSessionStateWaiting@1$kNEHotspotHelperCommandTypeAuthenticate@3$kNEHotspotHelperCommandTypeEvaluate@2$kNEHotspotHelperCommandTypeFilterScanList@1$kNEHotspotHelperCommandTypeLogoff@6$kNEHotspotHelperCommandTypeMaintain@5$kNEHotspotHelperCommandTypeNone@0$kNEHotspotHelperCommandTypePresentUI@4$kNEHotspotHelperConfidenceHigh@2$kNEHotspotHelperConfidenceLow@1$kNEHotspotHelperConfidenceNone@0$kNEHotspotHelperResultAuthenticationRequired@4$kNEHotspotHelperResultCommandNotRecognized@3$kNEHotspotHelperResultFailure@1$kNEHotspotHelperResultSuccess@0$kNEHotspotHelperResultTemporaryFailure@6$kNEHotspotHelperResultUIRequired@2$kNEHotspotHelperResultUnsupportedNetwork@5$"""
35
35
  misc.update(
36
36
  {
37
37
  "NEVPNConnectionError": NewType("NEVPNConnectionError", int),
@@ -50,6 +50,7 @@ misc.update(
50
50
  "NETunnelProviderRoutingMethod": NewType("NETunnelProviderRoutingMethod", int),
51
51
  "NEHotspotNetworkSecurityType": NewType("NEHotspotNetworkSecurityType", int),
52
52
  "NEDNSProtocol": NewType("NEDNSProtocol", int),
53
+ "NEURLFilterVerdict": NewType("NEURLFilterVerdict", int),
53
54
  "NETrafficDirection": NewType("NETrafficDirection", int),
54
55
  "NEVPNIKEv2DiffieHellmanGroup": NewType("NEVPNIKEv2DiffieHellmanGroup", int),
55
56
  "NEVPNIKEv2IntegrityAlgorithm": NewType("NEVPNIKEv2IntegrityAlgorithm", int),
@@ -61,6 +62,9 @@ misc.update(
61
62
  "NEOnDemandRuleInterfaceType": NewType("NEOnDemandRuleInterfaceType", int),
62
63
  "NERelayManagerError": NewType("NERelayManagerError", int),
63
64
  "NEAppProxyFlowError": NewType("NEAppProxyFlowError", int),
65
+ "NEVPNIKEv2PostQuantumKeyExchangeMethod": NewType(
66
+ "NEVPNIKEv2PostQuantumKeyExchangeMethod", int
67
+ ),
64
68
  "NETunnelProviderError": NewType("NETunnelProviderError", int),
65
69
  "NEVPNIKEv2EncryptionAlgorithm": NewType("NEVPNIKEv2EncryptionAlgorithm", int),
66
70
  "NEProviderStopReason": NewType("NEProviderStopReason", int),
@@ -326,6 +330,7 @@ try:
326
330
  }
327
331
  },
328
332
  )
333
+ r(b"NEAppPushManager", b"matchEthernet", {"retval": {"type": b"Z"}})
329
334
  r(
330
335
  b"NEAppPushManager",
331
336
  b"removeFromPreferencesWithCompletionHandler:",
@@ -355,6 +360,7 @@ try:
355
360
  },
356
361
  )
357
362
  r(b"NEAppPushManager", b"setEnabled:", {"arguments": {2: {"type": b"Z"}}})
363
+ r(b"NEAppPushManager", b"setMatchEthernet:", {"arguments": {2: {"type": b"Z"}}})
358
364
  r(
359
365
  b"NEAppPushProvider",
360
366
  b"startWithCompletionHandler:",
@@ -466,7 +472,9 @@ try:
466
472
  }
467
473
  },
468
474
  )
475
+ r(b"NEDNSSettings", b"allowFailover", {"retval": {"type": b"Z"}})
469
476
  r(b"NEDNSSettings", b"matchDomainsNoSearch", {"retval": {"type": "Z"}})
477
+ r(b"NEDNSSettings", b"setAllowFailover:", {"arguments": {2: {"type": b"Z"}}})
470
478
  r(b"NEDNSSettings", b"setMatchDomainsNoSearch:", {"arguments": {2: {"type": "Z"}}})
471
479
  r(b"NEDNSSettingsManager", b"isEnabled", {"retval": {"type": b"Z"}})
472
480
  r(
@@ -941,8 +949,7 @@ try:
941
949
  "callable": {
942
950
  "retval": {"type": b"v"},
943
951
  "arguments": {0: {"type": b"^v"}},
944
- },
945
- "type": "@?",
952
+ }
946
953
  }
947
954
  }
948
955
  },
@@ -983,6 +990,7 @@ try:
983
990
  }
984
991
  },
985
992
  )
993
+ r(b"NERelayManager", b"isDNSFailoverAllowed", {"retval": {"type": b"Z"}})
986
994
  r(b"NERelayManager", b"isEnabled", {"retval": {"type": b"Z"}})
987
995
  r(b"NERelayManager", b"isUIToggleEnabled", {"retval": {"type": b"Z"}})
988
996
  r(
@@ -1045,6 +1053,7 @@ try:
1045
1053
  }
1046
1054
  },
1047
1055
  )
1056
+ r(b"NERelayManager", b"setAllowDNSFailover:", {"arguments": {2: {"type": b"Z"}}})
1048
1057
  r(b"NERelayManager", b"setEnabled:", {"arguments": {2: {"type": b"Z"}}})
1049
1058
  r(b"NERelayManager", b"setUIToggleEnabled:", {"arguments": {2: {"type": b"Z"}}})
1050
1059
  r(
@@ -1138,6 +1147,20 @@ try:
1138
1147
  b"startTunnelWithOptions:andReturnError:",
1139
1148
  {"retval": {"type": "Z"}, "arguments": {3: {"type_modifier": b"o"}}},
1140
1149
  )
1150
+ r(
1151
+ b"NEURLFilter",
1152
+ b"verdictForURL:completionHandler:",
1153
+ {
1154
+ "arguments": {
1155
+ 3: {
1156
+ "callable": {
1157
+ "retval": {"type": b"v"},
1158
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
1159
+ }
1160
+ }
1161
+ }
1162
+ },
1163
+ )
1141
1164
  r(
1142
1165
  b"NEVPNConnection",
1143
1166
  b"fetchLastDisconnectErrorWithCompletionHandler:",
@@ -1241,11 +1264,21 @@ try:
1241
1264
  )
1242
1265
  r(b"NEVPNProtocol", b"setExcludeLocalNetworks:", {"arguments": {2: {"type": b"Z"}}})
1243
1266
  r(b"NEVPNProtocol", b"setIncludeAllNetworks:", {"arguments": {2: {"type": b"Z"}}})
1267
+ r(
1268
+ b"NEVPNProtocolIKEv2",
1269
+ b"allowPostQuantumKeyExchangeFallback",
1270
+ {"retval": {"type": b"Z"}},
1271
+ )
1244
1272
  r(b"NEVPNProtocolIKEv2", b"disableMOBIKE", {"retval": {"type": "Z"}})
1245
1273
  r(b"NEVPNProtocolIKEv2", b"disableRedirect", {"retval": {"type": "Z"}})
1246
1274
  r(b"NEVPNProtocolIKEv2", b"enableFallback", {"retval": {"type": b"Z"}})
1247
1275
  r(b"NEVPNProtocolIKEv2", b"enablePFS", {"retval": {"type": "Z"}})
1248
1276
  r(b"NEVPNProtocolIKEv2", b"enableRevocationCheck", {"retval": {"type": "Z"}})
1277
+ r(
1278
+ b"NEVPNProtocolIKEv2",
1279
+ b"setAllowPostQuantumKeyExchangeFallback:",
1280
+ {"arguments": {2: {"type": b"Z"}}},
1281
+ )
1249
1282
  r(b"NEVPNProtocolIKEv2", b"setDisableMOBIKE:", {"arguments": {2: {"type": "Z"}}})
1250
1283
  r(b"NEVPNProtocolIKEv2", b"setDisableRedirect:", {"arguments": {2: {"type": "Z"}}})
1251
1284
  r(b"NEVPNProtocolIKEv2", b"setEnableFallback:", {"arguments": {2: {"type": b"Z"}}})
@@ -1446,10 +1479,6 @@ try:
1446
1479
  }
1447
1480
  },
1448
1481
  )
1449
- r(b"null", b"didAutoJoin", {"retval": {"type": b"Z"}})
1450
- r(b"null", b"didJustJoin", {"retval": {"type": b"Z"}})
1451
- r(b"null", b"isChosenHelper", {"retval": {"type": b"Z"}})
1452
- r(b"null", b"isSecure", {"retval": {"type": b"Z"}})
1453
1482
  finally:
1454
1483
  objc._updatingMetadata(False)
1455
1484
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-NetworkExtension
3
- Version: 11.1
3
+ Version: 12.0
4
4
  Summary: Wrappers for the framework NetworkExtension on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -23,14 +23,16 @@ Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
24
  Classifier: Programming Language :: Python :: 3.13
25
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
26
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
27
29
  Classifier: Programming Language :: Objective C
28
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
31
  Classifier: Topic :: Software Development :: User Interfaces
30
32
  Requires-Python: >=3.9
31
33
  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-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
34
36
  Dynamic: author
35
37
  Dynamic: author-email
36
38
  Dynamic: classifier
@@ -48,6 +48,7 @@ PyObjCTest/test_netunnelprovider.py
48
48
  PyObjCTest/test_netunnelprovidermanager.py
49
49
  PyObjCTest/test_netunnelprovidersession.py
50
50
  PyObjCTest/test_networkextension.py
51
+ PyObjCTest/test_neurlfilter.py
51
52
  PyObjCTest/test_nevpnconnection.py
52
53
  PyObjCTest/test_nevpnmanager.py
53
54
  PyObjCTest/test_nevpnprotocol.py
@@ -59,17 +60,5 @@ PyObjCTest/test_nwtcpconnection.py
59
60
  PyObjCTest/test_nwudpsession.py
60
61
  metadata/NetworkExtension.fwinfo
61
62
  metadata/metadata.ini
62
- metadata/raw/arm64-12.3.fwinfo
63
- metadata/raw/arm64-13.3.fwinfo
64
- metadata/raw/arm64-14.5.fwinfo
65
- metadata/raw/arm64-15.0.fwinfo
66
- metadata/raw/arm64-15.2.fwinfo
67
- metadata/raw/arm64-15.4.fwinfo
68
- metadata/raw/x86_64-10.15.fwinfo
69
- metadata/raw/x86_64-10.16.fwinfo
70
- metadata/raw/x86_64-12.3.fwinfo
71
- metadata/raw/x86_64-13.3.fwinfo
72
- metadata/raw/x86_64-14.5.fwinfo
73
- metadata/raw/x86_64-15.0.fwinfo
74
- metadata/raw/x86_64-15.2.fwinfo
75
- metadata/raw/x86_64-15.4.fwinfo
63
+ metadata/raw/arm64-26.0.fwinfo
64
+ metadata/raw/x86_64-26.0.fwinfo
@@ -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,2 @@
1
+ pyobjc-core>=12.0
2
+ pyobjc-framework-Cocoa>=12.0
@@ -14,54 +14,51 @@ static PyMethodDef mod_methods[] = {
14
14
  {0, 0, 0, 0} /* sentinel */
15
15
  };
16
16
 
17
- static int mod_exec_module(PyObject* m)
17
+ static int
18
+ mod_exec_module(PyObject* m)
18
19
  {
19
20
  return 0;
20
21
  }
21
22
 
22
23
  static struct PyModuleDef_Slot mod_slots[] = {
23
- {
24
- .slot = Py_mod_exec,
25
- .value = (void*)mod_exec_module
26
- },
24
+ {.slot = Py_mod_exec, .value = (void*)mod_exec_module},
27
25
  #if PY_VERSION_HEX >= 0x030c0000
28
26
  {
29
27
  /* This extension does not use the CPython API other than initializing
30
28
  * the module, hence is safe with subinterpreters and per-interpreter
31
29
  * GILs
32
30
  */
33
- .slot = Py_mod_multiple_interpreters,
31
+ .slot = Py_mod_multiple_interpreters,
34
32
  .value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
35
33
  },
36
34
  #endif
37
35
  #if PY_VERSION_HEX >= 0x030d0000
38
36
  {
39
37
  /* The code in this extension should be safe to use without the GIL */
40
- .slot = Py_mod_gil,
38
+ .slot = Py_mod_gil,
41
39
  .value = Py_MOD_GIL_NOT_USED,
42
40
  },
43
41
  #endif
44
- { /* Sentinel */
45
- .slot = 0,
46
- .value = 0
47
- }
48
- };
42
+ {/* Sentinel */
43
+ .slot = 0,
44
+ .value = 0}};
49
45
 
50
46
  static struct PyModuleDef mod_module = {
51
- .m_base = PyModuleDef_HEAD_INIT,
52
- .m_name = "_NetworkExtension",
53
- .m_doc = NULL,
54
- .m_size = 0,
55
- .m_methods = mod_methods,
56
- .m_slots = mod_slots,
47
+ .m_base = PyModuleDef_HEAD_INIT,
48
+ .m_name = "_NetworkExtension",
49
+ .m_doc = NULL,
50
+ .m_size = 0,
51
+ .m_methods = mod_methods,
52
+ .m_slots = mod_slots,
57
53
  .m_traverse = NULL,
58
- .m_clear = NULL,
59
- .m_free = NULL,
54
+ .m_clear = NULL,
55
+ .m_free = NULL,
60
56
  };
61
57
 
62
58
  PyObject* PyInit__NetworkExtension(void);
63
59
 
64
- PyObject* __attribute__((__visibility__("default"))) PyInit__NetworkExtension(void)
60
+ PyObject* __attribute__((__visibility__("default")))
61
+ PyInit__NetworkExtension(void)
65
62
  {
66
63
  return PyModuleDef_Init(&mod_module);
67
64
  }
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * Last update: Wed Jan 16 13:10:52 2013
5
5
  */
6
- static void __attribute__((__used__)) use_protocols(void)
6
+ static void __attribute__((__used__))
7
+ use_protocols(void)
7
8
  {
8
9
  PyObject* p __attribute__((__unused__));
9
10
  #if PyObjC_BUILD_RELEASE >= 1011
@@ -53,8 +53,9 @@ NS_ASSUME_NONNULL_BEGIN
53
53
  /*
54
54
  * Only add items to the end of this list!
55
55
  */
56
+
56
57
  typedef int(RegisterMethodMappingFunctionType)(
57
- Class, SEL,
58
+ Class _Nullable, SEL,
58
59
  PyObject* _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull,
59
60
  PyObject* _Nonnull const* _Nonnull, size_t),
60
61
  IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
@@ -83,7 +84,8 @@ struct pyobjc_api {
83
84
  PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
84
85
  PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
85
86
  size_t);
86
- void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state) __attribute__((__noreturn__));
87
+ void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
88
+ __attribute__((__noreturn__));
87
89
  int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
88
90
  void (*_Nonnull free_c_array)(int, Py_buffer*);
89
91
  int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
@@ -113,7 +115,8 @@ struct pyobjc_api {
113
115
  int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
114
116
  PyObject* _Nullable kwnames);
115
117
 
116
- PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*, const char*);
118
+ PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
119
+ const char*);
117
120
  };
118
121
 
119
122
  #ifndef PYOBJC_BUILD
@@ -123,34 +123,6 @@ NS_ASSUME_NONNULL_BEGIN
123
123
  } while (0)
124
124
  #endif
125
125
 
126
- #if PY_VERSION_HEX < 0x03090000
127
-
128
- /* For use on Python 3.8 and earlier. PyObjC doesn't use the
129
- * "flag" bit internally.
130
- */
131
-
132
- #ifndef PY_VECTORCALL_ARGUMENTS_OFFSET
133
- #define PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1))
134
- #endif
135
-
136
- #define PyVectorcall_NARGS(nargsf) ((nargsf) & ~PY_VECTORCALL_ARGUMENTS_OFFSET)
137
-
138
- #ifdef OBJC_VERSION
139
- /* Don't use PyObject prefixed symbols in our binaries */
140
- #define PyObject_Vectorcall PyObjC_Vectorcall
141
- #define PyObject_VectorcallMethod PyObjC_VectorcallMethod
142
-
143
- extern PyObject* _Nullable PyObject_Vectorcall(PyObject* callable,
144
- PyObject* _Nonnull const* _Nonnull args,
145
- size_t nargsf,
146
- PyObject* _Nullable kwnames);
147
- extern PyObject* _Nullable PyObject_VectorcallMethod(
148
- PyObject* name, PyObject* _Nonnull const* _Nonnull args, size_t nargsf,
149
- PyObject* _Nullable kwnames);
150
- #endif
151
-
152
- #endif /* Python < 3.9 */
153
-
154
126
  /* Use CLINIC_SEP between the prototype and
155
127
  * description in doc strings, to get clean
156
128
  * docstrings.
@@ -198,7 +170,10 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
198
170
  static inline PyObject*
199
171
  _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
200
172
  {
201
- return PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
173
+ /* The protocol for tuples is that they are full initialized
174
+ * before handing them over to other code.
175
+ */
176
+ return (PyObject* _Nonnull)PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
202
177
  }
203
178
  #undef PyTuple_GET_ITEM
204
179
  #define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
@@ -242,13 +217,15 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
242
217
 
243
218
  #if PY_VERSION_HEX < 0x030a0000
244
219
 
245
- static inline PyObject* Py_NewRef(PyObject* o)
220
+ static inline PyObject*
221
+ Py_NewRef(PyObject* o)
246
222
  {
247
223
  Py_INCREF(o);
248
224
  return o;
249
225
  }
250
226
 
251
- static inline PyObject* Py_XNewRef(PyObject* o)
227
+ static inline PyObject*
228
+ Py_XNewRef(PyObject* o)
252
229
  {
253
230
  Py_XINCREF(o);
254
231
  return o;
@@ -257,11 +234,16 @@ static inline PyObject* Py_XNewRef(PyObject* o)
257
234
  #endif /* PY_VERSION_HEX < 0x030a0000 */
258
235
 
259
236
  #if PY_VERSION_HEX < 0x030d0000
260
- #define Py_BEGIN_CRITICAL_SECTION(value) { (void)(value);
237
+ #define Py_BEGIN_CRITICAL_SECTION(value) \
238
+ { \
239
+ (void)(value);
261
240
  #define Py_END_CRITICAL_SECTION() }
262
241
  #define Py_EXIT_CRITICAL_SECTION() ((void)0)
263
242
 
264
- #define Py_BEGIN_CRITICAL_SECTION2(value1, value2) { (void)(value1); (void)(value2);
243
+ #define Py_BEGIN_CRITICAL_SECTION2(value1, value2) \
244
+ { \
245
+ (void)(value1); \
246
+ (void)(value2);
265
247
  #define Py_END_CRITICAL_SECTION2() }
266
248
  #define Py_EXIT_CRITICAL_SECTION2() ((void)0)
267
249
 
@@ -282,7 +264,8 @@ static inline PyObject* Py_XNewRef(PyObject* o)
282
264
  #endif
283
265
 
284
266
  #if PY_VERSION_HEX < 0x030d0000
285
- static inline int PyDict_GetItemRef(PyObject *p, PyObject *key, PyObject * _Nonnull* _Nullable result)
267
+ static inline int
268
+ PyDict_GetItemRef(PyObject* p, PyObject* key, PyObject* _Nonnull* _Nullable result)
286
269
  {
287
270
  *result = PyDict_GetItemWithError(p, key);
288
271
  if (*result == NULL) {
@@ -306,7 +289,8 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
306
289
  #endif
307
290
 
308
291
  #if PY_VERSION_HEX < 0x030c0000
309
- static inline PyObject* PyType_GetDict(PyTypeObject* type)
292
+ static inline PyObject*
293
+ PyType_GetDict(PyTypeObject* type)
310
294
  {
311
295
  PyObject* result = type->tp_dict;
312
296
  Py_INCREF(result);
@@ -319,12 +303,13 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
319
303
  * These are available in 3.14 and above, the definitions below
320
304
  * mirror the private implementation in 3.13.
321
305
  */
322
- static inline int PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
306
+ static inline int
307
+ PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
323
308
  {
324
309
  #ifdef Py_GIL_DISABLED
325
- return (_Py_IsOwnedByCurrentThread(ob) &&
326
- _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
327
- _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
310
+ return (_Py_IsOwnedByCurrentThread(ob)
311
+ && _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
312
+ && _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
328
313
  #else
329
314
  return Py_REFCNT(ob) == 1;
330
315
  #endif
@@ -340,8 +325,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
340
325
  // Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
341
326
  return;
342
327
  }
343
- if (_Py_atomic_compare_exchange_ssize(
344
- &op->ob_ref_shared, &shared, shared | _Py_REF_MAYBE_WEAKREF)) {
328
+ if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
329
+ shared | _Py_REF_MAYBE_WEAKREF)) {
345
330
  return;
346
331
  }
347
332
  }
@@ -350,7 +335,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
350
335
 
351
336
  #ifdef Py_GIL_DISABLED
352
337
  static inline int
353
- _Py_TryIncrefFast(PyObject *op) {
338
+ _Py_TryIncrefFast(PyObject* op)
339
+ {
354
340
  uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
355
341
  local += 1;
356
342
  if (local == 0) {
@@ -369,7 +355,7 @@ _Py_TryIncrefFast(PyObject *op) {
369
355
  }
370
356
 
371
357
  static inline int
372
- _Py_TryIncRefShared(PyObject *op)
358
+ _Py_TryIncRefShared(PyObject* op)
373
359
  {
374
360
  Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
375
361
  for (;;) {
@@ -379,10 +365,8 @@ _Py_TryIncRefShared(PyObject *op)
379
365
  return 0;
380
366
  }
381
367
 
382
- if (_Py_atomic_compare_exchange_ssize(
383
- &op->ob_ref_shared,
384
- &shared,
385
- shared + (1 << _Py_REF_SHARED_SHIFT))) {
368
+ if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
369
+ shared + (1 << _Py_REF_SHARED_SHIFT))) {
386
370
  #ifdef Py_REF_DEBUG
387
371
  _Py_IncRefTotal(_PyThreadState_GET());
388
372
  #endif
@@ -394,7 +378,7 @@ _Py_TryIncRefShared(PyObject *op)
394
378
  #endif
395
379
 
396
380
  static inline int
397
- PyUnstable_TryIncRef(PyObject *op __attribute__((__unused__)))
381
+ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
398
382
  {
399
383
  #ifdef Py_GIL_DISABLED
400
384
  return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-NetworkExtension
3
- Version: 11.1
3
+ Version: 12.0
4
4
  Summary: Wrappers for the framework NetworkExtension on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -23,14 +23,16 @@ Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
24
  Classifier: Programming Language :: Python :: 3.13
25
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
26
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
27
29
  Classifier: Programming Language :: Objective C
28
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
31
  Classifier: Topic :: Software Development :: User Interfaces
30
32
  Requires-Python: >=3.9
31
33
  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-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
34
36
  Dynamic: author
35
37
  Dynamic: author-email
36
38
  Dynamic: classifier
@@ -0,0 +1,22 @@
1
+ from PyObjCTools.TestSupport import TestCase, min_os_level
2
+ import NetworkExtension
3
+
4
+
5
+ class TestNEDNSSettings(TestCase):
6
+ def test_enum_types(self):
7
+ self.assertIsEnumType(NetworkExtension.NEDNSProtocol)
8
+
9
+ def testConstants(self):
10
+ self.assertEqual(NetworkExtension.NEDNSProtocolCleartext, 1)
11
+ self.assertEqual(NetworkExtension.NEDNSProtocolTLS, 2)
12
+ self.assertEqual(NetworkExtension.NEDNSProtocolHTTPS, 3)
13
+
14
+ @min_os_level("10.11")
15
+ def test_methods10_11(self):
16
+ self.assertResultIsBOOL(NetworkExtension.NEDNSSettings.matchDomainsNoSearch)
17
+ self.assertArgIsBOOL(NetworkExtension.NEDNSSettings.setMatchDomainsNoSearch_, 0)
18
+
19
+ @min_os_level("26.0")
20
+ def test_methods26_0(self):
21
+ self.assertResultIsBOOL(NetworkExtension.NEDNSSettings.allowFailover)
22
+ self.assertArgIsBOOL(NetworkExtension.NEDNSSettings.setAllowFailover_, 0)
@@ -86,3 +86,7 @@ class TestNERelayManager(TestCase):
86
86
  def test_methods15_4(self):
87
87
  self.assertResultIsBOOL(NetworkExtension.NERelayManager.isUIToggleEnabled)
88
88
  self.assertArgIsBOOL(NetworkExtension.NERelayManager.setUIToggleEnabled_, 0)
89
+
90
+ @min_os_level("26.0")
91
+ def test_methods26_0(self):
92
+ self.assertResultIsBOOL(NetworkExtension.NERelayManager.isDNSFailoverAllowed)
@@ -0,0 +1,10 @@
1
+ from PyObjCTools.TestSupport import TestCase
2
+ import NetworkExtension
3
+
4
+
5
+ class TestNEURLFilter(TestCase):
6
+ def test_constants(self):
7
+ self.assertIsEnumType(NetworkExtension.NEURLFilterVerdict)
8
+ self.assertEqual(NetworkExtension.NEURLFilterVerdictUnknown, 1)
9
+ self.assertEqual(NetworkExtension.NEURLFilterVerdictAllow, 2)
10
+ self.assertEqual(NetworkExtension.NEURLFilterVerdictDeny, 3)
@@ -62,6 +62,11 @@ class TestNEVPNProtocolIKEv2(TestCase):
62
62
  self.assertEqual(NetworkExtension.NEVPNIKEv2TLSVersion1_1, 2)
63
63
  self.assertEqual(NetworkExtension.NEVPNIKEv2TLSVersion1_2, 3)
64
64
 
65
+ self.assertIsEnumType(NetworkExtension.NEVPNIKEv2PostQuantumKeyExchangeMethod)
66
+ self.assertEqual(NetworkExtension.NEVPNIKEv2PostQuantumKeyExchangeMethodNone, 0)
67
+ self.assertEqual(NetworkExtension.NEVPNIKEv2PostQuantumKeyExchangeMethod36, 36)
68
+ self.assertEqual(NetworkExtension.NEVPNIKEv2PostQuantumKeyExchangeMethod37, 37)
69
+
65
70
  @min_os_level("10.11")
66
71
  def testMethods(self):
67
72
  self.assertResultIsBOOL(
@@ -102,3 +107,13 @@ class TestNEVPNProtocolIKEv2(TestCase):
102
107
  NetworkExtension.NEVPNIKEv2PPKConfiguration.setIsMandatory_,
103
108
  0,
104
109
  )
110
+
111
+ @min_os_level("26.0")
112
+ def testMethods26_0(self):
113
+ self.assertResultIsBOOL(
114
+ NetworkExtension.NEVPNProtocolIKEv2.allowPostQuantumKeyExchangeFallback
115
+ )
116
+ self.assertArgIsBOOL(
117
+ NetworkExtension.NEVPNProtocolIKEv2.setAllowPostQuantumKeyExchangeFallback_,
118
+ 0,
119
+ )