Created
August 24, 2017 11:39
-
-
Save s1monw1/0cef47d184a973db6f736a0564b3f2ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val fac = socketFactory { | |
trustManager { | |
if (System.currentTimeMillis() % 2 == 0L) { | |
open("any") withPass "123456" beingA "jks" | |
} else { | |
open("other") withPass "123456" beingA "jks" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment