Searched refs:getPurposes (Results 1 – 13 of 13) sorted by relevance
194 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit()202 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()359 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
260 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in initialize()264 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()313 if ((spec.getPurposes() & KeyProperties.PURPOSE_ATTEST_KEY) != 0 in checkAttestKeyPurpose()314 && spec.getPurposes() != KeyProperties.PURPOSE_ATTEST_KEY) { in checkAttestKeyPurpose()621 if ((mSpec.getPurposes() & KeyProperties.PURPOSE_WRAP_KEY) != 0) { in generateKeyPairHelper()909 if ((spec.getPurposes() & KeyProperties.PURPOSE_SIGN) == 0) { in getCertificateSignatureAlgorithm()
471 KeyStore2ParameterUtils.forEachSetFlag(spec.getPurposes(), (purpose) -> { in setPrivateKeyEntry()494 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in setPrivateKeyEntry()709 KeyStore2ParameterUtils.forEachSetFlag(params.getPurposes(), (purpose) -> { in setSecretKeyEntry()717 if ((params.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) { in setSecretKeyEntry()
51 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()
93 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()151 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
559 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyGenParameterSpec956 this(sourceSpec.getKeystoreAlias(), sourceSpec.getPurposes()); in Builder()967 mPurposes = sourceSpec.getPurposes(); in Builder()
211 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyInfo
61 out.writeInt(mSpec.getPurposes()); in writeToParcel()
324 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyProtection
136 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()178 assertEquals(KeyProperties.PURPOSE_DECRYPT, getDecryptKeyProtection().getPurposes()); in init_createsDecryptKeyWithCorrectPurposes()
37471 method public int getPurposes();37530 method public int getPurposes();37613 method public int getPurposes();
14000 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I
13990 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I