/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreSignatureSpiBase.java | 81 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()
|
D | AndroidKeyStoreProvider.java | 290 AndroidKeyStorePrivateKey privateKey = in loadAndroidKeyStoreKeyPairFromKeystore() local 292 return new KeyPair(publicKey, privateKey); in loadAndroidKeyStoreKeyPairFromKeystore()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 633 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/ |
D | ClientCertRequest.java | 73 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); in proceed() argument
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 797 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/ |
D | IKeyChainService.aidl | 45 …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/ |
D | SecureBoxTest.java | 319 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/ |
D | SSLCertificateSocketFactory.java | 384 public void setChannelIdPrivateKey(PrivateKey privateKey) { in setChannelIdPrivateKey() argument 385 mChannelIdPrivateKey = privateKey; in setChannelIdPrivateKey()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1691 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()
|