Searched refs:EXPECTED_ALGORITHMS (Results 1 – 6 of 6) sorted by relevance
57 private static String[] EXPECTED_ALGORITHMS = { field in SecretKeyFactoryTest68 EXPECTED_ALGORITHMS = ObjectArrays.concat(EXPECTED_ALGORITHMS, "DESede");84 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()104 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()157 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyWithNullKeyThrowsInvalidKeyException()172 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyRejectsNonAndroidKeystoreKeys()188 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyAcceptsAndroidKeystoreKeys()215 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateSecretWithNullSpecThrowsInvalidKeySpecException()230 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateSecretRejectsSecretKeySpec()245 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateSecretRejectsKeyInfo()
75 private static final String[] EXPECTED_ALGORITHMS = { field in KeyFactoryTest96 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()123 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()182 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()202 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec()237 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec()258 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec()291 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyWithNullKeyThrowsInvalidKeyException()306 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyRejectsNonAndroidKeystoreKeys()322 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyAcceptsAndroidKeystoreKeys()[all …]
69 static String[] EXPECTED_ALGORITHMS = { field in KeyGeneratorTest85 EXPECTED_ALGORITHMS = ObjectArrays.concat(EXPECTED_ALGORITHMS, "DESede");121 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()135 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateWithoutInitThrowsIllegalStateException()150 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithKeySizeThrowsUnsupportedOperationException()168 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()185 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithNullAlgParamsThrowsInvalidAlgorithmParameterException()202 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException()227 (useStrongbox ? EXPECTED_STRONGBOX_ALGORITHMS : EXPECTED_ALGORITHMS)) { in testInitWithAlgParamsAndNullSecureRandomHelper()246 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnsupportedAlgParamsTypeThrowsInvalidAlgorithmParameterException()[all …]
133 private static String[] EXPECTED_ALGORITHMS = BASE_EXPECTED_ALGORITHMS; field in CipherTest144 EXPECTED_ALGORITHMS = ObjectArrays368 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()385 for (String algorithm : EXPECTED_ALGORITHMS) { in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()423 for (String algorithm : EXPECTED_ALGORITHMS) { in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()450 for (String algorithm : EXPECTED_ALGORITHMS) { in testEmptyPlaintextEncryptsAndDecrypts()502 for (String algorithm : EXPECTED_ALGORITHMS) { in testEncryptsAndDecryptsInterrupted()555 for (String algorithm : EXPECTED_ALGORITHMS) { in testEncryptsAndDecryptsUsingCipherStreams()821 for (String algorithm : EXPECTED_ALGORITHMS) { in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()867 for (String algorithm : EXPECTED_ALGORITHMS) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()[all …]
142 private static final String[] EXPECTED_ALGORITHMS = { field in KeyPairGeneratorTest177 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()261 for (String algorithm : EXPECTED_ALGORITHMS) { in testDefaultKeySize()279 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownBlockModeFails()294 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownEncryptionPaddingFails()309 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownSignaturePaddingFails()324 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownDigestFails()339 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitRandomizedEncryptionRequiredButViolatedFails()369 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateHonorsRequestedAuthorizationsHelper()
2444 for (String algorithm : KeyGeneratorTest.EXPECTED_ALGORITHMS) { in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2548 for (String algorithm : KeyGeneratorTest.EXPECTED_ALGORITHMS) { in testKeyStore_ImportSupportedSizes_HMAC()