Searched refs:EXPECTED_ALGORITHMS (Results 1 – 7 of 7) sorted by relevance
49 private static String[] EXPECTED_ALGORITHMS = { field in SecretKeyFactoryTest60 EXPECTED_ALGORITHMS = ObjectArrays.concat(EXPECTED_ALGORITHMS, "DESede");75 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()94 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()146 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyWithNullKeyThrowsInvalidKeyException()160 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyRejectsNonAndroidKeystoreKeys()175 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyAcceptsAndroidKeystoreKeys()201 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateSecretWithNullSpecThrowsInvalidKeySpecException()215 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateSecretRejectsSecretKeySpec()229 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateSecretRejectsKeyInfo()
53 static String[] EXPECTED_ALGORITHMS = { field in KeyGeneratorTest69 EXPECTED_ALGORITHMS = ObjectArrays.concat(EXPECTED_ALGORITHMS, "DESede");100 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()113 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateWithoutInitThrowsIllegalStateException()127 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithKeySizeThrowsUnsupportedOperationException()144 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithKeySizeAndSecureRandomThrowsUnsupportedOperationException()160 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithNullAlgParamsThrowsInvalidAlgorithmParameterException()176 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithNullAlgParamsAndSecureRandomThrowsInvalidAlgorithmParameterException()200 (useStrongbox ? EXPECTED_STRONGBOX_ALGORITHMS : EXPECTED_ALGORITHMS)) { in testInitWithAlgParamsAndNullSecureRandomHelper()218 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnsupportedAlgParamsTypeThrowsInvalidAlgorithmParameterException()[all …]
63 private static final String[] EXPECTED_ALGORITHMS = { field in KeyFactoryTest79 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()98 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()156 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyRejectsKeyInfo()175 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePrivateKeyRejectsTransparentKeySpecAndEncodedKeySpec()209 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyAcceptsX509EncodedKeySpec()229 for (String algorithm : EXPECTED_ALGORITHMS) { in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec()261 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyWithNullKeyThrowsInvalidKeyException()275 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyRejectsNonAndroidKeystoreKeys()290 for (String algorithm : EXPECTED_ALGORITHMS) { in testTranslateKeyAcceptsAndroidKeystoreKeys()[all …]
97 private static String[] EXPECTED_ALGORITHMS = BASE_EXPECTED_ALGORITHMS; field in CipherTest108 EXPECTED_ALGORITHMS = ObjectArrays328 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()344 for (String algorithm : EXPECTED_ALGORITHMS) { in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()381 for (String algorithm : EXPECTED_ALGORITHMS) { in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()407 for (String algorithm : EXPECTED_ALGORITHMS) { in testEmptyPlaintextEncryptsAndDecrypts()458 for (String algorithm : EXPECTED_ALGORITHMS) { in testEncryptsAndDecryptsInterrupted()510 for (String algorithm : EXPECTED_ALGORITHMS) { in testEncryptsAndDecryptsUsingCipherStreams()706 for (String algorithm : EXPECTED_ALGORITHMS) { in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()751 for (String algorithm : EXPECTED_ALGORITHMS) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()[all …]
48 private static final String[] EXPECTED_ALGORITHMS = { field in MacTest197 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()212 for (String algorithm : EXPECTED_ALGORITHMS) { in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()229 for (String algorithm : EXPECTED_ALGORITHMS) { in testMacGeneratedForEmptyMessage()250 for (String algorithm : EXPECTED_ALGORITHMS) { in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()271 for (String algorithm : EXPECTED_ALGORITHMS) { in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()293 for (String algorithm : EXPECTED_ALGORITHMS) { in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()318 for (String algorithm : EXPECTED_ALGORITHMS) { in testSmallMsgKat()353 for (String algorithm : EXPECTED_ALGORITHMS) { in testLargeMsgKat()374 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitFailsWhenNotAuthorizedToSign()[all …]
118 private static final String[] EXPECTED_ALGORITHMS = { field in KeyPairGeneratorTest149 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList()219 for (String algorithm : EXPECTED_ALGORITHMS) { in testDefaultKeySize()234 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownBlockModeFails()248 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownEncryptionPaddingFails()262 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownSignaturePaddingFails()276 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitWithUnknownDigestFails()290 for (String algorithm : EXPECTED_ALGORITHMS) { in testInitRandomizedEncryptionRequiredButViolatedFails()319 for (String algorithm : EXPECTED_ALGORITHMS) { in testGenerateHonorsRequestedAuthorizationsHelper()
2297 for (String algorithm : KeyGeneratorTest.EXPECTED_ALGORITHMS) { in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()2399 for (String algorithm : KeyGeneratorTest.EXPECTED_ALGORITHMS) { in testKeyStore_ImportSupportedSizes_HMAC()