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.java338 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizationsHelper()
410 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
457 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
503 keyInfo.getPurposes()); in testGenerate_EC_LegacySpec()
551 keyInfo.getPurposes()); in testGenerate_RSA_LegacySpec()
744 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY, keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_DefaultsHelper()
788 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_DefaultsHelper()
844 keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
915 keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
985 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
[all …]
DKeyProtectionTest.java36 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults()
81 KeyProperties.PURPOSE_DECRYPT| KeyProperties.PURPOSE_VERIFY, spec.getPurposes()); in testSettersReflectedInGetters()
DKeyGenParameterSpecTest.java48 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults()
107 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testSettersReflectedInGetters()
DKeyAttestationTest.java713 attestation.getSoftwareEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes()
715 attestation.getTeeEnforced().getPurposes()); in checkPurposes()
718 attestation.getTeeEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes()
720 attestation.getSoftwareEnforced().getPurposes()); in checkPurposes()
DSecretKeyFactoryTest.java125 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
DTestUtils.java506 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
545 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
DKeyFactoryTest.java123 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
DKeyGeneratorTest.java710 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizationsHelper()
/cts/tests/security/src/android/keystore/cts/
DAuthorizationList.java418 public Set<Integer> getPurposes() { in getPurposes() method in AuthorizationList