Skip to content

Instantly share code, notes, and snippets.

View tmdroid's full-sized avatar

Daniel Bejan tmdroid

View GitHub Profile
@tmdroid
tmdroid / KeyPinStore.java
Created June 23, 2019 13:30 — forked from ibnux/KeyPinStore.java
SSL Pinning Android using CloudFLare SSL
package your.package;
import android.content.Context;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManagerFactory;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyManagementException;