Home
last modified time | relevance | path

Searched refs:epkInfo (Results 1 – 2 of 2) sorted by relevance

/build/make/tools/signtos/
DSignTos.java99 EncryptedPrivateKeyInfo epkInfo; in decryptPrivateKey() local
101 epkInfo = new EncryptedPrivateKeyInfo(encryptedPrivateKey); in decryptPrivateKey()
109 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
112 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
113 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()
116 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java232 EncryptedPrivateKeyInfo epkInfo; in decryptPrivateKey() local
234 epkInfo = new EncryptedPrivateKeyInfo(encryptedPrivateKey); in decryptPrivateKey()
242 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
245 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
246 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()
249 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()