Home
last modified time | relevance | path

Searched refs:getAlgorithm (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java131 if (!KeyProperties.KEY_ALGORITHM_AES.equalsIgnoreCase(key.getAlgorithm())) { in initKey()
133 "Unsupported key algorithm: " + key.getAlgorithm() + ". Only " + in initKey()
200 if (!"AES".equalsIgnoreCase(params.getAlgorithm())) { in initAlgorithmSpecificParameters()
202 "Unsupported AlgorithmParameters algorithm: " + params.getAlgorithm() in initAlgorithmSpecificParameters()
DAndroidKeyStoreRSASignatureSpi.java140 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) { in initKey()
141 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm() in initKey()
DAndroidKeyStoreAuthenticatedAESCipherSpi.java132 if (!"GCM".equalsIgnoreCase(params.getAlgorithm())) { in initAlgorithmSpecificParameters()
134 "Unsupported AlgorithmParameters algorithm: " + params.getAlgorithm() in initAlgorithmSpecificParameters()
279 if (!KeyProperties.KEY_ALGORITHM_AES.equalsIgnoreCase(key.getAlgorithm())) { in initKey()
281 "Unsupported key algorithm: " + key.getAlgorithm() + ". Only " + in initKey()
DAndroidKeyStoreKeyFactorySpi.java105 "Obtaining RSAPublicKeySpec not supported for " + key.getAlgorithm() + " " in engineGetKeySpec()
117 "Obtaining ECPublicKeySpec not supported for " + key.getAlgorithm() + " " in engineGetKeySpec()
DAndroidKeyStoreECDSASignatureSpi.java151 if (!KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(key.getAlgorithm())) { in initKey()
152 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm() in initKey()
DAndroidKeyStoreSpi.java289 String keyAlgorithm = key.getAlgorithm(); in getLegacyKeyProtectionParameter()
470 key.getAlgorithm())); in setPrivateKeyEntry()
632 KeyProperties.KeyAlgorithm.toKeymasterSecretKeyAlgorithm(key.getAlgorithm()); in setSecretKeyEntry()
643 KeyProperties.KeyAlgorithm.toKeymasterDigest(key.getAlgorithm()); in setSecretKeyEntry()
647 + key.getAlgorithm()); in setSecretKeyEntry()
661 + " supported for HMAC key algorithm " + key.getAlgorithm()); in setSecretKeyEntry()
1019 original.getAlgorithm(), original.getEncoded()); in getPublicKey()
DAndroidKeyStoreKey.java46 public String getAlgorithm() { in getAlgorithm() method in AndroidKeyStoreKey
DAndroidKeyStoreRSACipherSpi.java361 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) { in initKey()
362 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm() in initKey()
DAndroidKeyStoreCipherSpiBase.java603 SecretKeyFactory keyFactory = SecretKeyFactory.getInstance(key.getAlgorithm()); in engineWrap()
620 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm()); in engineWrap()
636 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm()); in engineWrap()
DAndroidKeyStoreProvider.java201 String keyAlgorithm = publicKey.getAlgorithm(); in getAndroidKeyStorePrivateKey()
DAndroidKeyStoreKeyPairGeneratorSpi.java513 if (!mJcaKeyAlgorithm.equalsIgnoreCase(result.getPrivate().getAlgorithm())) { in loadKeystoreKeyPair()
516 + result.getPrivate().getAlgorithm() + " vs " + mJcaKeyAlgorithm); in loadKeystoreKeyPair()
/frameworks/base/wifi/tests/src/android/net/wifi/
DParcelUtilTest.java62 assertEquals(writeKey.getAlgorithm(), readKey.getAlgorithm()); in readWriteValidPrivateKey()
DWifiEnterpriseConfigTest.java390 assertEquals(clientKey.getAlgorithm(), actualClientKey.getAlgorithm()); in parcelConfigWithKeyAndCerts()
/frameworks/base/keystore/tests/src/android/security/keystore/
DAndroidKeyPairGeneratorTest.java335 assertEquals(keyType, pubKey.getAlgorithm()); in assertKeyPairCorrect()
353 assertEquals(keyType, privKey.getAlgorithm()); in assertKeyPairCorrect()
381 pubKey.getAlgorithm(), x509userCert.getPublicKey().getAlgorithm()); in assertKeyPairCorrect()
388 x509userCert.getPublicKey().getAlgorithm(), in assertKeyPairCorrect()
/frameworks/base/core/java/android/webkit/
DTokenBindingService.java52 public abstract String getAlgorithm(); in getAlgorithm() method in TokenBindingService.TokenBindingKey
/frameworks/base/wifi/java/android/net/wifi/
DParcelUtil.java59 dest.writeString(key.getAlgorithm()); in writePrivateKey()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DWiFiKeyManager.java50 mAliases.put(issuer, new String[]{alias, cert.getPublicKey().getAlgorithm()}); in enableClientAuth()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java68 return KeyChain.isBoundKeyAlgorithm(key.getAlgorithm()); in isHardwareBackedKey()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java1176 return TextUtils.equals(key1.getAlgorithm(), key2.getAlgorithm()) && in isPrivateKeyEquals()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java533 "Unexpected output size of " + md.getAlgorithm() + " digest: " in computeContentDigests()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java3713 final byte[] pkcs8Key = KeyFactory.getInstance(privKey.getAlgorithm()) in installKeyPair()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2208 m.init(new SecretKeySpec(keyBytes, m.getAlgorithm()));
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt44305 method public final java.lang.String getAlgorithm();
44325 method public final java.lang.String getAlgorithm();
44492 method public abstract java.lang.String getAlgorithm();
44509 method public final java.lang.String getAlgorithm();
44543 method public java.lang.String getAlgorithm();
44689 method public final java.lang.String getAlgorithm();
44829 method public final java.lang.String getAlgorithm();
44862 method public java.lang.String getAlgorithm();
44900 method public final java.lang.String getAlgorithm();
44956 method public java.lang.String getAlgorithm();
[all …]
/frameworks/base/api/
Dcurrent.txt58120 method public final java.lang.String getAlgorithm();
58140 method public final java.lang.String getAlgorithm();
58329 method public abstract java.lang.String getAlgorithm();
58346 method public final java.lang.String getAlgorithm();
58380 method public java.lang.String getAlgorithm();
58536 method public final java.lang.String getAlgorithm();
58695 method public final java.lang.String getAlgorithm();
58728 method public java.lang.String getAlgorithm();
58767 method public final java.lang.String getAlgorithm();
58823 method public java.lang.String getAlgorithm();
[all …]
Dsystem-current.txt51993 method public abstract java.lang.String getAlgorithm();
62028 method public final java.lang.String getAlgorithm();
62048 method public final java.lang.String getAlgorithm();
62237 method public abstract java.lang.String getAlgorithm();
62254 method public final java.lang.String getAlgorithm();
62288 method public java.lang.String getAlgorithm();
62444 method public final java.lang.String getAlgorithm();
62603 method public final java.lang.String getAlgorithm();
62636 method public java.lang.String getAlgorithm();
62675 method public final java.lang.String getAlgorithm();
[all …]