summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-02-13 11:05:01 +0100
committerFup Duck <fupduck@sacknagel.com>2018-02-13 11:05:01 +0100
commit710fdd182dc1a470c949f50701d3aace4d67134c (patch)
tree2e765aa4e0357868d3d8c1fc6f2e42255630dd33 /app/src/main/java
parentfd9b6bd4069ab73eed6f3dfc697d1589ab5c9874 (diff)
8827 - add mockConfigHelpper
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/Provider.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/Provider.java b/app/src/main/java/se/leap/bitmaskclient/Provider.java
index a2f50dd9..b3362409 100644
--- a/app/src/main/java/se/leap/bitmaskclient/Provider.java
+++ b/app/src/main/java/se/leap/bitmaskclient/Provider.java
@@ -420,6 +420,10 @@ public final class Provider implements Parcelable {
return certificatePinEncoding;
}
+ public String getCaCertFingerprint() {
+ return getCertificatePinEncoding() + ":" + getCertificatePin();
+ }
+
/**
* resets everything except the main url
*/