Editar

Compartir a través de


SecAccessControlCreateFlags Enum

Definition

Contains access control flags for creating keychain entries.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum SecAccessControlCreateFlags
type SecAccessControlCreateFlags = 
Inheritance
SecAccessControlCreateFlags
Attributes

Fields

Name Value Description
ApplicationPassword -2147483648

Require an application password for access.

UserPresence 1

Requires the user to validate, either biometrically or via the device passcode.

BiometryAny 2

Require any biometric for access.

TouchIDAny 2

Developers should use BiometryAny instead.

BiometryCurrentSet 8

Require the currently set biometric for access.

TouchIDCurrentSet 8

Developers should use BiometryCurrentSet instead.

DevicePasscode 16

Validation via the device passcode.

Or 16384

An "OR" operation applied to other flags.

And 32768

An "And" operation applied to other flags.

PrivateKeyUsage 1073741824

Require a private key for access.

Applies to