Searched refs:getPurposes (Results 1 – 13 of 13) sorted by relevance
299 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in initialize()303 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()353 if ((spec.getPurposes() & KeyProperties.PURPOSE_ATTEST_KEY) != 0 in checkAttestKeyPurpose()354 && spec.getPurposes() != KeyProperties.PURPOSE_ATTEST_KEY) { in checkAttestKeyPurpose()370 && spec.getPurposes() != KeyProperties.PURPOSE_AGREE_KEY) { in checkCorrectKeyPurposeForCurve()374 && !hasOnlyAllowedPurposeForEd25519(spec.getPurposes())) { in checkCorrectKeyPurposeForCurve()718 if ((mSpec.getPurposes() & KeyProperties.PURPOSE_WRAP_KEY) != 0) { in generateKeyPairHelper()1060 if ((spec.getPurposes() & KeyProperties.PURPOSE_SIGN) == 0) { in getCertificateSignatureAlgorithm()
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()
471 KeyStore2ParameterUtils.forEachSetFlag(spec.getPurposes(), (purpose) -> { in setPrivateKeyEntry()494 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in setPrivateKeyEntry()707 KeyStore2ParameterUtils.forEachSetFlag(params.getPurposes(), (purpose) -> { in setSecretKeyEntry()715 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()
37812 method public int getPurposes();37871 method public int getPurposes();37954 method public int getPurposes();
13374 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I
13376 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I