Home
last modified time | relevance | path

Searched refs:IkeIpv4AddrIdentification (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeIpv4AddrIdentification.java35 public final class IkeIpv4AddrIdentification extends IkeIdentification { class
46 public IkeIpv4AddrIdentification(byte[] ipv4AddrBytes) throws AuthenticationFailedException { in IkeIpv4AddrIdentification() method in IkeIpv4AddrIdentification
60 public IkeIpv4AddrIdentification(@NonNull Inet4Address address) { in IkeIpv4AddrIdentification() method in IkeIpv4AddrIdentification
75 if (!(o instanceof IkeIpv4AddrIdentification)) return false; in equals()
78 return ipv4Address.equals(((IkeIpv4AddrIdentification) o).ipv4Address); in equals()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java27 import android.net.ipsec.ike.IkeIpv4AddrIdentification;
112 IkeIpv4AddrIdentification ikeId = (IkeIpv4AddrIdentification) payload.ikeId; in testDecodeIpv4AddrIdPayload()
209 IkeIdPayload payload = new IkeIdPayload(false, new IkeIpv4AddrIdentification(ipv4Address)); in testConstructAndEncodeIpv4AddrIdPayload()
292 new IkeIdPayload(false /*isInitiator*/, new IkeIpv4AddrIdentification(CERT_SAN_IP)); in validatCertSanIp()
300 new IkeIdPayload(false /*isInitiator*/, new IkeIpv4AddrIdentification(CERT_SAN_IP)); in testThrowWhenCertAndIdMismtached()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayload.java22 import android.net.ipsec.ike.IkeIpv4AddrIdentification;
80 ikeId = new IkeIpv4AddrIdentification(idData); in IkeIdPayload()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionTest.java70 .setLocalIdentification(new IkeIpv4AddrIdentification((Inet4Address) LOCAL_ADDRESS)) in buildIkeSessionParams()
72 new IkeIpv4AddrIdentification((Inet4Address) REMOTE_ADDRESS)) in buildIkeSessionParams()
DIkeSessionParamsTest.java119 mLocalIdentification = new IkeIpv4AddrIdentification(LOCAL_IPV4_ADDRESS); in setUp()
120 mRemoteIdentification = new IkeIpv4AddrIdentification(REMOTE_IPV4_ADDRESS); in setUp()
/packages/modules/IPsec/api/
Dsystem-current.txt100 public final class IkeIpv4AddrIdentification extends android.net.ipsec.ike.IkeIdentification {
101 ctor public IkeIpv4AddrIdentification(@NonNull java.net.Inet4Address);
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java93 import android.net.ipsec.ike.IkeIpv4AddrIdentification;
283 new IkeIpv4AddrIdentification((Inet4Address) LOCAL_ADDRESS);
287 new IkeIpv4AddrIdentification((Inet4Address) REMOTE_ADDRESS);