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.java330 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizations()
401 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
448 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
494 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
542 keyInfo.getPurposes()); in testGenerate_RSA_LegacySpec()
711 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY, keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_Defaults()
747 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_Defaults()
802 keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
871 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
DKeyProtectionTest.java36 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults()
79 KeyProperties.PURPOSE_DECRYPT| KeyProperties.PURPOSE_VERIFY, spec.getPurposes()); in testSettersReflectedInGetters()
DKeyGenParameterSpecTest.java48 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults()
105 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testSettersReflectedInGetters()
DKeyAttestationTest.java703 attestation.getSoftwareEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes()
705 attestation.getTeeEnforced().getPurposes()); in checkPurposes()
708 attestation.getTeeEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes()
710 attestation.getSoftwareEnforced().getPurposes()); in checkPurposes()
DSecretKeyFactoryTest.java117 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DAuthorizationList.java355 public Set<Integer> getPurposes() { in getPurposes() method in AuthorizationList
DTestUtils.java487 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
526 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
DKeyFactoryTest.java123 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DKeyGeneratorTest.java496 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizations()