BaseKeyFactorySpi should throw InvalidKeySpecException, not RuntimeExceptions

Change-Id: I54d724c11840444c08c2e584700245e41d6ef948
4 files changed