MethodChannelTrustPinSDK class

An implementation of TrustPinSDKPlatform that uses method channels to communicate with native platform code.

Inheritance

Constructors

MethodChannelTrustPinSDK.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchCertificate(String host, {int port = 443, String? instanceId}) Future<String>
Fetches the TLS leaf certificate from host via the method channel.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLogLevel(String logLevel, {String? instanceId}) Future<void>
Sets the logging verbosity level via the method channel.
override
setup(String organizationId, String projectId, String publicKey, {Uri? configurationURL, String mode = 'strict', String? instanceId}) Future<void>
Initializes the TrustPin SDK with the given credentials via the method channel.
override
toString() String
A string representation of this object.
inherited
verify(String domain, String certificate, {String? instanceId}) Future<void>
Verifies a PEM certificate against configured pins via the method channel.
override

Operators

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