SecAccessControlCreateFlags Enum


Contains access control flags for creating keychain entries.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum SecAccessControlCreateFlags
type SecAccessControlCreateFlags = 


And 32768

An "And" operation applied to other flags.

ApplicationPassword -2147483648

Require an application password for access.

BiometryAny 2

Require any biometric for access.

BiometryCurrentSet 8

Require the currently set biometric for access.

DevicePasscode 16

Validation via the device passcode.

Or 16384

An "OR" operation applied to other flags.

PrivateKeyUsage 1073741824

Require a private key for access.

TouchIDAny 2

Developers should use BiometryAny instead.

TouchIDCurrentSet 8

Developers should use BiometryCurrentSet instead.

UserPresence 1

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

Applies to