Home
last modified time | relevance | path

Searched refs:keyAlgorithm (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV4Verifier.java109 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(signatureAlgorithmId); in verifySigner() local
117 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
H A DApkSignatureSchemeV2Verifier.java263 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner() local
271 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
H A DApkSignatureSchemeV3Verifier.java277 String keyAlgorithm = getSignatureAlgorithmJcaKeyAlgorithm(bestSigAlgorithm); in verifySigner() local
285 KeyFactory.getInstance(keyAlgorithm) in verifySigner()
/aosp12/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreSpi.java278 String keyAlgorithm = key.getAlgorithm(); in getLegacyKeyProtectionParameter() local
280 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()
/aosp12/packages/apps/KeyChain/src/com/android/keychain/
H A DKeyChainActivity.java388 String keyAlgorithm = cert.getPublicKey().getAlgorithm(); in shouldPresentCertificate() local
389 Log.i(TAG, String.format("Certificate key algorithm: %s", keyAlgorithm)); in shouldPresentCertificate()
390 if (!mKeyTypes.isEmpty() && !mKeyTypes.contains(keyAlgorithm)) { in shouldPresentCertificate()
/aosp12/build/make/tools/signapk/src/com/android/signapk/
H A DSignApk.java175 String keyAlgorithm = cert.getPublicKey().getAlgorithm(); in getJcaSignatureAlgorithmForOta() local
176 if ("RSA".equalsIgnoreCase(keyAlgorithm)) { in getJcaSignatureAlgorithmForOta()
178 } else if ("EC".equalsIgnoreCase(keyAlgorithm)) { in getJcaSignatureAlgorithmForOta()
181 throw new IllegalArgumentException("Unsupported key algorithm: " + keyAlgorithm); in getJcaSignatureAlgorithmForOta()