# android.net.ipsec.ike

Added in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

# android.net.ipsec.ike

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/net/ipsec/ike/package-summary "View this page in Kotlin")\|Java

## Interfaces

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| [ChildSessionCallback](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionCallback)                                                                           | Callback interface for receiving state changes of a Child Session.                                                                          |
| [IkeSessionCallback](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionCallback)                                                                               | Callback interface for receiving state changes of an[IkeSession](https://developer.android.com/reference/android/net/ipsec/ike/IkeSession). |
| [TunnelModeChildSessionParams.ConfigRequestIpv4Address](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4Address)         | Represents an IPv4 Internal Address request                                                                                                 |
| [TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer)   | Represents an IPv4 DHCP server request                                                                                                      |
| [TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer)     | Represents an IPv4 DNS Server request                                                                                                       |
| [TunnelModeChildSessionParams.ConfigRequestIpv4Netmask](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4Netmask)         | Represents an IPv4 Netmask request                                                                                                          |
| [TunnelModeChildSessionParams.ConfigRequestIpv6Address](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6Address)         | Represents an IPv6 Internal Address request                                                                                                 |
| [TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer)     | Represents an IPv6 DNS Server request                                                                                                       |
| [TunnelModeChildSessionParams.TunnelModeChildConfigRequest](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.TunnelModeChildConfigRequest) | Represents a tunnel mode child session configuration request type                                                                           |

## Classes

|------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ChildSaProposal](https://developer.android.com/reference/android/net/ipsec/ike/ChildSaProposal)                                                                 | ChildSaProposal represents a proposed configuration to negotiate a Child SA.                                                                                                          |
| [ChildSaProposal.Builder](https://developer.android.com/reference/android/net/ipsec/ike/ChildSaProposal.Builder)                                                 | This class is used to incrementally construct a ChildSaProposal.                                                                                                                      |
| [ChildSessionConfiguration](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionConfiguration)                                             | ChildSessionConfiguration represents the negotiated configuration for a Child Session.                                                                                                |
| [ChildSessionConfiguration.Builder](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionConfiguration.Builder)                             | This class can be used to incrementally construct a[ChildSessionConfiguration](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionConfiguration).              |
| [ChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionParams)                                                           | ChildSessionParams is an abstract class that represents proposed configurations for negotiating a Child Session.                                                                      |
| [IkeDerAsn1DnIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeDerAsn1DnIdentification)                                           | This class represents an IKE entity ID based on a DER encoded ASN.1 X.500 Distinguished Name.                                                                                         |
| [IkeFqdnIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeFqdnIdentification)                                                     | IkeFqdnIdentification represents an IKE entity identification based on a fully-qualified domain name (FQDN).                                                                          |
| [IkeIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeIdentification)                                                             | IkeIdentification is abstract base class that represents the common information for all types of IKE entity identification.                                                           |
| [IkeIpv4AddrIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeIpv4AddrIdentification)                                             | IkeIpv4AddrIdentification represents an IKE entity identification based on IPv4 address.                                                                                              |
| [IkeIpv6AddrIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeIpv6AddrIdentification)                                             | IkeIpv6AddrIdentification represents an IKE entity identification based on IPv6 address.                                                                                              |
| [IkeKeyIdIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeKeyIdIdentification)                                                   | IkeKeyIdIdentification represents an IKE entity identification based on a Key ID.                                                                                                     |
| [IkeRfc822AddrIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeRfc822AddrIdentification)                                         | IkeRfc822AddrIdentification represents an IKE entity identification based on a fully-qualified RFC 822 email address ID (e.g. ike@android.com).                                       |
| [IkeSaProposal](https://developer.android.com/reference/android/net/ipsec/ike/IkeSaProposal)                                                                     | IkeSaProposal represents a proposed configuration to negotiate an IKE SA.                                                                                                             |
| [IkeSaProposal.Builder](https://developer.android.com/reference/android/net/ipsec/ike/IkeSaProposal.Builder)                                                     | This class is used to incrementally construct a IkeSaProposal.                                                                                                                        |
| [IkeSession](https://developer.android.com/reference/android/net/ipsec/ike/IkeSession)                                                                           | This class represents an IKE Session management object that allows for keying and management of[IpSecTransform](https://developer.android.com/reference/android/net/IpSecTransform)s. |
| [IkeSessionConfiguration](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConfiguration)                                                 | IkeSessionConfiguration represents the negotiated configuration for a[IkeSession](https://developer.android.com/reference/android/net/ipsec/ike/IkeSession).                          |
| [IkeSessionConfiguration.Builder](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConfiguration.Builder)                                 | This class can be used to incrementally construct a[IkeSessionConfiguration](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConfiguration).                  |
| [IkeSessionConnectionInfo](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConnectionInfo)                                               | IkeSessionConnectionInfo represents the connection information of an[IkeSession](https://developer.android.com/reference/android/net/ipsec/ike/IkeSession).                           |
| [IkeSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams)                                                               | IkeSessionParams contains all user provided configurations for negotiating an[IkeSession](https://developer.android.com/reference/android/net/ipsec/ike/IkeSession).                  |
| [IkeSessionParams.Builder](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.Builder)                                               | This class can be used to incrementally construct a[IkeSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams).                                |
| [IkeSessionParams.IkeAuthConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthConfig)                                   | This class contains common information of an IKEv2 authentication configuration.                                                                                                      |
| [IkeSessionParams.IkeAuthDigitalSignLocalConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthDigitalSignLocalConfig)   | This class represents the configuration to support IKEv2 public-key-signature-based authentication of the local side.                                                                 |
| [IkeSessionParams.IkeAuthDigitalSignRemoteConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthDigitalSignRemoteConfig) | This class represents the configuration to support IKEv2 public-key-signature-based authentication of the remote side.                                                                |
| [IkeSessionParams.IkeAuthEapConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthEapConfig)                             | This class represents the configuration to support EAP authentication of the local side.                                                                                              |
| [IkeSessionParams.IkeAuthPskConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthPskConfig)                             | This class represents the configuration to support IKEv2 pre-shared-key-based authentication of local or remote side.                                                                 |
| [IkeTrafficSelector](https://developer.android.com/reference/android/net/ipsec/ike/IkeTrafficSelector)                                                           | IkeTrafficSelector represents a Traffic Selector of a Child Session.                                                                                                                  |
| [IkeTunnelConnectionParams](https://developer.android.com/reference/android/net/ipsec/ike/IkeTunnelConnectionParams)                                             | IkeTunnelConnectionParams contains IKEv2 configurations to establish an IKE/IPsec tunnel.                                                                                             |
| [SaProposal](https://developer.android.com/reference/android/net/ipsec/ike/SaProposal)                                                                           | SaProposal represents a proposed configuration to negotiate an IKE or Child SA.                                                                                                       |
| [TransportModeChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/TransportModeChildSessionParams)                                 | TransportModeChildSessionParams represents proposed configurations for negotiating a transport mode Child Session.                                                                    |
| [TransportModeChildSessionParams.Builder](https://developer.android.com/reference/android/net/ipsec/ike/TransportModeChildSessionParams.Builder)                 | This class can be used to incrementally construct a[TransportModeChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/TransportModeChildSessionParams).  |
| [TunnelModeChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams)                                       | TunnelModeChildSessionParams represents proposed configurations for negotiating a tunnel mode Child Session.                                                                          |
| [TunnelModeChildSessionParams.Builder](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.Builder)                       | This class can be used to incrementally construct a[TunnelModeChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams).        |

-

  ## Interfaces

  - [ChildSessionCallback](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionCallback)
  - [IkeSessionCallback](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionCallback)
  - [TunnelModeChildSessionParams.ConfigRequestIpv4Address](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4Address)
  - [TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer)
  - [TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer)
  - [TunnelModeChildSessionParams.ConfigRequestIpv4Netmask](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv4Netmask)
  - [TunnelModeChildSessionParams.ConfigRequestIpv6Address](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6Address)
  - [TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer)
  - [TunnelModeChildSessionParams.TunnelModeChildConfigRequest](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.TunnelModeChildConfigRequest)
-

  ## Classes

  - [ChildSaProposal](https://developer.android.com/reference/android/net/ipsec/ike/ChildSaProposal)
  - [ChildSaProposal.Builder](https://developer.android.com/reference/android/net/ipsec/ike/ChildSaProposal.Builder)
  - [ChildSessionConfiguration](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionConfiguration)
  - [ChildSessionConfiguration.Builder](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionConfiguration.Builder)
  - [ChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/ChildSessionParams)
  - [IkeDerAsn1DnIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeDerAsn1DnIdentification)
  - [IkeFqdnIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeFqdnIdentification)
  - [IkeIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeIdentification)
  - [IkeIpv4AddrIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeIpv4AddrIdentification)
  - [IkeIpv6AddrIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeIpv6AddrIdentification)
  - [IkeKeyIdIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeKeyIdIdentification)
  - [IkeRfc822AddrIdentification](https://developer.android.com/reference/android/net/ipsec/ike/IkeRfc822AddrIdentification)
  - [IkeSaProposal](https://developer.android.com/reference/android/net/ipsec/ike/IkeSaProposal)
  - [IkeSaProposal.Builder](https://developer.android.com/reference/android/net/ipsec/ike/IkeSaProposal.Builder)
  - [IkeSession](https://developer.android.com/reference/android/net/ipsec/ike/IkeSession)
  - [IkeSessionConfiguration](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConfiguration)
  - [IkeSessionConfiguration.Builder](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConfiguration.Builder)
  - [IkeSessionConnectionInfo](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionConnectionInfo)
  - [IkeSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams)
  - [IkeSessionParams.Builder](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.Builder)
  - [IkeSessionParams.IkeAuthConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthConfig)
  - [IkeSessionParams.IkeAuthDigitalSignLocalConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthDigitalSignLocalConfig)
  - [IkeSessionParams.IkeAuthDigitalSignRemoteConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthDigitalSignRemoteConfig)
  - [IkeSessionParams.IkeAuthEapConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthEapConfig)
  - [IkeSessionParams.IkeAuthPskConfig](https://developer.android.com/reference/android/net/ipsec/ike/IkeSessionParams.IkeAuthPskConfig)
  - [IkeTrafficSelector](https://developer.android.com/reference/android/net/ipsec/ike/IkeTrafficSelector)
  - [IkeTunnelConnectionParams](https://developer.android.com/reference/android/net/ipsec/ike/IkeTunnelConnectionParams)
  - [SaProposal](https://developer.android.com/reference/android/net/ipsec/ike/SaProposal)
  - [TransportModeChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/TransportModeChildSessionParams)
  - [TransportModeChildSessionParams.Builder](https://developer.android.com/reference/android/net/ipsec/ike/TransportModeChildSessionParams.Builder)
  - [TunnelModeChildSessionParams](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams)
  - [TunnelModeChildSessionParams.Builder](https://developer.android.com/reference/android/net/ipsec/ike/TunnelModeChildSessionParams.Builder)