Searched refs:getDigests (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 53 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()
|
D | KeyGenParameterSpecTest.java | 72 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()
|
D | KeyInfoTest.java | 113 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()
|
D | KeyPairGeneratorTest.java | 405 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 …]
|
D | KeyGeneratorTest.java | 475 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()
|
D | SecretKeyFactoryTest.java | 140 TestUtils.assertContentsInAnyOrder(Arrays.asList(digests), keyInfo.getDigests()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyFactoryTest.java | 160 new ArrayList<String>(Arrays.asList(keyInfo.getDigests())); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyAttestationTest.java | 1511 Set<Integer> softwareEnforcedDigests = attestation.getSoftwareEnforced().getDigests(); in checkDigests() 1512 Set<Integer> teeEnforcedDigests = attestation.getTeeEnforced().getDigests(); in checkDigests()
|
D | AndroidKeyStoreTest.java | 2463 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/ |
D | TestUtils.java | 725 result.setDigests(spec.getDigests()); in buildUponInternal() 775 result.setDigests(spec.getDigests()); in buildUponInternal()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 581 public Set<Integer> getDigests() { in getDigests() method in AuthorizationList
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 39729 method @NonNull public String[] getDigests(); 39791 method @NonNull public String[] getDigests(); 39877 method @NonNull public String[] getDigests();
|