/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStore3DESCipherSpi.java | 105 if (!KeyProperties.KEY_ALGORITHM_3DES.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 107 "Unsupported key algorithm: " + key.getAlgorithm() + ". Only " + in initKey() 211 if (!"DESede".equalsIgnoreCase(params.getAlgorithm())) { in initAlgorithmSpecificParameters() 213 "Unsupported AlgorithmParameters algorithm: " + params.getAlgorithm() in initAlgorithmSpecificParameters()
|
D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 131 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()
|
D | AndroidKeyStoreRSASignatureSpi.java | 140 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 141 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm() in initKey()
|
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 132 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()
|
D | AndroidKeyStoreKeyFactorySpi.java | 105 "Obtaining RSAPublicKeySpec not supported for " + key.getAlgorithm() + " " in engineGetKeySpec() 117 "Obtaining ECPublicKeySpec not supported for " + key.getAlgorithm() + " " in engineGetKeySpec()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 151 if (!KeyProperties.KEY_ALGORITHM_EC.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 152 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm() in initKey()
|
D | AndroidKeyStoreSpi.java | 304 String keyAlgorithm = key.getAlgorithm(); in getLegacyKeyProtectionParameter() 489 key.getAlgorithm())); in setPrivateKeyEntry() 651 KeyProperties.KeyAlgorithm.toKeymasterSecretKeyAlgorithm(key.getAlgorithm()); in setSecretKeyEntry() 662 KeyProperties.KeyAlgorithm.toKeymasterDigest(key.getAlgorithm()); in setSecretKeyEntry() 666 + key.getAlgorithm()); in setSecretKeyEntry() 680 + " supported for HMAC key algorithm " + key.getAlgorithm()); in setSecretKeyEntry() 1109 original.getAlgorithm(), original.getEncoded()); in getPublicKey()
|
D | AndroidKeyStoreKey.java | 46 public String getAlgorithm() { in getAlgorithm() method in AndroidKeyStoreKey
|
D | AndroidKeyStoreRSACipherSpi.java | 361 if (!KeyProperties.KEY_ALGORITHM_RSA.equalsIgnoreCase(key.getAlgorithm())) { in initKey() 362 throw new InvalidKeyException("Unsupported key algorithm: " + key.getAlgorithm() in initKey()
|
D | AndroidKeyStoreCipherSpiBase.java | 603 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()
|
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/ |
D | KeyDerivationParamsTest.java | 40 assertEquals(KeyDerivationParams.ALGORITHM_SHA256, keyDerivationParams.getAlgorithm()); in createSha256Params_setsAlgorithm() 55 assertEquals(KeyDerivationParams.ALGORITHM_SHA256, keyDerivationParams.getAlgorithm()); in writeToParcel_writesAlgorithm()
|
D | KeyChainProtectionParamsTest.java | 59 assertEquals(KeyDerivationParams.ALGORITHM_SHA256, keyDerivationParams.getAlgorithm()); in build_setsKeyDerivationParams() 89 assertEquals(KeyDerivationParams.ALGORITHM_SHA256, keyDerivationParams.getAlgorithm()); in writeToParcel_writesKeyDerivationParams()
|
D | KeyChainSnapshotTest.java | 92 assertEquals(KeyDerivationParams.ALGORITHM_SHA256, keyDerivationParams.getAlgorithm()); in build_setsKeyChainProtectionParams() 159 assertEquals(KeyDerivationParams.ALGORITHM_SHA256, keyDerivationParams.getAlgorithm()); in writeToParcel_writesKeyChainProtectionParams()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | ParcelUtilTest.java | 63 assertEquals(writeKey.getAlgorithm(), readKey.getAlgorithm()); in readWriteValidPrivateKey()
|
/frameworks/base/core/java/android/privacy/ |
D | DifferentialPrivacyConfig.java | 33 String getAlgorithm(); in getAlgorithm() method
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGeneratorTest.java | 52 assertThat(secretKey.getAlgorithm()).isEqualTo(KEY_ALGORITHM); in generate_generatesAESKeys()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SP800Derive.java | 46 m.init(new SecretKeySpec(mKeyBytes, m.getAlgorithm())); in getMac()
|
/frameworks/base/core/java/android/privacy/internal/longitudinalreporting/ |
D | LongitudinalReportingConfig.java | 81 public String getAlgorithm() { in getAlgorithm() method in LongitudinalReportingConfig
|
/frameworks/base/core/java/android/privacy/internal/rappor/ |
D | RapporConfig.java | 75 public String getAlgorithm() { in getAlgorithm() method in RapporConfig
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | KeyDerivationParams.java | 119 public @KeyDerivationAlgorithm int getAlgorithm() { in getAlgorithm() method in KeyDerivationParams
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ParcelUtil.java | 59 dest.writeString(key.getAlgorithm()); in writePrivateKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySnapshotStorageTest.java | 193 assertEquals(b.getAlgorithm(), a.getAlgorithm()); in assertKeyDerivationParamsAreEqual()
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeAuthPayload.java | 101 SecretKeySpec prfKey = new SecretKeySpec(prfKeyBytes, prfMac.getAlgorithm()); in signWithPrf()
|
/frameworks/base/core/tests/privacytests/src/android/privacy/ |
D | RapporEncoderTest.java | 58 assertEquals("Rappor", encoder.getConfig().getAlgorithm()); in testRapporEncoder_config()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTaskTest.java | 325 assertThat(keyDerivationParams.getAlgorithm()).isEqualTo( in run_useScryptToHashPasswordInTestMode() 360 assertThat(keyDerivationParams.getAlgorithm()).isEqualTo( in run_useSha256ToHashPatternInProdMode() 396 assertThat(keyDerivationParams.getAlgorithm()).isEqualTo( in run_useScryptToHashPasswordInProdMode() 528 assertThat(keyDerivationParams.getAlgorithm()).isEqualTo( in run_sendsEncryptedKeysIfAvailableToSync_withRawPublicKey()
|