Home
last modified time | relevance | path

Searched refs:getPurposes (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyGeneratorSpi.java184 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()
DKeyGenParameterSpec.java472 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyGenParameterSpec
796 this(sourceSpec.getKeystoreAlias(), sourceSpec.getPurposes()); in Builder()
807 mPurposes = sourceSpec.getPurposes(); in Builder()
DKeyInfo.java199 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyInfo
DAndroidKeyStoreKeyPairGeneratorSpi.java315 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()
DParcelableKeyGenParameterSpec.java61 out.writeInt(mSpec.getPurposes()); in writeToParcel()
DKeyProtection.java317 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyProtection
DAndroidKeyStoreSpi.java490 @KeyProperties.PurposeEnum int purposes = spec.getPurposes(); in setPrivateKeyEntry()
693 @KeyProperties.PurposeEnum int purposes = params.getPurposes(); in setSecretKeyEntry()
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java53 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java92 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()
149 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java126 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()
168 assertEquals(KeyProperties.PURPOSE_DECRYPT, getDecryptKeyProtection().getPurposes()); in init_createsDecryptKeyWithCorrectPurposes()
/frameworks/base/non-updatable-api/
Dcurrent.txt41161 method public int getPurposes();
41216 method public int getPurposes();
41285 method public int getPurposes();
/frameworks/base/api/
Dcurrent.txt41305 method public int getPurposes();
41360 method public int getPurposes();
41429 method public int getPurposes();
/frameworks/base/config/
Dboot-image-profile.txt42392 HSPLandroid/security/keystore/KeyGenParameterSpec;->getPurposes()I