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
62 return new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in configureDefaultSpec()
93 assertThat(spec.getPurposes(), is(KEY_PURPOSES)); in validateSpecValues()
144 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build()); in testParcelingWithNullValues()
151 assertThat(fromParcel.getPurposes(), is(KEY_PURPOSES)); in testParcelingWithNullValues()
162 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingRSAAlgoParameter()
181 new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES) in testParcelingECAlgoParameter()
/frameworks/base/keystore/tests/src/android/security/keystore/
DKeyGenParameterSpecTest.java34 static final int KEY_PURPOSES = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_VERIFY; field in KeyGenParameterSpecTest
47 KeyGenParameterSpec spec = new KeyGenParameterSpec.Builder(ALIAS, KEY_PURPOSES).build(); in testBuilderCopyingEmptyValues()
51 assertThat(copiedSpec.getPurposes(), is(KEY_PURPOSES)); in testBuilderCopyingEmptyValues()