Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyGeneratorSpi.java185 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in engineInit()
193 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineInit()
294 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in engineGenerateKey()
DKeyGenParameterSpec.java460 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyGenParameterSpec
767 this(sourceSpec.getKeystoreAlias(), sourceSpec.getPurposes()); in Builder()
778 mPurposes = sourceSpec.getPurposes(); in Builder()
DAndroidKeyStoreKeyPairGeneratorSpi.java316 mKeymasterPurposes = KeyProperties.Purpose.allToKeymaster(spec.getPurposes()); in initialize()
320 if (((spec.getPurposes() & KeyProperties.PURPOSE_ENCRYPT) != 0) in initialize()
479 if ((mSpec.getPurposes() & KeyProperties.PURPOSE_WRAP_KEY) != 0) { in generateKeyPair()
764 if ((spec.getPurposes() & KeyProperties.PURPOSE_SIGN) == 0) { in getCertificateSignatureAlgorithm()
DKeyInfo.java199 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyInfo
DParcelableKeyGenParameterSpec.java61 out.writeInt(mSpec.getPurposes()); in writeToParcel()
DKeyProtection.java316 public @KeyProperties.PurposeEnum int getPurposes() { in getPurposes() method in KeyProtection
DAndroidKeyStoreSpi.java474 @KeyProperties.PurposeEnum int purposes = spec.getPurposes(); in setPrivateKeyEntry()
677 @KeyProperties.PurposeEnum int purposes = params.getPurposes(); in setSecretKeyEntry()
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java51 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java85 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()
139 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java110 assertEquals(KeyProperties.PURPOSE_ENCRYPT, getEncryptKeyProtection().getPurposes()); in init_createsEncryptKeyWithCorrectPurposes()
152 assertEquals(KeyProperties.PURPOSE_DECRYPT, getDecryptKeyProtection().getPurposes()); in init_createsDecryptKeyWithCorrectPurposes()
/frameworks/base/config/
Dhiddenapi-public-dex.txt39234 Landroid/security/keystore/KeyGenParameterSpec;->getPurposes()I
39256 Landroid/security/keystore/KeyInfo;->getPurposes()I
39338 Landroid/security/keystore/KeyProtection;->getPurposes()I
/frameworks/base/api/
Dcurrent.txt38604 method public int getPurposes();
38657 method public int getPurposes();
38726 method public int getPurposes();