Java tutorial
//package com.java2s; import java.security.KeyStore; public class Main { public static KeyStore androidKeyStore() { try { KeyStore keyStore = KeyStore.getInstance("AndroidKeyStore"); keyStore.load(null); return keyStore; } catch (Exception expt) { expt.printStackTrace(); throw new RuntimeException(expt); } } }