Skip to content
SSL Pinning Plugin Flutter
Dart Swift Kotlin Ruby Objective-C
Branch: master
Clone or download
us3soap DART 2
* Add Compatibility with
* Refactoring name project

Related : #2
Latest commit dd8953f Jul 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android DART 2 Jul 29, 2019
example DART 2 Jul 29, 2019
ios DART 2 Jul 29, 2019
lib DART 2 Jul 29, 2019
res/values SSL_PINNING_PLUGIN for Flutter May 29, 2018
.gitignore Changelog Feb 1, 2019
.packages DART 2 Jul 29, 2019
CHANGELOG.md DART 2 Jul 29, 2019
LICENSE DART 2 Jul 29, 2019
README.md #1 Change allowedSHAFingerprint to allowedSHAFingerprints to specify … Feb 1, 2019
pubspec.yaml DART 2 Jul 29, 2019
ssl_pinning_plugin.iml DART 2 Jul 29, 2019
ssl_pinning_plugin_android.iml SSL_PINNING_PLUGIN for Flutter May 29, 2018

README.md

ssl_pinning_plugin

Plugin for check SSL Pinning on request HTTP.

Checks the equality between the known SHA-1 or SHA-256 fingerprint and the SHA-1 or SHA-256 of the target server.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

Check

###Params

  • serveurUrl : String
  • headerHttp : Map<String, String>
  • sha : SHA enum [SHA.SHA1 || SHA.SHA256]
  • allowedSHAFingerprints : List<String>
  • timeout : int

###Usage :

await SslPinningPlugin.check(serverURL: url, headerHttp : new Map(), sha: SHA.SHA1, allowedSHAFingerprints: new List<String>, timeout : 50);

###Return :

  • On success, return String "CONNECTION_SECURE"
  • On error, return String "CONNECTION_INSECURE"

If an exception, return the stacktrace on String value.

You can’t perform that action at this time.