public final class SecAccessControlCreateFlags
extends java.lang.Object
[@constant] kSecAccessControlUserPresence User presence policy using biometry or Passcode. Biometry does not have to be available or enrolled. Item is still accessible by Touch ID even if fingers are added or removed. Item is still accessible by Face ID if user is re-enrolled.
[@constant] kSecAccessControlBiometryAny Constraint: Touch ID (any finger) or Face ID. Touch ID or Face ID must be available. With Touch ID at least one finger must be enrolled. With Face ID user has to be enrolled. Item is still accessible by Touch ID even if fingers are added or removed. Item is still accessible by Face ID if user is re-enrolled.
[@constant] kSecAccessControlTouchIDAny Deprecated, please use kSecAccessControlBiometryAny instead.
[@constant] kSecAccessControlBiometryCurrentSet Constraint: Touch ID from the set of currently enrolled fingers. Touch ID must be available and at least one finger must be enrolled. When fingers are added or removed, the item is invalidated. When Face ID is re-enrolled this item is invalidated.
[@constant] kSecAccessControlTouchIDCurrentSet Deprecated, please use kSecAccessControlBiometryCurrentSet instead.
[@constant] kSecAccessControlDevicePasscode Constraint: Device passcode
[@constant] kSecAccessControlWatch Constraint: Watch
[@constant] kSecAccessControlOr Constraint logic operation: when using more than one constraint, at least one of them must be satisfied.
[@constant] kSecAccessControlAnd Constraint logic operation: when using more than one constraint, all must be satisfied.
[@constant] kSecAccessControlPrivateKeyUsage Create access control for private key operations (i.e. sign operation)
[@constant] kSecAccessControlApplicationPassword Security: Application provided password for data encryption key generation. This is not a constraint but additional item encryption mechanism.
| Modifier and Type | Field and Description |
|---|---|
static long |
And |
static long |
ApplicationPassword |
static long |
BiometryAny |
static long |
BiometryCurrentSet |
static long |
DevicePasscode |
static long |
Or |
static long |
PrivateKeyUsage |
static long |
TouchIDAny |
static long |
TouchIDCurrentSet |
static long |
UserPresence |
public static final long UserPresence
public static final long TouchIDAny
public static final long TouchIDCurrentSet
public static final long DevicePasscode
public static final long Or
public static final long And
public static final long PrivateKeyUsage
public static final long ApplicationPassword
public static final long BiometryAny
public static final long BiometryCurrentSet