Searched refs:getPurposes (Results 1 – 13 of 13) sorted by relevance
184 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit()192 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()298 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
472 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyGenParameterSpec796 this(sourceSpec.getKeystoreAlias(), sourceSpec.getPurposes()); in Builder()807 mPurposes = sourceSpec.getPurposes(); in Builder()
199 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyInfo
315 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in initialize()319 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()478 if ((mSpec.getPurposes() & KeyProperties.PURPOSE_WRAP_KEY) != 0) { in generateKeyPair()791 if ((spec.getPurposes() & KeyProperties.PURPOSE_SIGN) == 0) { in getCertificateSignatureAlgorithm()
61 out.writeInt(mSpec.getPurposes()); in writeToParcel()
317 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyProtection
490 @KeyProperties.PurposeEnum int purposes = spec.getPurposes(); in setPrivateKeyEntry()693 @KeyProperties.PurposeEnum int purposes = params.getPurposes(); in setSecretKeyEntry()
53 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()
92 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()149 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
126 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()168 assertEquals(KeyProperties.PURPOSE_DECRYPT, getDecryptKeyProtection().getPurposes()); in init_createsDecryptKeyWithCorrectPurposes()
41161 method public int getPurposes();41216 method public int getPurposes();41285 method public int getPurposes();
41305 method public int getPurposes();41360 method public int getPurposes();41429 method public int getPurposes();
42392 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I