Searched refs:getDigests (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 40 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()
|
D | KeyInfoTest.java | 89 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()
|
D | KeyGenParameterSpecTest.java | 57 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()
|
D | KeyPairGeneratorTest.java | 350 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 …]
|
D | KeyGeneratorTest.java | 437 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()
|
D | SecretKeyFactoryTest.java | 130 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyAttestationTest.java | 661 Set<Integer> softwareEnforcedDigests = attestation.getSoftwareEnforced().getDigests(); in checkDigests() 662 Set<Integer> teeEnforcedDigests = attestation.getTeeEnforced().getDigests(); in checkDigests()
|
D | TestUtils.java | 510 result.setDigests(spec.getDigests()); in buildUponInternal() 560 result.setDigests(spec.getDigests()); in buildUponInternal()
|
D | KeyFactoryTest.java | 135 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
|
D | AndroidKeyStoreTest.java | 2406 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/ |
D | AuthorizationList.java | 430 public Set<Integer> getDigests() { in getDigests() method in AuthorizationList
|