Home
last modified time | relevance | path

Searched refs:IkeIdentification (Results 1 – 13 of 13) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayload.java21 import android.net.ipsec.ike.IkeIdentification;
50 public final IkeIdentification ikeId;
79 case IkeIdentification.ID_TYPE_IPV4_ADDR: in IkeIdPayload()
82 case IkeIdentification.ID_TYPE_FQDN: in IkeIdPayload()
85 case IkeIdentification.ID_TYPE_RFC822_ADDR: in IkeIdPayload()
88 case IkeIdentification.ID_TYPE_IPV6_ADDR: in IkeIdPayload()
91 case IkeIdentification.ID_TYPE_DER_ASN1_DN: in IkeIdPayload()
94 case IkeIdentification.ID_TYPE_KEY_ID: in IkeIdPayload()
109 public IkeIdPayload(boolean isInitiator, IkeIdentification ikeId) { in IkeIdPayload()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java142 @NonNull private final IkeIdentification mLocalIdentification;
143 @NonNull private final IkeIdentification mRemoteIdentification;
165 @NonNull IkeIdentification localIdentification, in IkeSessionParams()
166 @NonNull IkeIdentification remoteIdentification, in IkeSessionParams()
240 public IkeIdentification getLocalIdentification() { in getLocalIdentification()
246 public IkeIdentification getRemoteIdentification() { in getRemoteIdentification()
499 @Nullable private IkeIdentification mLocalIdentification;
500 @Nullable private IkeIdentification mRemoteIdentification;
572 public Builder setLocalIdentification(@NonNull IkeIdentification identification) { in setLocalIdentification()
588 public Builder setRemoteIdentification(@NonNull IkeIdentification identification) { in setRemoteIdentification()
[all …]
DIkeIdentification.java44 public abstract class IkeIdentification { class
97 protected IkeIdentification(@IdType int type) { in IkeIdentification() method in IkeIdentification
DIkeKeyIdIdentification.java36 public final class IkeKeyIdIdentification extends IkeIdentification {
DIkeRfc822AddrIdentification.java35 public final class IkeRfc822AddrIdentification extends IkeIdentification {
DIkeIpv4AddrIdentification.java35 public final class IkeIpv4AddrIdentification extends IkeIdentification {
DIkeFqdnIdentification.java35 public class IkeFqdnIdentification extends IkeIdentification {
DIkeDerAsn1DnIdentification.java36 public final class IkeDerAsn1DnIdentification extends IkeIdentification {
DIkeIpv6AddrIdentification.java35 public class IkeIpv6AddrIdentification extends IkeIdentification {
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java26 import android.net.ipsec.ike.IkeIdentification;
111 assertEquals(IkeIdentification.ID_TYPE_IPV4_ADDR, payload.ikeId.idType); in testDecodeIpv4AddrIdPayload()
124 assertEquals(IkeIdentification.ID_TYPE_IPV6_ADDR, payload.ikeId.idType); in testDecodeIpv6AddrIdPayload()
138 assertEquals(IkeIdentification.ID_TYPE_FQDN, payload.ikeId.idType); in testDecodeFqdnIdPayload()
150 assertEquals(IkeIdentification.ID_TYPE_RFC822_ADDR, payload.ikeId.idType); in testDecodeRfc822AddrIdPayload()
162 assertEquals(IkeIdentification.ID_TYPE_KEY_ID, payload.ikeId.idType); in testDecodeKeyIdPayload()
174 assertEquals(IkeIdentification.ID_TYPE_DER_ASN1_DN, payload.ikeId.idType); in testDecodeDerAsn1DnIdPayload()
/packages/modules/IPsec/api/
Dsystem-current.txt87 public final class IkeDerAsn1DnIdentification extends android.net.ipsec.ike.IkeIdentification {
92 public class IkeFqdnIdentification extends android.net.ipsec.ike.IkeIdentification {
97 public abstract class IkeIdentification {
100 public final class IkeIpv4AddrIdentification extends android.net.ipsec.ike.IkeIdentification {
105 public class IkeIpv6AddrIdentification extends android.net.ipsec.ike.IkeIdentification {
110 public final class IkeKeyIdIdentification extends android.net.ipsec.ike.IkeIdentification {
115 public final class IkeRfc822AddrIdentification extends android.net.ipsec.ike.IkeIdentification {
169 method @NonNull public android.net.ipsec.ike.IkeIdentification getLocalIdentification();
172 method @NonNull public android.net.ipsec.ike.IkeIdentification getRemoteIdentification();
196 ….IkeSessionParams.Builder setLocalIdentification(@NonNull android.net.ipsec.ike.IkeIdentification);
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java97 private IkeIdentification mLocalIdentification;
98 private IkeIdentification mRemoteIdentification;
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java92 import android.net.ipsec.ike.IkeIdentification;
282 private static final IkeIdentification LOCAL_ID_IPV4 =
284 private static final IkeIdentification REMOTE_ID_FQDN =
286 private static final IkeIdentification REMOTE_ID_IPV4 =
2374 private IkeIdPayload makeRespIdPayload(IkeIdentification ikeId) { in makeRespIdPayload()