Home
last modified time | relevance | path

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

/aosp12/build/make/tools/signtos/
H A 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()
/aosp12/system/extras/verity/
H A DUtils.java140 EncryptedPrivateKeyInfo epkInfo; in decryptPrivateKey() local
142 epkInfo = new EncryptedPrivateKeyInfo(encryptedPrivateKey); in decryptPrivateKey()
150 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
154 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
155 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()
158 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()
/aosp12/build/make/tools/signapk/src/com/android/signapk/
H A DSignApk.java234 EncryptedPrivateKeyInfo epkInfo; in decryptPrivateKey() local
236 epkInfo = new EncryptedPrivateKeyInfo(encryptedPrivateKey); in decryptPrivateKey()
244 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
247 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()
248 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()
251 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()