Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b53b85cc authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "IKE API: Add getters for SessionParams, ConfigRequests" am: 48384c74...

Merge "IKE API: Add getters for SessionParams, ConfigRequests" am: 48384c74 am: 3601d279 am: c01c6a8d

Change-Id: I3565c6580b16fe9d92881555b9121600f64bceb8
parents 61c81f97 c01c6a8d
Loading
Loading
Loading
Loading
+65 −0
Original line number Diff line number Diff line
@@ -4816,6 +4816,9 @@ package android.net.ipsec.ike {
  }
  public abstract class ChildSessionParams {
    method @NonNull public java.util.List<android.net.ipsec.ike.IkeTrafficSelector> getLocalTrafficSelectors();
    method @NonNull public java.util.List<android.net.ipsec.ike.IkeTrafficSelector> getRemoteTrafficSelectors();
    method @NonNull public java.util.List<android.net.ipsec.ike.ChildSaProposal> getSaProposals();
  }
  public class IkeFqdnIdentification extends android.net.ipsec.ike.IkeIdentification {
@@ -4883,6 +4886,13 @@ package android.net.ipsec.ike {
  }
  public final class IkeSessionParams {
    method @NonNull public android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig getLocalAuthConfig();
    method @NonNull public android.net.ipsec.ike.IkeIdentification getLocalIdentification();
    method @NonNull public android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig getRemoteAuthConfig();
    method @NonNull public android.net.ipsec.ike.IkeIdentification getRemoteIdentification();
    method @NonNull public java.util.List<android.net.ipsec.ike.IkeSaProposal> getSaProposals();
    method @NonNull public java.net.InetAddress getServerAddress();
    method @NonNull public android.net.IpSecManager.UdpEncapsulationSocket getUdpEncapsulationSocket();
  }
  public static final class IkeSessionParams.Builder {
@@ -4899,6 +4909,27 @@ package android.net.ipsec.ike {
    method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setUdpEncapsulationSocket(@NonNull android.net.IpSecManager.UdpEncapsulationSocket);
  }
  public abstract static class IkeSessionParams.IkeAuthConfig {
  }
  public static class IkeSessionParams.IkeAuthDigitalSignLocalConfig extends android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig {
    method @NonNull public java.security.cert.X509Certificate getClientEndCertificate();
    method @NonNull public java.util.List<java.security.cert.X509Certificate> getIntermediateCertificates();
    method @NonNull public java.security.PrivateKey getPrivateKey();
  }
  public static class IkeSessionParams.IkeAuthDigitalSignRemoteConfig extends android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig {
    method @NonNull public java.security.cert.X509Certificate getRemoteCaCert();
  }
  public static class IkeSessionParams.IkeAuthEapConfig extends android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig {
    method @NonNull public android.net.eap.EapSessionConfig getEapConfig();
  }
  public static class IkeSessionParams.IkeAuthPskConfig extends android.net.ipsec.ike.IkeSessionParams.IkeAuthConfig {
    method @NonNull public byte[] getPsk();
  }
  public final class IkeTrafficSelector {
    ctor public IkeTrafficSelector(int, int, @NonNull java.net.InetAddress, @NonNull java.net.InetAddress);
    field public final int endPort;
@@ -4945,6 +4976,7 @@ package android.net.ipsec.ike {
  }
  public final class TunnelModeChildSessionParams extends android.net.ipsec.ike.ChildSessionParams {
    method @NonNull public java.util.List<android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest> getConfigurationRequests();
  }
  public static final class TunnelModeChildSessionParams.Builder {
@@ -4962,6 +4994,39 @@ package android.net.ipsec.ike {
    method @NonNull public android.net.ipsec.ike.TunnelModeChildSessionParams build();
  }
  public static interface TunnelModeChildSessionParams.ConfigRequest {
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv4Address extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
    method @Nullable public java.net.Inet4Address getAddress();
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
    method @Nullable public java.net.Inet4Address getAddress();
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
    method @Nullable public java.net.Inet4Address getAddress();
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv4Netmask extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv4Subnet extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv6Address extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
    method @Nullable public java.net.Inet6Address getAddress();
    method public int getPrefixLength();
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
    method @Nullable public java.net.Inet6Address getAddress();
  }
  public static interface TunnelModeChildSessionParams.ConfigRequestIpv6Subnet extends android.net.ipsec.ike.TunnelModeChildSessionParams.ConfigRequest {
  }
}
package android.net.ipsec.ike.exceptions {