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()
247 Cipher cipher = Cipher.getInstance(epkInfo.getAlgName()); in decryptPrivateKey() local248 cipher.init(Cipher.DECRYPT_MODE, key, epkInfo.getAlgParameters()); in decryptPrivateKey()251 return epkInfo.getKeySpec(cipher); in decryptPrivateKey()