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
public class PinManager implements X509TrustManager { | |
/* Get a default keystore instance or specify your keystore type e.g., BKS */ | |
KeyStore ks = KeyStore.getInstance(KeyStore. getDefaultType()); | |
private String keyAlgorithm; | |
private PublicKey storedPubKey; | |
private String serial; | |
String alias = "myCert"; |