ssl_pinning_plugin
SSL 憑證固定外掛 Flutter
- 星標
- 48
- 分支
- 35
- 最近推送(UTC)
- 2023年11月19日
- 專案狀態
- 已封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
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 :
HttpMethodenum [HttpMethod.Get || HttpMethod.Head] (default : HttpMethod.Get) * required - headerHttp :
Map<String, String> - sha :
SHAenum [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.
語言DartSwiftKotlinRubyHTMLObjective-C
分類
使用的依賴
依賴清單 1 項
- flutter
{"sdk":"flutter"}
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗