Home
last modified time | relevance | path

Searched refs:Provider (Results 1 – 18 of 18) sorted by relevance

/cts/tests/libcore/wycheproof/src/android/libcore/cts/wycheproof/
DConscryptTest.java33 import com.google.security.wycheproof.WycheproofRunner.Provider;
62 @Provider(ProviderType.CONSCRYPT)
66 private static final List<java.security.Provider> previousProviders = new ArrayList<>();
77 for (java.security.Provider p : Security.getProviders()) { in tearDown()
80 for (java.security.Provider p : previousProviders) { in tearDown()
/cts/tests/libcore/wycheproof-bc/src/android/libcore/cts/wycheproof/
DBouncyCastleTest.java36 import com.google.security.wycheproof.WycheproofRunner.Provider;
68 @Provider(ProviderType.BOUNCY_CASTLE)
72 private static final List<java.security.Provider> previousProviders = new ArrayList<>();
84 for (java.security.Provider p : Security.getProviders()) { in tearDown()
87 for (java.security.Provider p : previousProviders) { in tearDown()
DBouncyCastleSupportProvider.java19 import java.security.Provider;
27 public class BouncyCastleSupportProvider extends Provider {
/cts/tests/tests/keystore/src/android/keystore/cts/
DRSACipherTest.java21 import java.security.Provider;
40 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus()
73 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus()
101 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus()
129 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus()
159 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus()
191 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus()
222 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingWithZeroMessage()
DSignatureTest.java24 import java.security.Provider;
25 import java.security.Provider.Service;
339 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
366 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning()
382 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying()
397 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testValidSignatureGeneratedForEmptyMessage()
426 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEmptySignatureDoesNotVerify()
449 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
480 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
488 Provider verificationProvider = null; in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
[all …]
DMacTest.java25 import java.security.Provider;
26 import java.security.Provider.Service;
193 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
210 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider()
227 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedForEmptyMessage()
248 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore()
269 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
291 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
294 Provider signingProvider = null; in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
468 Provider provider, in assertMacVerifiesOneShot()
DCipherTest.java38 import java.security.Provider;
44 import java.security.Provider.Service;
316 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
334 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting()
371 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting()
396 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEmptyPlaintextEncryptsAndDecrypts()
446 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEncryptsAndDecryptsInterrupted()
542 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired()
603 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()
648 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
[all …]
DRSASignatureTest.java20 import java.security.Provider;
56 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMaxMessageSizeWhenNoDigestUsed()
107 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSmallKeyRejected()
DSecretKeyFactoryTest.java31 import java.security.Provider;
34 import java.security.Provider.Service;
71 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
DKeyFactoryTest.java35 import java.security.Provider;
47 import java.security.Provider.Service;
75 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
DKeyStoreTest.java39 import java.security.Provider;
165 Provider[] providers = Security.getProviders(); in keyStores()
166 for (Provider provider : providers) { in keyStores()
167 Set<Provider.Service> services = provider.getServices(); in keyStores()
168 for (Provider.Service service : services) { in keyStores()
442 Provider[] providers = Security.getProviders(); in test_KeyStore_create()
443 for (Provider provider : providers) { in test_KeyStore_create()
444 Set<Provider.Service> services = provider.getServices(); in test_KeyStore_create()
445 for (Provider.Service service : services) { in test_KeyStore_create()
490 Provider provider = Security.getProvider(providerName); in test_KeyStore_getInstance()
[all …]
DKeyGeneratorTest.java32 import java.security.Provider;
36 import java.security.Provider.Service;
95 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
DKeyPairGeneratorTest.java37 import java.security.Provider;
41 import java.security.Provider.Service;
142 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
DBlockCipherTestBase.java34 import java.security.Provider;
129 Provider expectedProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testGetProvider()
/cts/tests/tests/security/src/android/security/cts/
DX509CertChainBuildingTest.java29 import java.security.Provider;
176 private static X509TrustManager getTrustManager(KeyStore ks, Provider p) throws Exception { in getTrustManager()
200 Provider[] providers = Security.getProviders("TrustManagerFactory.PKIX"); in assertExactPath()
203 for (Provider p : providers) { in assertExactPath()
/cts/hostsidetests/userspacereboot/testapps/BasicTestApp/src/com/android/cts/userspacereboot/basic/
DBasicUserspaceRebootTest.java121 public static class Provider extends ContentProvider { class in BasicUserspaceRebootTest
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DDownloadManagerTest.java39 import java.security.Provider;
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt122 private class Provider(context: Context, looper: Looper) : class
188 nc, lp, TEST_NETWORK_SCORE, conf, Provider(context, looper)) { in willExpectDisconnectOnce()