Home
last modified time | relevance | path

Searched refs:KEY_PURPOSES (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java45 static final int KEY_PURPOSES = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY; field in ParcelableKeyGenParameterSpecTest
63 return new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in configureDefaultSpec()
92 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()
142 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build()); in testParcelingWithNullValues()
149 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
160 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingRSAAlgoParameter()
179 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingECAlgoParameter()
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java36 static final int KEY_PURPOSES = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY; field in KeyGenParameterSpecTest
49 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build(); in testBuilderCopyingEmptyValues()
53 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()