Home
last modified time | relevance | path

Searched refs:privateKey (Results 1 – 9 of 9) 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.java290 AndroidKeyStorePrivateKey privateKey = in loadAndroidKeyStoreKeyPairFromKeystore() local
292 return new KeyPair(publicKey, privateKey); in loadAndroidKeyStoreKeyPairFromKeystore()
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()
/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.java797 public void setClientKeyEntry(PrivateKey privateKey, X509Certificate clientCertificate) { in setClientKeyEntry() argument
802 setClientKeyEntryWithCertificateChain(privateKey, clientCertificates); in setClientKeyEntry()
819 public void setClientKeyEntryWithCertificateChain(PrivateKey privateKey, in setClientKeyEntryWithCertificateChain() argument
848 if (privateKey == null) { in setClientKeyEntryWithCertificateChain()
851 if (privateKey.getEncoded() == null) { in setClientKeyEntryWithCertificateChain()
856 mClientPrivateKey = privateKey; in setClientKeyEntryWithCertificateChain()
/frameworks/base/keystore/java/android/security/
DIKeyChainService.aidl45 …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.java319 PrivateKey privateKey = keyGen.genKeyPair().getPrivate(); in decrypt_invalidPrivateKey() local
323 () -> SecureBox.decrypt(privateKey, TEST_SHARED_SECRET, TEST_HEADER, encrypted)); in decrypt_invalidPrivateKey()
/frameworks/base/core/java/android/net/
DSSLCertificateSocketFactory.java384 public void setChannelIdPrivateKey(PrivateKey privateKey) { in setChannelIdPrivateKey() argument
385 mChannelIdPrivateKey = privateKey; in setChannelIdPrivateKey()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1691 String privateKey = ""; in startLegacyVpnPrivileged() local
1696 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in startLegacyVpnPrivileged()
1708 if (privateKey == null || userCert == null || caCert == null || serverCert == null) { in startLegacyVpnPrivileged()
1723 iface, profile.server, "udprsa", privateKey, userCert, in startLegacyVpnPrivileged()
1735 iface, profile.server, "xauthrsa", privateKey, userCert, in startLegacyVpnPrivileged()