API
Variables
TalsecConfig
TalsecConfigSpecifies configuration for your app. See the table below for detailed description of the attributes.
appBundleIds
[String]
List of Bundle IDs for the app
["com.talsec.freerasp.demoapp"]
appTeamId
String
Apple Team ID for the signing of the app
"M8AK35..."
watcherMailAddress
String?
The value is automatically used for Security Reports, Product Updates, and Talsec Portal updates, learn more.
Mail has a strict form '[email protected]'.
isProd
Bool?
Defaults to true when undefined. If you want to use the Dev version to make the development process easier, set the parameter to false. Make sure that you have the Release version in the production (i.e. isProd set to true)!
true
Classes
public class Talsec
public class TalsecMethods
public static func start(config: TalsecRuntime.TalsecConfig)
The method used to start freeRASP's audit.
public static func blockScreenCapture(enable: Bool, window: UIWindow)
The method blocks the screen capture in specific UIWindow.
public static func isScreenCaptureBlocked(in window: UIWindow) -> Bool
The method returns whether the screen capture is blocked in specific UIWindow.
public static func storeExternalId(externalId: String)
The method stores an externalId into the logs for data collection.
Protocols
public protocol SecurityThreatHandler
public protocol SecurityThreatHandlerMethods
func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
Notifier about detected threats.
public protocol TalsecRuntume.RaspExecutionState
public protocol TalsecRuntume.RaspExecutionState Methods
func onAllChecksFinished()
Notifier about finished threats
Enums
public enum SecurityThreat : String, Codable, CaseIterable, Equatable
public enum SecurityThreat : String, Codable, CaseIterable, EquatableProvides all types of threats detected by freeRASP. Read more about the meaning of the threats in the wiki.
Cases
signaturejailbreakdebuggerruntimeManipulationpasscodesimulatormissingSecureEnclavesystemVPNdeviceChangedeviceIDunofficialStorescreenshotscreenRecording
Last updated

