Searched refs:getPurposes (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyProtectionTest.java | 36 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults() 81 KeyProperties.PURPOSE_DECRYPT| KeyProperties.PURPOSE_VERIFY, spec.getPurposes()); in testSettersReflectedInGetters()
|
D | KeyPairGeneratorTest.java | 330 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() 803 keyInfo.getPurposes()); in testGenerate_EC_ModernSpec_AsCustomAsPossible() 873 keyInfo.getPurposes()); in testGenerate_RSA_ModernSpec_AsCustomAsPossible()
|
D | KeyGenParameterSpecTest.java | 48 assertEquals(KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testDefaults() 107 KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT, spec.getPurposes()); in testSettersReflectedInGetters()
|
D | KeyAttestationTest.java | 707 attestation.getSoftwareEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes() 709 attestation.getTeeEnforced().getPurposes()); in checkPurposes() 712 attestation.getTeeEnforced().getPurposes(), is(expectedPurposes)); in checkPurposes() 714 attestation.getSoftwareEnforced().getPurposes()); in checkPurposes()
|
D | SecretKeyFactoryTest.java | 125 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations()
|
D | KeyGeneratorTest.java | 505 assertEquals(purposes, keyInfo.getPurposes()); in testGenerateHonorsRequestedAuthorizations()
|
D | KeyFactoryTest.java | 123 assertEquals(purposes, keyInfo.getPurposes()); in testGetKeySpecWithKeystorePrivateKeyAndKeyInfoReflectsAllAuthorizations()
|
D | TestUtils.java | 506 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal() 545 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; in buildUponInternal()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AuthorizationList.java | 396 public Set<Integer> getPurposes() { in getPurposes() method in AuthorizationList
|