[foundation] Update for Xcode 11 beta 5 (#6754)
This commit is contained in:
Родитель
f8948ed708
Коммит
4d6a9f505e
|
@ -7,6 +7,10 @@ namespace Security {
|
||||||
|
|
||||||
// Security.framework/Headers/SecureTransport.h
|
// Security.framework/Headers/SecureTransport.h
|
||||||
// untyped enum
|
// untyped enum
|
||||||
|
[Deprecated (PlatformName.MacOSX, 10,15, message: "Use 'TlsProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'TlsProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.WatchOS, 6,0, message: "Use 'TlsProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.TvOS, 13,0, message: "Use 'TlsProtocolVersion' instead.")]
|
||||||
public enum SslProtocol {
|
public enum SslProtocol {
|
||||||
Unknown = 0,
|
Unknown = 0,
|
||||||
Ssl_3_0 = 2,
|
Ssl_3_0 = 2,
|
||||||
|
@ -28,6 +32,16 @@ namespace Security {
|
||||||
All = 6,
|
All = 6,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
|
||||||
|
public enum TlsProtocolVersion : /* uint16_t */ ushort {
|
||||||
|
Tls10 = 769,
|
||||||
|
Tls11 = 770,
|
||||||
|
Tls12 = 771,
|
||||||
|
Tls13 = 772,
|
||||||
|
Dtls10 = 65279,
|
||||||
|
Dtls12 = 65277,
|
||||||
|
}
|
||||||
|
|
||||||
// subset of OSStatus (int)
|
// subset of OSStatus (int)
|
||||||
public enum SslStatus {
|
public enum SslStatus {
|
||||||
Success = 0, // errSecSuccess in SecBase.h
|
Success = 0, // errSecSuccess in SecBase.h
|
||||||
|
|
|
@ -5457,17 +5457,20 @@ namespace Foundation
|
||||||
[Export ("eligibleForPrediction")]
|
[Export ("eligibleForPrediction")]
|
||||||
bool EligibleForPrediction { [Bind ("isEligibleForPrediction")] get; set; }
|
bool EligibleForPrediction { [Bind ("isEligibleForPrediction")] get; set; }
|
||||||
|
|
||||||
[Watch (5, 0), NoTV, NoMac, iOS (12, 0)]
|
[Watch (5, 0), NoTV, iOS (12, 0)]
|
||||||
|
[Mac (10,15)]
|
||||||
[NullAllowed, Export ("persistentIdentifier")]
|
[NullAllowed, Export ("persistentIdentifier")]
|
||||||
string PersistentIdentifier { get; set; }
|
string PersistentIdentifier { get; set; }
|
||||||
|
|
||||||
[Watch (5,0), NoTV, NoMac, iOS (12,0)]
|
[Watch (5,0), NoTV, iOS (12,0)]
|
||||||
|
[Mac (10,15)]
|
||||||
[Static]
|
[Static]
|
||||||
[Async]
|
[Async]
|
||||||
[Export ("deleteSavedUserActivitiesWithPersistentIdentifiers:completionHandler:")]
|
[Export ("deleteSavedUserActivitiesWithPersistentIdentifiers:completionHandler:")]
|
||||||
void DeleteSavedUserActivities (string[] persistentIdentifiers, Action handler);
|
void DeleteSavedUserActivities (string[] persistentIdentifiers, Action handler);
|
||||||
|
|
||||||
[Watch (5,0), NoTV, NoMac, iOS (12,0)]
|
[Watch (5,0), NoTV, iOS (12,0)]
|
||||||
|
[Mac (10,15)]
|
||||||
[Static]
|
[Static]
|
||||||
[Async]
|
[Async]
|
||||||
[Export ("deleteAllSavedUserActivitiesWithCompletionHandler:")]
|
[Export ("deleteAllSavedUserActivitiesWithCompletionHandler:")]
|
||||||
|
@ -7420,12 +7423,28 @@ namespace Foundation
|
||||||
[Export ("connectionProxyDictionary", ArgumentSemantic.Copy)]
|
[Export ("connectionProxyDictionary", ArgumentSemantic.Copy)]
|
||||||
NSDictionary ConnectionProxyDictionary { get; set; }
|
NSDictionary ConnectionProxyDictionary { get; set; }
|
||||||
|
|
||||||
|
[Deprecated (PlatformName.MacOSX, 10,15, message: "Use 'TlsMinimumSupportedProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'TlsMinimumSupportedProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.WatchOS, 6,0, message: "Use 'TlsMinimumSupportedProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.TvOS, 13,0, message: "Use 'TlsMinimumSupportedProtocolVersion' instead.")]
|
||||||
[Export ("TLSMinimumSupportedProtocol")]
|
[Export ("TLSMinimumSupportedProtocol")]
|
||||||
SslProtocol TLSMinimumSupportedProtocol { get; set; }
|
SslProtocol TLSMinimumSupportedProtocol { get; set; }
|
||||||
|
|
||||||
|
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
|
||||||
|
[Export ("TLSMinimumSupportedProtocolVersion", ArgumentSemantic.Assign)]
|
||||||
|
TlsProtocolVersion TlsMinimumSupportedProtocolVersion { get; set; }
|
||||||
|
|
||||||
|
[Deprecated (PlatformName.MacOSX, 10,15, message: "Use 'TlsMaximumSupportedProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'TlsMaximumSupportedProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.WatchOS, 6,0, message: "Use 'TlsMaximumSupportedProtocolVersion' instead.")]
|
||||||
|
[Deprecated (PlatformName.TvOS, 13,0, message: "Use 'TlsMaximumSupportedProtocolVersion' instead.")]
|
||||||
[Export ("TLSMaximumSupportedProtocol")]
|
[Export ("TLSMaximumSupportedProtocol")]
|
||||||
SslProtocol TLSMaximumSupportedProtocol { get; set; }
|
SslProtocol TLSMaximumSupportedProtocol { get; set; }
|
||||||
|
|
||||||
|
[Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)]
|
||||||
|
[Export ("TLSMaximumSupportedProtocolVersion", ArgumentSemantic.Assign)]
|
||||||
|
TlsProtocolVersion TlsMaximumSupportedProtocolVersion { get; set; }
|
||||||
|
|
||||||
[Export ("HTTPShouldUsePipelining")]
|
[Export ("HTTPShouldUsePipelining")]
|
||||||
bool HttpShouldUsePipelining { get; set; }
|
bool HttpShouldUsePipelining { get; set; }
|
||||||
|
|
||||||
|
@ -11993,6 +12012,12 @@ namespace Foundation
|
||||||
[iOS (11,0)]
|
[iOS (11,0)]
|
||||||
[Notification]
|
[Notification]
|
||||||
NSString ThermalStateDidChangeNotification { get; }
|
NSString ThermalStateDidChangeNotification { get; }
|
||||||
|
|
||||||
|
#region NSProcessInfoPlatform (NSProcessInfo)
|
||||||
|
[Watch (6, 0), TV (13, 0), Mac (10, 15), iOS (13, 0)]
|
||||||
|
[Export ("macCatalystApp")]
|
||||||
|
bool IsMacCatalystApplication { [Bind ("isMacCatalystApp")] get; }
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
[NoWatch][NoTV][NoiOS]
|
[NoWatch][NoTV][NoiOS]
|
||||||
|
|
|
@ -43,6 +43,7 @@ namespace Extrospection {
|
||||||
{ "SecTrustResultType", "SecTrustResult" },
|
{ "SecTrustResultType", "SecTrustResult" },
|
||||||
{ "SKErrorCode", "SKError" },
|
{ "SKErrorCode", "SKError" },
|
||||||
{ "SSReadingListErrorCode", "SSReadingListError" },
|
{ "SSReadingListErrorCode", "SSReadingListError" },
|
||||||
|
{ "tls_protocol_version_t", "TlsProtocolVersion" },
|
||||||
{ "UIDataDetectorTypes", "UIDataDetectorType" },
|
{ "UIDataDetectorTypes", "UIDataDetectorType" },
|
||||||
{ "UIControlEvents", "UIControlEvent" },
|
{ "UIControlEvents", "UIControlEvent" },
|
||||||
{ "UITableViewCellAccessoryType", "UITableViewCellAccessory" },
|
{ "UITableViewCellAccessoryType", "UITableViewCellAccessory" },
|
||||||
|
|
|
@ -28,12 +28,3 @@
|
||||||
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
||||||
!missing-type! NSOrderedCollectionChange not bound
|
!missing-type! NSOrderedCollectionChange not bound
|
||||||
!missing-type! NSOrderedCollectionDifference not bound
|
!missing-type! NSOrderedCollectionDifference not bound
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMinimumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMaximumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMinimumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!missing-selector! NSProcessInfo::isMacCatalystApp not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMaximumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMinimumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMaximumSupportedProtocolVersion not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMinimumSupportedProtocolVersion not bound
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMaximumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
!missing-enum! tls_ciphersuite_group_t not bound
|
!missing-enum! tls_ciphersuite_group_t not bound
|
||||||
!missing-enum! tls_ciphersuite_t not bound
|
!missing-enum! tls_ciphersuite_t not bound
|
||||||
!missing-enum! tls_protocol_version_t not bound
|
|
||||||
!missing-field! kSecUseDataProtectionKeychain not bound
|
!missing-field! kSecUseDataProtectionKeychain not bound
|
||||||
!missing-field! kSecUseItemList not bound
|
!missing-field! kSecUseItemList not bound
|
||||||
!missing-pinvoke! sec_identity_access_certificates is not bound
|
!missing-pinvoke! sec_identity_access_certificates is not bound
|
||||||
|
|
|
@ -28,17 +28,3 @@
|
||||||
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
||||||
!missing-type! NSOrderedCollectionChange not bound
|
!missing-type! NSOrderedCollectionChange not bound
|
||||||
!missing-type! NSOrderedCollectionDifference not bound
|
!missing-type! NSOrderedCollectionDifference not bound
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMaximumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMinimumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMaximumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMinimumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!missing-selector! +NSUserActivity::deleteAllSavedUserActivitiesWithCompletionHandler: not bound
|
|
||||||
!missing-selector! +NSUserActivity::deleteSavedUserActivitiesWithPersistentIdentifiers:completionHandler: not bound
|
|
||||||
!missing-selector! NSProcessInfo::isMacCatalystApp not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMaximumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMinimumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMaximumSupportedProtocolVersion not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMinimumSupportedProtocolVersion not bound
|
|
||||||
!missing-selector! NSUserActivity::persistentIdentifier not bound
|
|
||||||
!missing-selector! NSUserActivity::setPersistentIdentifier: not bound
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
!missing-enum! tls_ciphersuite_group_t not bound
|
!missing-enum! tls_ciphersuite_group_t not bound
|
||||||
!missing-enum! tls_ciphersuite_t not bound
|
!missing-enum! tls_ciphersuite_t not bound
|
||||||
!missing-enum! tls_protocol_version_t not bound
|
|
||||||
!missing-field! kSecPropertyTypeArray not bound
|
!missing-field! kSecPropertyTypeArray not bound
|
||||||
!missing-field! kSecPropertyTypeNumber not bound
|
!missing-field! kSecPropertyTypeNumber not bound
|
||||||
!missing-field! kSecUseDataProtectionKeychain not bound
|
!missing-field! kSecUseDataProtectionKeychain not bound
|
||||||
|
|
|
@ -28,12 +28,3 @@
|
||||||
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
||||||
!missing-type! NSOrderedCollectionChange not bound
|
!missing-type! NSOrderedCollectionChange not bound
|
||||||
!missing-type! NSOrderedCollectionDifference not bound
|
!missing-type! NSOrderedCollectionDifference not bound
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMaximumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMinimumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMaximumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMinimumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!missing-selector! NSProcessInfo::isMacCatalystApp not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMaximumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMinimumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMaximumSupportedProtocolVersion not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMinimumSupportedProtocolVersion not bound
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
!missing-enum! tls_ciphersuite_group_t not bound
|
!missing-enum! tls_ciphersuite_group_t not bound
|
||||||
!missing-enum! tls_ciphersuite_t not bound
|
!missing-enum! tls_ciphersuite_t not bound
|
||||||
!missing-enum! tls_protocol_version_t not bound
|
|
||||||
!missing-field! kSecUseDataProtectionKeychain not bound
|
!missing-field! kSecUseDataProtectionKeychain not bound
|
||||||
!missing-field! kSecUseItemList not bound
|
!missing-field! kSecUseItemList not bound
|
||||||
!missing-pinvoke! sec_identity_access_certificates is not bound
|
!missing-pinvoke! sec_identity_access_certificates is not bound
|
||||||
|
|
|
@ -28,12 +28,3 @@
|
||||||
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
|
||||||
!missing-type! NSOrderedCollectionChange not bound
|
!missing-type! NSOrderedCollectionChange not bound
|
||||||
!missing-type! NSOrderedCollectionDifference not bound
|
!missing-type! NSOrderedCollectionDifference not bound
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMaximumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::setTLSMinimumSupportedProtocol: missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMaximumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!deprecated-attribute-missing! NSURLSessionConfiguration::TLSMinimumSupportedProtocol missing a [Deprecated] attribute
|
|
||||||
!missing-selector! NSProcessInfo::isMacCatalystApp not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMaximumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::setTLSMinimumSupportedProtocolVersion: not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMaximumSupportedProtocolVersion not bound
|
|
||||||
!missing-selector! NSURLSessionConfiguration::TLSMinimumSupportedProtocolVersion not bound
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
!missing-enum! tls_ciphersuite_group_t not bound
|
!missing-enum! tls_ciphersuite_group_t not bound
|
||||||
!missing-enum! tls_ciphersuite_t not bound
|
!missing-enum! tls_ciphersuite_t not bound
|
||||||
!missing-enum! tls_protocol_version_t not bound
|
|
||||||
!missing-field! kSecUseDataProtectionKeychain not bound
|
!missing-field! kSecUseDataProtectionKeychain not bound
|
||||||
!missing-field! kSecUseItemList not bound
|
!missing-field! kSecUseItemList not bound
|
||||||
!missing-pinvoke! sec_identity_access_certificates is not bound
|
!missing-pinvoke! sec_identity_access_certificates is not bound
|
||||||
|
|
Загрузка…
Ссылка в новой задаче