ChildSessionConfiguration


public final class ChildSessionConfiguration
extends Object

java.lang.Object
   ↳ android.net.ipsec.ike.ChildSessionConfiguration


ChildSessionConfiguration represents the negotiated configuration for a Child Session.

Configurations include traffic selectors and internal network information.

Summary

Nested classes

class ChildSessionConfiguration.Builder

This class can be used to incrementally construct a ChildSessionConfiguration

Public methods

List<IkeTrafficSelector> getInboundTrafficSelectors()

Returns the negotiated inbound traffic selectors.

List<IkeTrafficSelector> getOutboundTrafficSelectors()

Returns the negotiated outbound traffic selectors.

Inherited methods

Public methods

getInboundTrafficSelectors

Added in API level 31
public List<IkeTrafficSelector> getInboundTrafficSelectors ()

Returns the negotiated inbound traffic selectors.

Only inbound traffic within the range is acceptable to the Child Session.

The Android platform does not support port-based routing. Port ranges of traffic selectors are only informational.

Returns
List<IkeTrafficSelector> the inbound traffic selectors. This value cannot be null.

getOutboundTrafficSelectors

Added in API level 31
public List<IkeTrafficSelector> getOutboundTrafficSelectors ()

Returns the negotiated outbound traffic selectors.

Only outbound traffic within the range is acceptable to the Child Session.

The Android platform does not support port-based routing. Port ranges of traffic selectors are only informational.

Returns
List<IkeTrafficSelector> the outbound traffic selectors. This value cannot be null.