Home
last modified time | relevance | path

Searched refs:getDigests (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java40 spec.getDigests(); in testDefaults()
85 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters()
177 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
179 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
232 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
233 spec.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues()
234 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaGetterReturnValues()
DKeyInfoTest.java89 String[] originalDigests = info.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
90 info.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues()
91 assertEquals(Arrays.asList(originalDigests), Arrays.asList(info.getDigests())); in testImmutabilityViaGetterReturnValues()
DKeyGenParameterSpecTest.java57 spec.getDigests(); in testDefaults()
116 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters()
236 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
238 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
301 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
302 spec.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues()
303 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaGetterReturnValues()
DKeyPairGeneratorTest.java350 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerateHonorsRequestedAuthorizationsHelper()
416 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec()
463 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec()
509 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec()
557 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_RSA_LegacySpec()
750 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_DefaultsHelper()
794 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getDigests())); in testGenerate_RSA_ModernSpec_DefaultsHelper()
850 List<String> actualDigests = new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
921 List<String> actualDigests = new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
991 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
[all …]
DKeyGeneratorTest.java437 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
446 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
715 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGenerateHonorsRequestedAuthorizationsHelper()
DSecretKeyFactoryTest.java130 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyAttestationTest.java661 Set<Integer> softwareEnforcedDigests = attestation.getSoftwareEnforced().getDigests(); in checkDigests()
662 Set<Integer> teeEnforcedDigests = attestation.getTeeEnforced().getDigests(); in checkDigests()
DTestUtils.java510 result.setDigests(spec.getDigests()); in buildUponInternal()
560 result.setDigests(spec.getDigests()); in buildUponInternal()
DKeyFactoryTest.java135 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DAndroidKeyStoreTest.java2406 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2414 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java430 public Set<Integer> getDigests() { in getDigests() method in AuthorizationList