Lines Matching refs:Credentials
26 import android.security.Credentials;
92 mUid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
93 bundle.remove(Credentials.EXTRA_INSTALL_AS_UID);
108 outStates.putInt(Credentials.EXTRA_INSTALL_AS_UID, mUid);
110 outStates.putByteArray(Credentials.USER_PRIVATE_KEY,
129 mUid = savedStates.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
130 byte[] bytes = savedStates.getByteArray(Credentials.USER_PRIVATE_KEY);
190 return mBundle.containsKey(Credentials.EXTRA_PUBLIC_KEY)
191 && mBundle.containsKey(Credentials.EXTRA_PRIVATE_KEY);
271 Intent intent = new Intent("com.android.credentials.INSTALL");
280 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, mUid);
283 intent.putExtra(Credentials.EXTRA_USER_PRIVATE_KEY_NAME,
284 Credentials.USER_PRIVATE_KEY + mName);
285 intent.putExtra(Credentials.EXTRA_USER_PRIVATE_KEY_DATA,
289 intent.putExtra(Credentials.EXTRA_USER_CERTIFICATE_NAME,
290 Credentials.USER_CERTIFICATE + mName);
291 intent.putExtra(Credentials.EXTRA_USER_CERTIFICATE_DATA,
292 Credentials.convertToPem(mUserCert));
295 intent.putExtra(Credentials.EXTRA_CA_CERTIFICATES_NAME,
296 Credentials.CA_CERTIFICATE + mName);
299 intent.putExtra(Credentials.EXTRA_CA_CERTIFICATES_DATA,
300 Credentials.convertToPem(caCerts));