Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyProtectionTest.java53 spec.getDigests(); in testDefaults()
114 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters()
226 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
228 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
292 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
293 spec.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues()
294 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaGetterReturnValues()
DKeyGenParameterSpecTest.java72 spec.getDigests(); in testDefaults()
160 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters()
304 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
306 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams()
380 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
381 spec.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues()
382 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaGetterReturnValues()
DKeyInfoTest.java113 String[] originalDigests = info.getDigests().clone(); in testImmutabilityViaGetterReturnValues()
114 info.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues()
115 assertEquals(Arrays.asList(originalDigests), Arrays.asList(info.getDigests())); in testImmutabilityViaGetterReturnValues()
DKeyPairGeneratorTest.java405 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerateHonorsRequestedAuthorizationsHelper()
472 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec()
519 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec()
565 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec()
614 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_RSA_LegacySpec()
1045 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_DefaultsHelper()
1090 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getDigests())); in testGenerate_RSA_ModernSpec_DefaultsHelper()
1146 List<String> actualDigests = new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
1217 List<String> actualDigests = new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1287 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
[all …]
DKeyGeneratorTest.java475 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
484 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
760 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGenerateHonorsRequestedAuthorizationsHelper()
DSecretKeyFactoryTest.java140 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyFactoryTest.java160 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DKeyAttestationTest.java1511 Set<Integer> softwareEnforcedDigests = attestation.getSoftwareEnforced().getDigests(); in checkDigests()
1512 Set<Integer> teeEnforcedDigests = attestation.getTeeEnforced().getDigests(); in checkDigests()
DAndroidKeyStoreTest.java2463 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
2471 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java725 result.setDigests(spec.getDigests()); in buildUponInternal()
775 result.setDigests(spec.getDigests()); in buildUponInternal()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java581 public Set<Integer> getDigests() { in getDigests() method in AuthorizationList
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt39729 method @NonNull public String[] getDigests();
39791 method @NonNull public String[] getDigests();
39877 method @NonNull public String[] getDigests();