Lines Matching refs:Credentials
23 import android.security.Credentials;
87 mUid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
88 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID);
104 outStates.putByteArray(Credentials.USER_PRIVATE_KEY,
123 byte[] bytes = savedStates.getByteArray(Credentials.USER_PRIVATE_KEY);
183 return mBundle.containsKey(Credentials.EXTRA_PUBLIC_KEY)
184 && mBundle.containsKey(Credentials.EXTRA_PRIVATE_KEY);
260 Intent intent = new Intent("com.android.credentials.INSTALL");
264 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, mUid);
267 intent.putExtra(Credentials.EXTRA_USER_PRIVATE_KEY_NAME,
268 Credentials.USER_PRIVATE_KEY + mName);
269 intent.putExtra(Credentials.EXTRA_USER_PRIVATE_KEY_DATA,
273 intent.putExtra(Credentials.EXTRA_USER_CERTIFICATE_NAME,
274 Credentials.USER_CERTIFICATE + mName);
275 intent.putExtra(Credentials.EXTRA_USER_CERTIFICATE_DATA,
276 Credentials.convertToPem(mUserCert));
279 intent.putExtra(Credentials.EXTRA_CA_CERTIFICATES_NAME,
280 Credentials.CA_CERTIFICATE + mName);
283 intent.putExtra(Credentials.EXTRA_CA_CERTIFICATES_DATA,
284 Credentials.convertToPem(caCerts));