Home
last modified time | relevance | path

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

/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeKePayload.java180 DHPrivateKey privateKey = (DHPrivateKey) keyPair.getPrivate(); in IkeKePayload() local
182 new DHPrivateKeySpec(privateKey.getX(), prime, baseGen); in IkeKePayload()
241 DHPrivateKey privateKey = (DHPrivateKey) dhKeyFactory.generatePrivate(privateKeySpec); in getSharedKey() local
246 dhKeyAgreement.init(privateKey); in getSharedKey()
/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()
DAndroidKeyStoreKeyPairGeneratorSpi.java633 private X509Certificate generateSelfSignedCertificate(PrivateKey privateKey, in generateSelfSignedCertificate() argument
644 privateKey, publicKey, signatureAlgorithm); in generateSelfSignedCertificate()
658 … PrivateKey privateKey, PublicKey publicKey, String signatureAlgorithm) throws Exception { in generateSelfSignedCertificateWithValidSignature() argument
667 return certGen.generate(privateKey); in generateSelfSignedCertificateWithValidSignature()
DAndroidKeyStoreProvider.java298 AndroidKeyStorePrivateKey privateKey = in loadAndroidKeyStoreKeyPairFromKeystore() local
300 return new KeyPair(publicKey, privateKey); in loadAndroidKeyStoreKeyPairFromKeystore()
/frameworks/base/core/java/android/webkit/
DClientCertRequest.java73 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); in proceed() argument
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java807 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) { in setClientKeyEntry() argument
812 setClientKeyEntryWithCertificateChain(privateKey, clientCertificates); in setClientKeyEntry()
829 public void setClientKeyEntryWithCertificateChain(PrivateKey privateKey, in setClientKeyEntryWithCertificateChain() argument
858 if (privateKey == null) { in setClientKeyEntryWithCertificateChain()
861 if (privateKey.getEncoded() == null) { in setClientKeyEntryWithCertificateChain()
866 mClientPrivateKey = privateKey; in setClientKeyEntryWithCertificateChain()
/frameworks/base/keystore/java/android/security/
DIKeyChainService.aidl46 …boolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias… in installKeyPair() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DSecureBoxTest.java323 PrivateKey privateKey = keyGen.genKeyPair().getPrivate(); in decrypt_invalidPrivateKey() local
327 () -> SecureBox.decrypt(privateKey, TEST_SHARED_SECRET, TEST_HEADER, encrypted)); in decrypt_invalidPrivateKey()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java427 public void setChannelIdPrivateKey(PrivateKey privateKey) { in setChannelIdPrivateKey() argument
428 mChannelIdPrivateKey = privateKey; in setChannelIdPrivateKey()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1746 String privateKey = ""; in startLegacyVpnPrivileged() local
1751 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in startLegacyVpnPrivileged()
1763 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
1778 iface, profile.server, "udprsa", privateKey, userCert, in startLegacyVpnPrivileged()
1790 iface, profile.server, "xauthrsa", privateKey, userCert, in startLegacyVpnPrivileged()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...