Obsoleted fields:
[Obsolete ("Use DeviceOwnerAuthenticationWithBiometricsOrWatch enum value instead.")]
OwnerAuthenticationWithBiometricsOrWatch = 4,
Added values:
DeviceOwnerAuthenticationWithBiometricsOrWatch = 4,
DeviceOwnerAuthenticationWithWristDetection = 5,
public class LAAuthenticationRequirement : Foundation.NSObject {
// constructors
public LAAuthenticationRequirement ();
protected LAAuthenticationRequirement (Foundation.NSObjectFlag t);
protected LAAuthenticationRequirement (ObjCRuntime.NativeHandle handle);
// properties
public static LAAuthenticationRequirement BiometryCurrentSetRequirement { get; }
public static LAAuthenticationRequirement BiometryRequirement { get; }
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public static LAAuthenticationRequirement DefaultRequirement { get; }
// methods
public static LAAuthenticationRequirement GetBiometryRequirement (LABiometryFallbackRequirement fallback);
}
public class LABiometryFallbackRequirement : Foundation.NSObject {
// constructors
public LABiometryFallbackRequirement ();
protected LABiometryFallbackRequirement (Foundation.NSObjectFlag t);
protected LABiometryFallbackRequirement (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public static LABiometryFallbackRequirement DefaultRequirement { get; }
public static LABiometryFallbackRequirement DevicePasscodeRequirement { get; }
}
public class LAPersistedRight : LocalAuthentication.LARight {
// constructors
protected LAPersistedRight (Foundation.NSObjectFlag t);
protected LAPersistedRight (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual LAPrivateKey Key { get; }
public virtual LASecret Secret { get; }
}
public class LAPrivateKey : Foundation.NSObject {
// constructors
protected LAPrivateKey (Foundation.NSObjectFlag t);
protected LAPrivateKey (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual LAPublicKey PublicKey { get; }
// methods
public virtual bool CanDecrypt (Security.SecKeyAlgorithm algorithm);
public virtual bool CanExchangeKeys (Security.SecKeyAlgorithm algorithm);
public virtual bool CanSign (Security.SecKeyAlgorithm algorithm);
public virtual void Decrypt (Foundation.NSData data, Security.SecKeyAlgorithm algorithm, LAPrivateKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> DecryptAsync (Foundation.NSData data, Security.SecKeyAlgorithm algorithm);
public virtual void ExchangeKeys (Foundation.NSData publicKey, Security.SecKeyAlgorithm algorithm, Foundation.NSDictionary parameters, LAPrivateKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ExchangeKeysAsync (Foundation.NSData publicKey, Security.SecKeyAlgorithm algorithm, Foundation.NSDictionary parameters);
public virtual void Sign (Foundation.NSData data, Security.SecKeyAlgorithm algorithm, LAPrivateKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> SignAsync (Foundation.NSData data, Security.SecKeyAlgorithm algorithm);
}
public sealed delegate LAPrivateKeyCompletionHandler : System.MulticastDelegate {
// constructors
public LAPrivateKeyCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData data, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData data, Foundation.NSError error);
}
public class LAPublicKey : Foundation.NSObject {
// constructors
protected LAPublicKey (Foundation.NSObjectFlag t);
protected LAPublicKey (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
// methods
public virtual bool CanEncrypt (Security.SecKeyAlgorithm algorithm);
public virtual bool CanVerify (Security.SecKeyAlgorithm algorithm);
public virtual void Encrypt (Foundation.NSData data, Security.SecKeyAlgorithm algorithm, LAPublicKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> EncryptAsync (Foundation.NSData data, Security.SecKeyAlgorithm algorithm);
public virtual void ExportBytes (LAPublicKeyCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ExportBytesAsync ();
public virtual void Verify (Foundation.NSData signedData, Foundation.NSData signature, Security.SecKeyAlgorithm algorithm, LAPublicKeyVerifyDataCompletionHandler handler);
public virtual System.Threading.Tasks.Task VerifyAsync (Foundation.NSData signedData, Foundation.NSData signature, Security.SecKeyAlgorithm algorithm);
}
public sealed delegate LAPublicKeyCompletionHandler : System.MulticastDelegate {
// constructors
public LAPublicKeyCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData data, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData data, Foundation.NSError error);
}
public sealed delegate LAPublicKeyVerifyDataCompletionHandler : System.MulticastDelegate {
// constructors
public LAPublicKeyVerifyDataCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSError error);
}
public class LARight : Foundation.NSObject {
// constructors
public LARight ();
protected LARight (Foundation.NSObjectFlag t);
public LARight (LAAuthenticationRequirement requirement);
protected LARight (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public virtual LARightState State { get; }
public virtual nint Tag { get; set; }
// methods
public virtual void Authorize (string localizedReason, LARightAuthorizeCompletionHandler handler);
public virtual System.Threading.Tasks.Task AuthorizeAsync (string localizedReason);
public virtual void CheckCanAuthorize (LARightAuthorizeCompletionHandler handler);
public virtual System.Threading.Tasks.Task CheckCanAuthorizeAsync ();
public virtual void Deauthorize (System.Action handler);
public virtual System.Threading.Tasks.Task DeauthorizeAsync ();
}
public sealed delegate LARightAuthorizeCompletionHandler : System.MulticastDelegate {
// constructors
public LARightAuthorizeCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSError error);
}
[Serializable]
public enum LARightState {
Authorized = 2,
Authorizing = 1,
NotAuthorized = 3,
Unknown = 0,
}
public class LARightStore : Foundation.NSObject {
// constructors
protected LARightStore (Foundation.NSObjectFlag t);
protected LARightStore (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
public static LARightStore SharedStore { get; }
// methods
public virtual void Get (string identifier, LARightStoreCompletionHandler handler);
public virtual System.Threading.Tasks.Task<LAPersistedRight> GetAsync (string identifier);
public virtual void Remove (LAPersistedRight right, LARightStoreRemoveRightCompletionHandler handler);
public virtual void Remove (string identifier, LARightStoreRemoveRightCompletionHandler handler);
public virtual void RemoveAll (LARightStoreRemoveRightCompletionHandler handler);
public virtual System.Threading.Tasks.Task RemoveAllAsync ();
public virtual System.Threading.Tasks.Task RemoveAsync (LAPersistedRight right);
public virtual System.Threading.Tasks.Task RemoveAsync (string identifier);
public virtual void Save (LARight right, string identifier, LARightStoreCompletionHandler handler);
public virtual void Save (LARight right, string identifier, Foundation.NSData secret, LARightStoreCompletionHandler handler);
public virtual System.Threading.Tasks.Task<LAPersistedRight> SaveAsync (LARight right, string identifier);
public virtual System.Threading.Tasks.Task<LAPersistedRight> SaveAsync (LARight right, string identifier, Foundation.NSData secret);
}
public sealed delegate LARightStoreCompletionHandler : System.MulticastDelegate {
// constructors
public LARightStoreCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (LAPersistedRight right, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (LAPersistedRight right, Foundation.NSError error);
}
public sealed delegate LARightStoreRemoveRightCompletionHandler : System.MulticastDelegate {
// constructors
public LARightStoreRemoveRightCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSError error);
}
public class LASecret : Foundation.NSObject {
// constructors
protected LASecret (Foundation.NSObjectFlag t);
protected LASecret (ObjCRuntime.NativeHandle handle);
// properties
public override ObjCRuntime.NativeHandle ClassHandle { get; }
// methods
public virtual void LoadData (LASecretCompletionHandler handler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> LoadDataAsync ();
}
public sealed delegate LASecretCompletionHandler : System.MulticastDelegate {
// constructors
public LASecretCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSData data, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (Foundation.NSData data, Foundation.NSError error);
}