Home
last modified time | relevance | path

Searched refs:mPrivateKey (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DIkev2VpnProfileTest.java79 private PrivateKey mPrivateKey; field in Ikev2VpnProfileTest
87 mPrivateKey = userCertKey.key; in setUp()
141 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testBuildDigitalSignatureProfile()
146 assertEquals(mPrivateKey, profile.getRsaPrivateKey()); in testBuildDigitalSignatureProfile()
320 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testRsaConvertToVpnProfile()
324 + Ikev2VpnProfile.encodeForIpsecSecret(mPrivateKey.getEncoded()); in testRsaConvertToVpnProfile()
375 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testRsaFromVpnProfileDiscardsIrrelevantValues()
410 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testRsaConversionIsLossless()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java166 private byte[] mPrivateKey; field in KeyChainActivityTest
173 mPrivateKey = Base64.decode(PRIVATE_SERVER_KEY, Base64.DEFAULT); in setUp()
221 keyStore.setKeyEntry("testCertificateParametersFilter_client", parseKey(mPrivateKey), in prepareKeyStoreWithLongChainCertificates()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java976 @NonNull public final PrivateKey mPrivateKey; field in IkeSessionParams.IkeAuthDigitalSignLocalConfig
987 mPrivateKey = privateKey; in IkeAuthDigitalSignLocalConfig()
1052 PersistableBundleUtils.fromByteArray(mPrivateKey.getEncoded())); in toPersistableBundle()
1072 return mPrivateKey; in getPrivateKey()
1077 return Objects.hash(super.hashCode(), mEndCert, mIntermediateCerts, mPrivateKey); in hashCode()
1090 && mPrivateKey.equals(other.mPrivateKey); in equals()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java521 assertEquals(mMockRsaPrivateKey, localAuthConfig.mPrivateKey); in testBuildWithDigitalSignatureAuth()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3863 localAuthConfig.mPrivateKey, in buildIkeAuthReq()