Home
last modified time | relevance | path

Searched refs:privKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/identity/java/android/security/identity/
DCredstoreIdentityCredential.java97 PrivateKey privKey = (PrivateKey) ks.getKey(alias, password); in ensureEphemeralKeyPair() local
102 mEphemeralKeyPair = new KeyPair(pubKey, privKey); in ensureEphemeralKeyPair()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java6095 public boolean installKeyPair(@Nullable ComponentName admin, @NonNull PrivateKey privKey, in installKeyPair() argument
6097 return installKeyPair(admin, privKey, new Certificate[] {cert}, alias, false); in installKeyPair()
6145 public boolean installKeyPair(@Nullable ComponentName admin, @NonNull PrivateKey privKey, in installKeyPair() argument
6151 return installKeyPair(admin, privKey, certs, alias, flags); in installKeyPair()
6206 public boolean installKeyPair(@Nullable ComponentName admin, @NonNull PrivateKey privKey, in installKeyPair() argument
6219 final byte[] pkcs8Key = KeyFactory.getInstance(privKey.getAlgorithm()) in installKeyPair()
6220 .getKeySpec(privKey, PKCS8EncodedKeySpec.class).getEncoded(); in installKeyPair()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5574 public boolean installKeyPair(ComponentName who, String callerPackage, byte[] privKey,
5598 if (!keyChain.installKeyPair(privKey, cert, chain, alias, KeyStore.UID_SELF)) {