Home
last modified time | relevance | path

Searched refs:IkeFqdnIdentification (Results 1 – 17 of 17) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeFqdnIdentification.java31 public class IkeFqdnIdentification extends IkeIdentification { class
45 public IkeFqdnIdentification(byte[] fqdnBytes) { in IkeFqdnIdentification() method in IkeFqdnIdentification
56 public IkeFqdnIdentification(@NonNull String fqdn) { in IkeFqdnIdentification() method in IkeFqdnIdentification
71 public static IkeFqdnIdentification fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle()
74 return new IkeFqdnIdentification(in.getString(FQDN_KEY)); in fromPersistableBundle()
99 if (!(o instanceof IkeFqdnIdentification)) return false; in equals()
102 return fqdn.equals(((IkeFqdnIdentification) o).fqdn); in equals()
DIkeIdentification.java112 return IkeFqdnIdentification.fromPersistableBundle(in); in fromPersistableBundle()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeIdentificationTest.java23 import android.net.ipsec.ike.IkeFqdnIdentification;
48 IkeFqdnIdentification ikeId = new IkeFqdnIdentification(LOCAL_HOSTNAME); in testIkeFqdnIdentification()
DIkeSessionPskTestBase.java22 import android.net.ipsec.ike.IkeFqdnIdentification;
74 .setLocalIdentification(new IkeFqdnIdentification(LOCAL_HOSTNAME)) in createIkeParamsBuilderBase()
75 .setRemoteIdentification(new IkeFqdnIdentification(REMOTE_HOSTNAME)) in createIkeParamsBuilderBase()
DIkeSessionMschapV2Test.java22 import android.net.ipsec.ike.IkeFqdnIdentification;
167 .setLocalIdentification(new IkeFqdnIdentification(LOCAL_HOSTNAME)) in openIkeSessionWithRemoteAddress()
168 .setRemoteIdentification(new IkeFqdnIdentification(REMOTE_HOSTNAME)) in openIkeSessionWithRemoteAddress()
DIkeSessionLivenessCheckTest.java27 import android.net.ipsec.ike.IkeFqdnIdentification;
84 .setLocalIdentification(new IkeFqdnIdentification(LOCAL_HOSTNAME)) in openIkeSessionWithRemoteAddress()
85 .setRemoteIdentification(new IkeFqdnIdentification(REMOTE_HOSTNAME)) in openIkeSessionWithRemoteAddress()
DIkeSessionRekeyTest.java24 import android.net.ipsec.ike.IkeFqdnIdentification;
60 .setLocalIdentification(new IkeFqdnIdentification(LOCAL_HOSTNAME)) in openIkeSessionWithRemoteAddress()
61 .setRemoteIdentification(new IkeFqdnIdentification(REMOTE_HOSTNAME)) in openIkeSessionWithRemoteAddress()
DIkeSessionParamsTest.java46 import android.net.ipsec.ike.IkeFqdnIdentification;
127 private static final IkeIdentification LOCAL_ID = new IkeFqdnIdentification(LOCAL_HOSTNAME);
128 private static final IkeIdentification REMOTE_ID = new IkeFqdnIdentification(REMOTE_HOSTNAME);
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java25 import android.net.ipsec.test.ike.IkeFqdnIdentification;
141 IkeFqdnIdentification ikeId = (IkeFqdnIdentification) payload.ikeId; in testDecodeFqdnIdPayload()
237 new IkeIdPayload(false /*isInitiator*/, new IkeFqdnIdentification(FQDN)); in testConstructAndEncodeFqdnIdPayload()
305 verifyPersistableBundleEncodeDecodeIsLossless(new IkeFqdnIdentification(FQDN)); in testPersistableBundleEncodeDecodeRfc822AddrId()
327 new IkeIdPayload(false /*isInitiator*/, new IkeFqdnIdentification(CERT_SAN_DNS)); in validatCertSanDns()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTunnelConnectionParamsTest.java30 .setLocalIdentification(new IkeFqdnIdentification("test.client.com"))
31 .setRemoteIdentification(new IkeFqdnIdentification("test.server.com"))
DIkeSessionParamsTest.java705 new IkeFqdnIdentification("¯\\_(ツ)_/¯"); in testNonAsciiFqdnAuthentication()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayload.java20 import android.net.ipsec.ike.IkeFqdnIdentification;
82 ikeId = new IkeFqdnIdentification(idData); in IkeIdPayload()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DIkeSessionTestUtils.java29 import android.net.ipsec.ike.IkeFqdnIdentification;
62 return getTestIkeSessionParams(testIpv6, new IkeFqdnIdentification(TEST_IDENTITY)); in getTestIkeSessionParams()
/packages/modules/IPsec/api/
Dcurrent.txt132 public class IkeFqdnIdentification extends android.net.ipsec.ike.IkeIdentification {
133 ctor public IkeFqdnIdentification(@NonNull String);
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java57 import android.net.ipsec.ike.IkeFqdnIdentification;
2146 IkeFqdnIdentification ikeId = in testTunnelSetupRequestParams()
2147 (IkeFqdnIdentification) ikeSessionParams.getRemoteIdentification(); in testTunnelSetupRequestParams()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java43 import android.net.ipsec.ike.IkeFqdnIdentification;
1781 return new IkeFqdnIdentification(id); in getId()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java127 import android.net.ipsec.test.ike.IkeFqdnIdentification;
354 new IkeFqdnIdentification("server.test.android.net");