Awesome Open Source
Awesome Open Source

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* required
  • httpMethod : HttpMethod enum [HttpMethod.Get || HttpMethod.Head] (default : HttpMethod.Get) * required
  • headerHttp : Map<String, String>
  • sha : SHA enum [SHA.SHA1 || SHA.SHA256] * required
  • allowedSHAFingerprints : List<String> v
  • timeout : int * required

Usage :

await SslPinningPlugin.check(serverURL: url, httpMethod: HttpMethod.Get, 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.

Alternatives To Ssl_pinning_plugin
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Plugin (113,352
Dart (61,955
String (41,884
Flutter (31,999
Ssl (7,682
Sha (3,274
Enum (2,687
Flutter Plugin (1,028
Ssl Pinning (58