SecureBankKit class

Public facade for the SecureBankKit security plugin.

final kit = SecureBankKit.initialize(
  enableRootDetection: true,
  enablePinning: true,
  certificatePins: {'api.bank.com': ['sha256/AAAA...']},
);

final status = await kit.runSecurityCheck();
if (!status.isSecure) { /* handle */ }

Constructors

SecureBankKit.initialize({bool enableRootDetection = true, bool enablePinning = false, bool enableAppIntegrity = true, bool enableLogging = false, Map<String, List<String>> certificatePins = const {}})
Creates and returns a fully-wired SecureBankKit instance.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenshotProtection ScreenshotProtection
latefinal
secureStorage SecureStorage
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runSecurityCheck() Future<SecurityStatus>
Runs all enabled security checks and returns a SecurityStatus.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited