Skip to content

Instantly share code, notes, and snippets.

@alistairsykes
Last active March 23, 2020 14:38
Show Gist options
  • Save alistairsykes/e5c8fd2670514645df6cc851e81118cf to your computer and use it in GitHub Desktop.
Save alistairsykes/e5c8fd2670514645df6cc851e81118cf to your computer and use it in GitHub Desktop.
val builder = CertificatePinner.Builder()
.add("publicobject.com", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
.add("publicobject.com", "sha256/klO23nT2ehFDXCfx3eHTDRESMz3asj1muO+4aIdjiuY=")
.add("publicobject.com", "sha256/grX4Ta9HpZx6tSHkmCrvpApTQGo67CYDnvprLg5yRME=")
.add("publicobject.com", "sha256/lCppFqbkrlJ3EcVFAkeip0+44VaoJUymbnOaEUk7tEU=")
handleChallenge(builder.build())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment