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.java298 AndroidKeyStorePrivateKey privateKey = in loadAndroidKeyStoreKeyPairFromKeystore() local
300 return new KeyPair(publicKey, privateKey); in loadAndroidKeyStoreKeyPairFromKeystore()
DAndroidKeyStoreKeyPairGeneratorSpi.java652 private X509Certificate generateSelfSignedCertificate(PrivateKey privateKey, in generateSelfSignedCertificate() argument
663 privateKey, publicKey, signatureAlgorithm); in generateSelfSignedCertificate()
677 … PrivateKey privateKey, PublicKey publicKey, String signatureAlgorithm) throws Exception { in generateSelfSignedCertificateWithValidSignature() argument
686 return certGen.generate(privateKey); in generateSelfSignedCertificateWithValidSignature()
/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/core/java/android/webkit/
DClientCertRequest.java73 public abstract void proceed(PrivateKey privateKey, X509Certificate[] chain); in proceed() argument
/frameworks/base/keystore/java/android/security/
DIKeyChainService.aidl47 in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias, int uid); 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.java428 public void setChannelIdPrivateKey(PrivateKey privateKey) { in setChannelIdPrivateKey() argument
429 mChannelIdPrivateKey = privateKey; in setChannelIdPrivateKey()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1935 String privateKey = "";
1940 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert;
1963 profile.ipsecSecret = Ikev2VpnProfile.PREFIX_KEYSTORE_ALIAS + privateKey;
1990 iface, profile.server, "udprsa", privateKey, userCert,
2002 iface, profile.server, "xauthrsa", privateKey, userCert,
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt105958 Ljava/security/KeyPair;->privateKey:Ljava/security/PrivateKey;
106193 Ljava/security/Signer;->privateKey:Ljava/security/PrivateKey;