Searched refs:keyAlgorithm (Results 1 – 6 of 6) sorted by relevance
109 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(signatureAlgorithmId); in verifySigner() local117 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
263 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner() local271 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
277 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner() local285 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
278 String keyAlgorithm = key.getAlgorithm(); in getLegacyKeyProtectionParameter() local280 if (KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(keyAlgorithm)) { in getLegacyKeyProtectionParameter()293 } else if (KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(keyAlgorithm)) { in getLegacyKeyProtectionParameter()322 throw new KeyStoreException("Unsupported key algorithm: " + keyAlgorithm); in getLegacyKeyProtectionParameter()
388 String keyAlgorithm = cert.getPublicKey().getAlgorithm(); in shouldPresentCertificate() local389 Log.i(TAG, String.format("Certificate key algorithm: %s", keyAlgorithm)); in shouldPresentCertificate()390 if (!mKeyTypes.isEmpty() && !mKeyTypes.contains(keyAlgorithm)) { in shouldPresentCertificate()
175 String keyAlgorithm = cert.getPublicKey().getAlgorithm(); in getJcaSignatureAlgorithmForOta() local176 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getJcaSignatureAlgorithmForOta()178 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getJcaSignatureAlgorithmForOta()181 throw new IllegalArgumentException("Unsupported key algorithm: " + keyAlgorithm); in getJcaSignatureAlgorithmForOta()