IkeProtocolException
abstract class IkeProtocolException : IkeException
| kotlin.Any | ||||
| ↳ | kotlin.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | android.net.ipsec.ike.exceptions.IkeException | |||
| ↳ | android.net.ipsec.ike.exceptions.IkeProtocolException | |||
IkeProtocolException is an abstract class that represents the common information for all IKE protocol errors.
Error types are as defined by RFC 7296.
Summary
| Constants | |
|---|---|
| static Int |
IKE authentication failed |
| static Int |
Child SA in the received packet does not exist |
| static Int |
Configuration Payload required but not found in IKE setup |
| static Int |
No internal addresses can be assigned |
| static Int |
Unrecognized destination IKE SPI |
| static Int |
Invalid Key Exchange Payload |
| static Int |
Invalid major version |
| static Int |
Invalid message ID |
| static Int |
An IPsec Packet was found to have mismatched Traffic Selectors of the IPsec SA on which it was delivered |
| static Int |
Invalid syntax |
| static Int |
No additional SAa are acceptable |
| static Int |
No SA Proposal Chosen is acceptable |
| static Int |
Only Traffic Selectors specifying a single pair of addresses are acceptable |
| static Int |
Temporary failure |
| static Int |
No Traffic Selectors are acceptable |
| static Int |
Unsupported critical payload |
| Public methods | |
|---|---|
| open Int |
Returns the IKE protocol error type of this |
Constants
ERROR_TYPE_AUTHENTICATION_FAILED
static val ERROR_TYPE_AUTHENTICATION_FAILED: Int
IKE authentication failed
Value: 24ERROR_TYPE_CHILD_SA_NOT_FOUND
static val ERROR_TYPE_CHILD_SA_NOT_FOUND: Int
Child SA in the received packet does not exist
Value: 44ERROR_TYPE_FAILED_CP_REQUIRED
static val ERROR_TYPE_FAILED_CP_REQUIRED: Int
Configuration Payload required but not found in IKE setup
Value: 37ERROR_TYPE_INTERNAL_ADDRESS_FAILURE
static val ERROR_TYPE_INTERNAL_ADDRESS_FAILURE: Int
No internal addresses can be assigned
Value: 36ERROR_TYPE_INVALID_IKE_SPI
static val ERROR_TYPE_INVALID_IKE_SPI: Int
Unrecognized destination IKE SPI
Value: 4ERROR_TYPE_INVALID_KE_PAYLOAD
static val ERROR_TYPE_INVALID_KE_PAYLOAD: Int
Invalid Key Exchange Payload
Value: 17ERROR_TYPE_INVALID_MAJOR_VERSION
static val ERROR_TYPE_INVALID_MAJOR_VERSION: Int
Invalid major version
Value: 5ERROR_TYPE_INVALID_MESSAGE_ID
static val ERROR_TYPE_INVALID_MESSAGE_ID: Int
Invalid message ID
Value: 9ERROR_TYPE_INVALID_SELECTORS
static val ERROR_TYPE_INVALID_SELECTORS: Int
An IPsec Packet was found to have mismatched Traffic Selectors of the IPsec SA on which it was delivered
Value: 39ERROR_TYPE_INVALID_SYNTAX
static val ERROR_TYPE_INVALID_SYNTAX: Int
Invalid syntax
Value: 7ERROR_TYPE_NO_ADDITIONAL_SAS
static val ERROR_TYPE_NO_ADDITIONAL_SAS: Int
No additional SAa are acceptable
Value: 35ERROR_TYPE_NO_PROPOSAL_CHOSEN
static val ERROR_TYPE_NO_PROPOSAL_CHOSEN: Int
No SA Proposal Chosen is acceptable
Value: 14ERROR_TYPE_SINGLE_PAIR_REQUIRED
static val ERROR_TYPE_SINGLE_PAIR_REQUIRED: Int
Only Traffic Selectors specifying a single pair of addresses are acceptable
Value: 34ERROR_TYPE_TEMPORARY_FAILURE
static val ERROR_TYPE_TEMPORARY_FAILURE: Int
Temporary failure
Value: 43ERROR_TYPE_TS_UNACCEPTABLE
static val ERROR_TYPE_TS_UNACCEPTABLE: Int
No Traffic Selectors are acceptable
Value: 38ERROR_TYPE_UNSUPPORTED_CRITICAL_PAYLOAD
static val ERROR_TYPE_UNSUPPORTED_CRITICAL_PAYLOAD: Int
Unsupported critical payload
Value: 1Public methods
getErrorType
open fun getErrorType(): Int
Returns the IKE protocol error type of this IkeProtocolException instance.