Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java4031 public boolean installKeyPair(@Nullable ComponentName admin, @NonNull PrivateKey privKey, in installKeyPair() argument
4033 return installKeyPair(admin, privKey, new Certificate[] {cert}, alias, false); in installKeyPair()
4064 public boolean installKeyPair(@Nullable ComponentName admin, @NonNull PrivateKey privKey, in installKeyPair() argument
4070 return installKeyPair(admin, privKey, certs, alias, flags); in installKeyPair()
4104 public boolean installKeyPair(@Nullable ComponentName admin, @NonNull PrivateKey privKey, in installKeyPair() argument
4117 final byte[] pkcs8Key = KeyFactory.getInstance(privKey.getAlgorithm()) in installKeyPair()
4118 .getKeySpec(privKey, PKCS8EncodedKeySpec.class).getEncoded(); in installKeyPair()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5289 public boolean installKeyPair(ComponentName who, String callerPackage, byte[] privKey, in installKeyPair() argument
5303 if (!keyChain.installKeyPair(privKey, cert, chain, alias)) { in installKeyPair()