Plugin for check SSL Pinning on request HTTP.
Checks the equality between the known SHA-1 fingerprint and the SHA-1 of the target server.
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
###Params
- serveurUrl :
String
- headerHttp :
Map<String, String>
- allowedSHA1Fingerprint :
List<String>
- timeout :
int
###Usage :
await SslPinningPlugin.check(serverURL: url, headerHttp : new Map(), allowedSHA1Fingerprint: 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.