Home
last modified time | relevance | path

Searched refs:keystoreProvider (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java864 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local
865 assertNotNull(keystoreProvider); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
891 if (keystoreProvider == encryptionProvider) { in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
959 cipher = Cipher.getInstance(algorithm, keystoreProvider); in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
977 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider() local
978 assertNotNull(keystoreProvider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()
994 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()
1021 if (keystoreProvider == decryptionProvider) { in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()
1039 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMaxSizedPlaintextSupported() local
1040 assertNotNull(keystoreProvider); in testMaxSizedPlaintextSupported()
[all …]
DMacTest.java341 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() local
342 assertNotNull(keystoreProvider); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
357 algorithm, keystoreProvider, keystoreKey, message, macBytes); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
DSignatureTest.java570 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() local
571 assertNotNull(keystoreProvider); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
583 Signature signature = Signature.getInstance(sigAlgorithm, keystoreProvider); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider()
616 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() local
617 assertNotNull(keystoreProvider); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()
645 sigAlgorithm, keystoreProvider, keystorePublicKey, message, sigBytes); in testSignatureGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore()