/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreSecretKeyFactorySpi.java | 89 @KeyProperties.PurposeEnum int purposes; local 117 purposes = KeyProperties.Purpose.allFromKeymaster( 194 purposes,
|
AndroidKeyStoreSpi.java | 468 @KeyProperties.PurposeEnum int purposes = spec.getPurposes(); local 470 KeyProperties.Purpose.allToKeymaster(purposes)); 481 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) 670 @KeyProperties.PurposeEnum int purposes = params.getPurposes(); local 673 if (((purposes & KeyProperties.PURPOSE_ENCRYPT) != 0) 687 KeyProperties.Purpose.allToKeymaster(purposes)); [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
SecretKeyFactoryTest.java | 94 int purposes; local 98 purposes = KeyProperties.PURPOSE_SIGN; 101 purposes = KeyProperties.PURPOSE_DECRYPT; 105 keyGenerator.init(new KeyGenParameterSpec.Builder("test1", purposes) 117 assertEquals(purposes, keyInfo.getPurposes());
|
KeyGeneratorTest.java | 473 int purposes; local 478 purposes = KeyProperties.PURPOSE_SIGN; 481 purposes = KeyProperties.PURPOSE_DECRYPT; 484 keyGenerator.init(getWorkingSpec(purposes) 496 assertEquals(purposes, keyInfo.getPurposes()); 520 private static KeyGenParameterSpec.Builder getWorkingSpec(int purposes) { 521 return new KeyGenParameterSpec.Builder("test1", purposes);
|
KeyFactoryTest.java | 108 int purposes = KeyProperties.PURPOSE_DECRYPT | KeyProperties.PURPOSE_SIGN; local 111 keyGenerator.initialize(new KeyGenParameterSpec.Builder("test1", purposes) 123 assertEquals(purposes, keyInfo.getPurposes());
|
AuthorizationList.java | 76 // Operation Purposes. 153 private Set<Integer> purposes; field in class:AuthorizationList 193 purposes = Asn1Utils.getIntegersFromAsn1Set(value); 291 public static String purposesToString(Set<Integer> purposes) { 292 return joinStrings(transform(purposes, forMap(purposeMap, "Unknown"))); 349 return purposes; 496 if (purposes != null && !purposes.isEmpty()) { 497 s.append("\nPurposes: ").append(purposesToString(purposes));
|
KeyAttestationTest.java | 146 int[] purposes = { local 152 for (int purposeIndex = 0; purposeIndex < purposes.length; ++purposeIndex) { 156 curves[curveIndex], keySizes[curveIndex], purposes[purposeIndex]); 159 curves[curveIndex], keySizes[curveIndex], purposes[purposeIndex]); 220 int[] purposes = { local 254 for (int purpose : purposes) { 349 new String(challenge) + "], purposes " + 359 int purposes, String[] paddingModes) throws Exception { 366 new KeyGenParameterSpec.Builder(keystoreAlias, purposes) 376 if (isEncryptionPurpose(purposes)) { [all...] |
KeyPairGeneratorTest.java | 316 int purposes = KeyProperties.PURPOSE_SIGN | KeyProperties.PURPOSE_ENCRYPT; local 318 generator.initialize(getWorkingSpec(purposes) 330 assertEquals(purposes, keyInfo.getPurposes()); [all...] |
TestUtils.java | 487 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; local 488 KeyProtection.Builder result = new KeyProtection.Builder(purposes); 525 int purposes = (newPurposes == null) ? spec.getPurposes() : newPurposes; local 527 new KeyGenParameterSpec.Builder(spec.getKeystoreAlias(), purposes); [all...] |
/prebuilts/sdk/23/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |