Searched refs:cipher (Results 1 – 2 of 2) sorted by relevance
112 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey() local113 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()116 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()
245 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey() local246 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()249 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()