[security] Update for Xcode 12.2 beta 2 (#9812)

This commit is contained in:
Sebastien Pouliot 2020-10-07 21:45:10 -04:00 коммит произвёл GitHub
Родитель 95c929e487
Коммит 97b25bb56f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 17 добавлений и 4 удалений

Просмотреть файл

@ -449,9 +449,17 @@ namespace Security {
public enum SecAuthenticationUI {
NotSet = -1,
[Deprecated (PlatformName.MacOSX, 11,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.iOS, 14,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.TvOS, 14,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.WatchOS, 7,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Field ("kSecUseAuthenticationUIAllow")]
Allow,
[Deprecated (PlatformName.MacOSX, 11,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.iOS, 14,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.TvOS, 14,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.WatchOS, 7,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Field ("kSecUseAuthenticationUIFail")]
Fail,

Просмотреть файл

@ -725,11 +725,15 @@ namespace Security {
[Field ("kSecUseDataProtectionKeychain")]
IntPtr UseDataProtectionKeychain { get; }
#if !MONOMAC // Don't break compat API
[iOS (8,0)]
[Deprecated (PlatformName.MacOSX, 11,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.iOS, 14,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.TvOS, 14,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[Deprecated (PlatformName.WatchOS, 7,0, message: "Use 'LAContext.InteractionNotAllowed' instead.")]
[iOS (8,0)][Mac (10,10)]
[Field ("kSecUseOperationPrompt")]
IntPtr UseOperationPrompt { get; }
#if !MONOMAC // Don't break compat API
[Availability (Introduced = Platform.iOS_8_0, Deprecated = Platform.iOS_9_0)]
[Field ("kSecUseNoAuthenticationUI")]
IntPtr UseNoAuthenticationUI { get; }

Просмотреть файл

@ -887,7 +887,6 @@
!missing-field! kSecTransformTransformName not bound
!missing-field! kSecUseKeychain not bound
!missing-field! kSecUseNoAuthenticationUI not bound
!missing-field! kSecUseOperationPrompt not bound
!missing-field! kSecZLibEncoding not bound
!missing-field! oidAdCAIssuer not bound
!missing-field! oidAdOCSP not bound
@ -1465,3 +1464,6 @@
## helper
!extra-enum-value! Managed value -1 for SecAuthenticationType.Invalid not found in native headers
## xcode 12.2 / we do not have bindings for XPC
!missing-pinvoke! SecCodeCreateWithXPCMessage is not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-pinvoke! SecCodeCreateWithXPCMessage is not bound