Searched refs:keySpecClass (Results 1 – 2 of 2) sorted by relevance
44 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpecClass) in engineGetKeySpec() argument57 if (keySpecClass == null) { in engineGetKeySpec()59 } else if (KeyInfo.class.equals(keySpecClass)) { in engineGetKeySpec()77 } else if (X509EncodedKeySpec.class.equals(keySpecClass)) { in engineGetKeySpec()87 } else if (PKCS8EncodedKeySpec.class.equals(keySpecClass)) { in engineGetKeySpec()96 } else if (RSAPublicKeySpec.class.equals(keySpecClass)) { in engineGetKeySpec()109 } else if (ECPublicKeySpec.class.equals(keySpecClass)) { in engineGetKeySpec()122 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName()); in engineGetKeySpec()
49 @SuppressWarnings("rawtypes") Class keySpecClass) throws InvalidKeySpecException { in engineGetKeySpec() argument50 if (keySpecClass == null) { in engineGetKeySpec()57 if (SecretKeySpec.class.isAssignableFrom(keySpecClass)) { in engineGetKeySpec()61 if (!KeyInfo.class.equals(keySpecClass)) { in engineGetKeySpec()62 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName()); in engineGetKeySpec()