Home
last modified time | relevance | path

Searched refs:getPurposes (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java343 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizationsHelper()
415 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
462 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
508 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
556 keyInfo.getPurposes()); in testGenerate_RSA_LegacySpec()
807 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY, keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_DefaultsHelper()
851 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_DefaultsHelper()
906 keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
976 keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1045 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
[all …]
DKeyProtectionTest.java37 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults()
89 KeyProperties.PURPOSE_DECRYPT| KeyProperties.PURPOSE_VERIFY, spec.getPurposes()); in testSettersReflectedInGetters()
DKeyGenParameterSpecTest.java53 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults()
117 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testSettersReflectedInGetters()
DSecretKeyFactoryTest.java125 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DKeyAttestationTest.java1020 attestation.getSoftwareEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes()
1022 attestation.getTeeEnforced().getPurposes()); in checkPurposes()
1025 attestation.getTeeEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes()
1027 attestation.getSoftwareEnforced().getPurposes()); in checkPurposes()
DKeyFactoryTest.java123 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DTestUtils.java564 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
603 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
DKeyGeneratorTest.java713 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizationsHelper()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java551 public Set<Integer> getPurposes() { in getPurposes() method in AuthorizationList