Searched refs:mUserCert (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | Ikev2VpnProfile.java | 99 @Nullable private final X509Certificate mUserCert; field in Ikev2VpnProfile 138 mUserCert = userCert; in Ikev2VpnProfile() 178 checkNotNull(mUserCert, MISSING_PARAM_MSG_TMPL, "User cert"); in validate() 181 checkCert(mUserCert); in validate() 307 return mUserCert; in getUserCert() 357 mUserCert, in hashCode() 381 && Objects.equals(mUserCert, other.mUserCert) in equals() 424 profile.ipsecUserCert = certificateToPemString(mUserCert); in toVpnProfile() 637 @Nullable private X509Certificate mUserCert; field in Ikev2VpnProfile.Builder 667 mUserCert = null; in resetAuthParams() [all …]
|
/frameworks/base/tests/net/java/android/net/ |
D | Ikev2VpnProfileTest.java | 72 private X509Certificate mUserCert; field in Ikev2VpnProfileTest 81 mUserCert = userCertKey.cert; in setUp() 136 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testBuildDigitalSignatureProfile() 140 assertEquals(profile.getUserCert(), mUserCert); in testBuildDigitalSignatureProfile() local 307 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testRsaConvertToVpnProfile() 313 assertEquals(Ikev2VpnProfile.certificateToPemString(mUserCert), profile.ipsecUserCert); in testRsaConvertToVpnProfile() 333 profile.ipsecUserCert = Ikev2VpnProfile.certificateToPemString(mUserCert); in testPskFromVpnProfileDiscardsIrrelevantValues() 350 profile.ipsecUserCert = Ikev2VpnProfile.certificateToPemString(mUserCert); in testUsernamePasswordFromVpnProfileDiscardsIrrelevantValues() 362 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testRsaFromVpnProfileDiscardsIrrelevantValues() 397 builder.setAuthDigitalSignature(mUserCert, mPrivateKey, mServerRootCa); in testRsaConversionIsLossless()
|