Searched refs:secretKey (Results 1 – 4 of 4) sorted by relevance
114 SecretKey secretKey; in encrypt() local116 secretKey = (SecretKey) ks.getKey(KEY_STORE_ALIAS, null); in encrypt()127 secretKey = kpg.generateKey(); in encrypt()131 cipher.init(Cipher.ENCRYPT_MODE, secretKey); in encrypt()
89 SecretKeySpec secretKey = new SecretKeySpec(keyBytes, getAlgorithmName()); in signBytes() local91 mMac.init(secretKey); in signBytes()
802 SecretKey secretKey = null; in getOrCreateSecretKey() local810 secretKey = secretKeyEntry.getSecretKey(); in getOrCreateSecretKey()828 secretKey = keyGenerator.generateKey(); in getOrCreateSecretKey()844 return secretKey; in getOrCreateSecretKey()
578 SecretKey secretKey = in desEncrypt() local582 des.init(Cipher.ENCRYPT_MODE, secretKey); in desEncrypt()