SSL Pinning Plugin Flutter
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.
For help getting started with Flutter, view our online
documentation.
For help on editing plugin code, view the documentation.
String
* requiredHttpMethod
enum [HttpMethod.Get || HttpMethod.Head] (default : HttpMethod.Get) * requiredMap<String, String>
SHA
enum [SHA.SHA1 || SHA.SHA256] * requiredList<String>
vint
* requiredawait SslPinningPlugin.check(serverURL: url, httpMethod: HttpMethod.Get, headerHttp : new Map(), sha: SHA.SHA1, allowedSHAFingerprints: new List<String>, timeout : 50);
If an exception, return the stacktrace on String value.