Documentation
¶
Overview ¶
Package exceptions provides Go bindings for android.net.ipsec.ike.exceptions.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type IkeException
- type IkeIOException
- type IkeInternalException
- type IkeNetworkLostException
- type IkeNonProtocolException
- type IkeProtocolException
- type IkeTimeoutException
- type InvalidKeException
- type InvalidMajorVersionException
- type InvalidSelectorsException
Constants ¶
const ( ErrorTypeAuthenticationFailed = consts.ErrorTypeAuthenticationFailed ErrorTypeChildSaNotFound = consts.ErrorTypeChildSaNotFound ErrorTypeFailedCpRequired = consts.ErrorTypeFailedCpRequired ErrorTypeInternalAddressFailure = consts.ErrorTypeInternalAddressFailure ErrorTypeInvalidIkeSpi = consts.ErrorTypeInvalidIkeSpi ErrorTypeInvalidKePayload = consts.ErrorTypeInvalidKePayload ErrorTypeInvalidMajorVersion = consts.ErrorTypeInvalidMajorVersion ErrorTypeInvalidMessageId = consts.ErrorTypeInvalidMessageId ErrorTypeInvalidSelectors = consts.ErrorTypeInvalidSelectors ErrorTypeInvalidSyntax = consts.ErrorTypeInvalidSyntax ErrorTypeNoAdditionalSas = consts.ErrorTypeNoAdditionalSas ErrorTypeNoProposalChosen = consts.ErrorTypeNoProposalChosen ErrorTypeSinglePairRequired = consts.ErrorTypeSinglePairRequired ErrorTypeTemporaryFailure = consts.ErrorTypeTemporaryFailure ErrorTypeTsUnacceptable = consts.ErrorTypeTsUnacceptable ErrorTypeUnsupportedCriticalPayload = consts.ErrorTypeUnsupportedCriticalPayload )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IkeException ¶ added in v0.0.8
IkeException wraps android.net.ipsec.ike.exceptions.IkeException.
func (*IkeException) ToString ¶ added in v0.0.8
func (m *IkeException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeException.toString.
type IkeIOException ¶
IkeIOException wraps android.net.ipsec.ike.exceptions.IkeIOException.
func NewIkeIOException ¶
NewIkeIOException creates a new android.net.ipsec.ike.exceptions.IkeIOException instance.
func (*IkeIOException) GetCause0 ¶
func (m *IkeIOException) GetCause0() (*jni.Object, error)
GetCause0 calls android.net.ipsec.ike.exceptions.IkeIOException.getCause.
func (*IkeIOException) GetCause0_1 ¶
func (m *IkeIOException) GetCause0_1() (*jni.Object, error)
GetCause0_1 calls android.net.ipsec.ike.exceptions.IkeIOException.getCause.
func (*IkeIOException) ToString ¶ added in v0.0.8
func (m *IkeIOException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeIOException.toString.
type IkeInternalException ¶
IkeInternalException wraps android.net.ipsec.ike.exceptions.IkeInternalException.
func NewIkeInternalException ¶
func NewIkeInternalException(vm *jni.VM, arg0 string, arg1 *jni.Object) (*IkeInternalException, error)
NewIkeInternalException creates a new android.net.ipsec.ike.exceptions.IkeInternalException instance.
func (*IkeInternalException) ToString ¶ added in v0.0.8
func (m *IkeInternalException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeInternalException.toString.
type IkeNetworkLostException ¶
IkeNetworkLostException wraps android.net.ipsec.ike.exceptions.IkeNetworkLostException.
func NewIkeNetworkLostException ¶
NewIkeNetworkLostException creates a new android.net.ipsec.ike.exceptions.IkeNetworkLostException instance.
func (*IkeNetworkLostException) GetNetwork ¶
func (m *IkeNetworkLostException) GetNetwork() (*jni.Object, error)
GetNetwork calls android.net.ipsec.ike.exceptions.IkeNetworkLostException.getNetwork.
func (*IkeNetworkLostException) ToString ¶ added in v0.0.8
func (m *IkeNetworkLostException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeNetworkLostException.toString.
type IkeNonProtocolException ¶ added in v0.0.8
IkeNonProtocolException wraps android.net.ipsec.ike.exceptions.IkeNonProtocolException.
func (*IkeNonProtocolException) ToString ¶ added in v0.0.8
func (m *IkeNonProtocolException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeNonProtocolException.toString.
type IkeProtocolException ¶
IkeProtocolException wraps android.net.ipsec.ike.exceptions.IkeProtocolException.
func (*IkeProtocolException) GetErrorType ¶
func (m *IkeProtocolException) GetErrorType() (int32, error)
GetErrorType calls android.net.ipsec.ike.exceptions.IkeProtocolException.getErrorType.
func (*IkeProtocolException) ToString ¶ added in v0.0.8
func (m *IkeProtocolException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeProtocolException.toString.
type IkeTimeoutException ¶
IkeTimeoutException wraps android.net.ipsec.ike.exceptions.IkeTimeoutException.
func NewIkeTimeoutException ¶
func NewIkeTimeoutException(vm *jni.VM, arg0 string) (*IkeTimeoutException, error)
NewIkeTimeoutException creates a new android.net.ipsec.ike.exceptions.IkeTimeoutException instance.
func (*IkeTimeoutException) ToString ¶ added in v0.0.8
func (m *IkeTimeoutException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.IkeTimeoutException.toString.
type InvalidKeException ¶
InvalidKeException wraps android.net.ipsec.ike.exceptions.InvalidKeException.
func NewInvalidKeException ¶
func NewInvalidKeException(vm *jni.VM, arg0 int32) (*InvalidKeException, error)
NewInvalidKeException creates a new android.net.ipsec.ike.exceptions.InvalidKeException instance.
func (*InvalidKeException) GetDhGroup ¶
func (m *InvalidKeException) GetDhGroup() (int32, error)
GetDhGroup calls android.net.ipsec.ike.exceptions.InvalidKeException.getDhGroup.
func (*InvalidKeException) ToString ¶ added in v0.0.8
func (m *InvalidKeException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.InvalidKeException.toString.
type InvalidMajorVersionException ¶
InvalidMajorVersionException wraps android.net.ipsec.ike.exceptions.InvalidMajorVersionException.
func NewInvalidMajorVersionException ¶
func NewInvalidMajorVersionException(vm *jni.VM, arg0 int8) (*InvalidMajorVersionException, error)
NewInvalidMajorVersionException creates a new android.net.ipsec.ike.exceptions.InvalidMajorVersionException instance.
func (*InvalidMajorVersionException) GetMajorVersion ¶
func (m *InvalidMajorVersionException) GetMajorVersion() (int8, error)
GetMajorVersion calls android.net.ipsec.ike.exceptions.InvalidMajorVersionException.getMajorVersion.
func (*InvalidMajorVersionException) ToString ¶ added in v0.0.8
func (m *InvalidMajorVersionException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.InvalidMajorVersionException.toString.
type InvalidSelectorsException ¶
InvalidSelectorsException wraps android.net.ipsec.ike.exceptions.InvalidSelectorsException.
func NewInvalidSelectorsException ¶
func NewInvalidSelectorsException(vm *jni.VM, arg0 int32, arg1 *jni.Object) (*InvalidSelectorsException, error)
NewInvalidSelectorsException creates a new android.net.ipsec.ike.exceptions.InvalidSelectorsException instance.
func (*InvalidSelectorsException) GetIpSecPacketInfo ¶
func (m *InvalidSelectorsException) GetIpSecPacketInfo() (*jni.Object, error)
GetIpSecPacketInfo calls android.net.ipsec.ike.exceptions.InvalidSelectorsException.getIpSecPacketInfo.
func (*InvalidSelectorsException) GetIpSecSpi ¶
func (m *InvalidSelectorsException) GetIpSecSpi() (int32, error)
GetIpSecSpi calls android.net.ipsec.ike.exceptions.InvalidSelectorsException.getIpSecSpi.
func (*InvalidSelectorsException) ToString ¶ added in v0.0.8
func (m *InvalidSelectorsException) ToString() (string, error)
ToString calls android.net.ipsec.ike.exceptions.InvalidSelectorsException.toString.