Searched refs:KEY_NAME (Results 1 – 3 of 3) sorted by relevance
56 private static final String KEY_NAME = "my_key"; field in MainActivity102 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt()148 keyGenerator.init(new KeyGenParameterSpec.Builder(KEY_NAME, in createKey()
58 public static final String KEY_NAME = "my_key"; field in MainActivity143 PrivateKey key = (PrivateKey) mKeyStore.getKey(KEY_NAME, null); in initSignature()184 new KeyGenParameterSpec.Builder(KEY_NAME, in createKeyPair()
197 PublicKey publicKey = keyStore.getCertificate(MainActivity.KEY_NAME).getPublicKey(); in enroll()