IkeTrafficSelector
class IkeTrafficSelector
| kotlin.Any | |
| ↳ | android.net.ipsec.ike.IkeTrafficSelector |
IkeTrafficSelector represents a Traffic Selector of a Child Session.
Traffic Selectors specify addresses that are acceptable within the IPsec SA.
Callers can propose IkeTrafficSelectors when building a ChildSessionParams and receive the negotiated IkeTrafficSelectors via a ChildSessionConfiguration.
Summary
| Public constructors | |
|---|---|
IkeTrafficSelector(startPort: Int, endPort: Int, startingAddress: InetAddress, endingAddress: InetAddress)Construct an instance of |
|
| Properties | |
|---|---|
| Int |
The largest port number allowed by this Traffic Selector. |
| InetAddress |
The largest address included in this Traffic Selector. |
| Int |
The smallest port number allowed by this Traffic Selector. |
| InetAddress |
The smallest address included in this Traffic Selector. |
Public constructors
IkeTrafficSelector
IkeTrafficSelector(
startPort: Int,
endPort: Int,
startingAddress: InetAddress,
endingAddress: InetAddress)
Construct an instance of IkeTrafficSelector for negotiating a Child Session.
Android platform does not support port-based routing. The port range negotiation is only informational.
| Parameters | |
|---|---|
startPort |
Int: the smallest port number allowed by this Traffic Selector. |
endPort |
Int: the largest port number allowed by this Traffic Selector. |
startingAddress |
InetAddress: the smallest address included in this Traffic Selector. This value cannot be null. |
endingAddress |
InetAddress: the largest address included in this Traffic Selector. This value cannot be null. |
Properties
endPort
val endPort: Int
The largest port number allowed by this Traffic Selector. Informational only.
endingAddress
val endingAddress: InetAddress
The largest address included in this Traffic Selector.
startPort
val startPort: Int
The smallest port number allowed by this Traffic Selector. Informational only.
startingAddress
val startingAddress: InetAddress
The smallest address included in this Traffic Selector.