Searched refs:getDigests (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 41 spec.getDigests(); in testDefaults() 93 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters() 189 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams() 191 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams() 244 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues() 245 spec.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues() 246 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaGetterReturnValues()
|
D | KeyGenParameterSpecTest.java | 62 spec.getDigests(); in testDefaults() 126 MoreAsserts.assertContentsInOrder(Arrays.asList(spec.getDigests()), in testSettersReflectedInGetters() 249 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams() 251 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaSetterParams() 314 String[] originalDigests = spec.getDigests().clone(); in testImmutabilityViaGetterReturnValues() 315 spec.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues() 316 assertEquals(Arrays.asList(originalDigests), Arrays.asList(spec.getDigests())); in testImmutabilityViaGetterReturnValues()
|
D | KeyInfoTest.java | 92 String[] originalDigests = info.getDigests().clone(); in testImmutabilityViaGetterReturnValues() 93 info.getDigests()[0] = null; in testImmutabilityViaGetterReturnValues() 94 assertEquals(Arrays.asList(originalDigests), Arrays.asList(info.getDigests())); in testImmutabilityViaGetterReturnValues()
|
D | KeyPairGeneratorTest.java | 355 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerateHonorsRequestedAuthorizationsHelper() 421 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec() 468 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec() 514 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_EC_LegacySpec() 562 MoreAsserts.assertContentsInAnyOrder(Arrays.asList(keyInfo.getDigests()), in testGenerate_RSA_LegacySpec() 813 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_DefaultsHelper() 857 MoreAsserts.assertEmpty(Arrays.asList(keyInfo.getDigests())); in testGenerate_RSA_ModernSpec_DefaultsHelper() 912 List<String> actualDigests = new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_AsCustomAsPossible() 982 List<String> actualDigests = new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox() 1051 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGenerate_RSA_ModernSpec_AsCustomAsPossible() [all …]
|
D | KeyGeneratorTest.java | 440 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() 449 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper() 718 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGenerateHonorsRequestedAuthorizationsHelper()
|
D | SecretKeyFactoryTest.java | 130 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyFactoryTest.java | 135 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
|
D | TestUtils.java | 569 result.setDigests(spec.getDigests()); in buildUponInternal() 619 result.setDigests(spec.getDigests()); in buildUponInternal()
|
D | KeyAttestationTest.java | 1007 Set<Integer> softwareEnforcedDigests = attestation.getSoftwareEnforced().getDigests(); in checkDigests() 1008 Set<Integer> teeEnforcedDigests = attestation.getTeeEnforced().getDigests(); in checkDigests()
|
D | AndroidKeyStoreTest.java | 2357 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() 2365 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 563 public Set<Integer> getDigests() { in getDigests() method in AuthorizationList
|