Searched refs:keyAlgorithm (Results 1 – 4 of 4) sorted by relevance
190 @NonNull @KeyProperties.KeyAlgorithmEnum String keyAlgorithm, in getAndroidKeyStorePublicKey() argument194 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getAndroidKeyStorePublicKey()198 "Failed to obtain " + keyAlgorithm + " KeyFactory", e); in getAndroidKeyStorePublicKey()202 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePublicKey()204 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePublicKey()208 + keyAlgorithm); in getAndroidKeyStorePublicKey()215 String keyAlgorithm = publicKey.getAlgorithm(); in getAndroidKeyStorePrivateKey() local216 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePrivateKey()219 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getAndroidKeyStorePrivateKey()224 + keyAlgorithm); in getAndroidKeyStorePrivateKey()
304 String keyAlgorithm = key.getAlgorithm(); in getLegacyKeyProtectionParameter() local306 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getLegacyKeyProtectionParameter()319 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getLegacyKeyProtectionParameter()348 throw new KeyStoreException("Unsupported key algorithm: " + keyAlgorithm); in getLegacyKeyProtectionParameter()
269 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner() local277 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
282 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner() local290 KeyFactory.getInstance(keyAlgorithm) in verifySigner()