Searched refs:epkInfo (Results 1 – 2 of 2) sorted by relevance
99 EncryptedPrivateKeyInfo epkInfo; in decryptPrivateKey() local101 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()
231 EncryptedPrivateKeyInfo epkInfo; in decryptPrivateKey() local233 epkInfo = new EncryptedPrivateKeyInfo(encryptedPrivateKey); in decryptPrivateKey()241 SecretKeyFactory skFactory = SecretKeyFactory.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()244 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey()245 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()248 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()