Home | History | Annotate | Download | only in keychain

Lines Matching defs:keychain

17 package com.example.android.keychain;
25 import android.security.KeyChain;
45 public static final String PKCS12_FILENAME = "keychain.p12";
64 private static final String KEYCHAIN_PREF = "keychain";
69 // Request code used when starting the activity using the KeyChain install
228 byte[] keychain = new byte[bis.available()];
229 bis.read(keychain);
231 Intent installIntent = KeyChain.createInstallIntent();
232 installIntent.putExtra(KeyChain.EXTRA_PKCS12, keychain);
233 installIntent.putExtra(KeyChain.EXTRA_NAME, DEFAULT_ALIAS);
254 KeyChain.choosePrivateKeyAlias(this, this, // Callback
264 return KeyChain.getCertificateChain(this, alias);
275 return KeyChain.getPrivateKey(this, alias);