Home
last modified time | relevance | path

Searched refs:privateKey (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSignatureSpiBase.java81 protected final void engineInitSign(PrivateKey privateKey, SecureRandom random) in engineInitSign() argument
87 if (privateKey == null) { in engineInitSign()
91 if (privateKey instanceof AndroidKeyStorePrivateKey) { in engineInitSign()
92 keystoreKey = (AndroidKeyStoreKey) privateKey; in engineInitSign()
94 throw new InvalidKeyException("Unsupported private key type: " + privateKey); in engineInitSign()
DAndroidKeyStoreProvider.java260 AndroidKeyStorePrivateKey privateKey = in loadAndroidKeyStoreKeyPairFromKeystore() local
262 return new KeyPair(publicKey, privateKey); in loadAndroidKeyStoreKeyPairFromKeystore()
DAndroidKeyStoreKeyPairGeneratorSpi.java625 private X509Certificate generateSelfSignedCertificate(PrivateKey privateKey, in generateSelfSignedCertificate() argument
636 privateKey, publicKey, signatureAlgorithm); in generateSelfSignedCertificate()
650 … PrivateKey privateKey, PublicKey publicKey, String signatureAlgorithm) throws Exception { in generateSelfSignedCertificateWithValidSignature() argument
659 return certGen.generate(privateKey); in generateSelfSignedCertificateWithValidSignature()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DWifiNetworkAdapter.java218 PrivateKey privateKey, Network osuNetwork) in addNetwork() argument
228 certs.get(OSUCertType.Client), privateKey); in addNetwork()
248 List<X509Certificate> clientCerts, PrivateKey privateKey) in updateNetwork() argument
260 clientCerts, privateKey); in updateNetwork()
/frameworks/base/core/java/android/webkit/
DClientCertRequest.java69 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); in proceed() argument
/frameworks/base/keystore/java/android/security/
DIKeyChainService.aidl36 …boolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias… in installKeyPair() argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUManager.java850 PrivateKey privateKey, Network osuNetwork) { in provisioningComplete() argument
858 Integer spNwk = mWifiNetworkAdapter.addNetwork(homeSP, certs, privateKey, osuNetwork); in provisioningComplete()
867 if (privateKey != null) { in provisioningComplete()
870 privateKey.getEncoded(), in provisioningComplete()
954 PrivateKey privateKey) in remediationComplete() argument
969 mWifiNetworkAdapter.updateNetwork(altSP, caCert, clientCerts, privateKey); in remediationComplete()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java806 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) { in setClientKeyEntry() argument
811 if (privateKey == null) { in setClientKeyEntry()
814 if (privateKey.getEncoded() == null) { in setClientKeyEntry()
819 mClientPrivateKey = privateKey; in setClientKeyEntry()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java376 public void setChannelIdPrivateKey(PrivateKey privateKey) { in setChannelIdPrivateKey() argument
377 mChannelIdPrivateKey = privateKey; in setChannelIdPrivateKey()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1310 String privateKey = ""; in startLegacyVpnPrivileged() local
1315 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in startLegacyVpnPrivileged()
1327 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
1342 iface, profile.server, "udprsa", privateKey, userCert, in startLegacyVpnPrivileged()
1354 iface, profile.server, "xauthrsa", privateKey, userCert, in startLegacyVpnPrivileged()