capacitor-ssl-pinning
Advanced tools
Comparing version
@@ -39,3 +39,3 @@ { | ||
{ | ||
"text": "{\n /**\n * The subject of the certificate\n * @platform Android\n */\n subject?: string;\n /**\n * The issuer of the certificate\n * @platform Android\n */\n issuer?: string;\n /**\n * The valid from date of the certificate\n * @platform Android\n */\n validFrom?: string;\n /**\n * The valid to date of the certificate\n * @platform Android\n */\n validTo?: string;\n /**\n * The expected fingerprint of the certificate\n * @platform Android\n */\n expectedFingerprint?: string;\n /**\n * The fingerprint of the certificate\n * @platform Android\n */\n fingerprint?: string;\n /**\n * Whether the fingerprint matches the expected fingerprint\n */\n fingerprintMatched?: boolean;\n /**\n * The error that occurred while checking the certificate\n */\n error?: string;\n}", | ||
"text": "{\n /**\n * The subject of the certificate\n * @platform Android\n */\n subject?: string;\n /**\n * The issuer of the certificate\n * @platform Android\n */\n issuer?: string;\n /**\n * The valid from date of the certificate\n * @platform Android\n */\n validFrom?: string;\n /**\n * The valid to date of the certificate\n * @platform Android\n */\n validTo?: string;\n /**\n * The expected fingerprint of the certificate\n */\n expectedFingerprint?: string;\n /**\n * The fingerprint of the certificate\n */\n actualFingerprint?: string;\n /**\n * Whether the fingerprint matches the expected fingerprint\n */\n fingerprintMatched?: boolean;\n /**\n * The error that occurred while checking the certificate\n */\n error?: string;\n}", | ||
"complexTypes": [] | ||
@@ -42,0 +42,0 @@ } |
@@ -28,3 +28,2 @@ export declare type SSLCertificateCheckerOptions = { | ||
* The expected fingerprint of the certificate | ||
* @platform Android | ||
*/ | ||
@@ -34,5 +33,4 @@ expectedFingerprint?: string; | ||
* The fingerprint of the certificate | ||
* @platform Android | ||
*/ | ||
fingerprint?: string; | ||
actualFingerprint?: string; | ||
/** | ||
@@ -39,0 +37,0 @@ * Whether the fingerprint matches the expected fingerprint |
{ | ||
"name": "capacitor-ssl-pinning", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Check/pin SSL certificates", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -7,2 +7,4 @@ # Capacitor SSL Pinning | ||
Note: There are different ways of expressing the fingerprint, some may use colons and others may not. This plugin normalizes the fingerprint to lowercase and removes colons for comparison. While it expects uppercase, it should not make a difference if you use colons or not. However it is recommended to use the format from the docs. | ||
[](https://hits.dwyl.com/mchl18/capacitor-ssl-pinning) | ||
@@ -9,0 +11,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32385
2.27%291
3.56%155
1.31%