senseCryptUtil

class senseCryptUtil
  • Get the device ID. This is unique per iOS device and app.

    Declaration

    Swift

    static func getDeviceId() -> String

    Return Value

    The device ID.

  • performInit() Asynchronous

    Initializes the SenseCrypt SDK.

    Declaration

    Swift

    static func performInit() async -> Result<Bool, Error>

    Return Value

    A result indicating if the initialization was successful or an error.

  • Liveness SDK will only be initialized for offline SDK

    Declaration

    Swift

    static func parseSensePrintBytes(qrCodeDecodedBytes: Data) throws -> SensePrintInfo?
  • Declaration

    Swift

    static func getLicenseInfo() throws -> LicenseInfo
  • Verifies a password against a SensePrint.

    Throws

    An error if verification fails.

    Declaration

    Swift

    static func verifyPassword(sensePrintBytes: Data, password: String) throws -> Bool

    Parameters

    sensePrintBytes

    The SensePrint data.

    password

    The password to verify.

    Return Value

    A boolean indicating if the password is verified.

  • Declaration

    Swift

    static func isLiveFace(imageBytes: Data) -> Bool