exceptions

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 6 Imported by: 1

Documentation

Overview

Package exceptions provides Go bindings for android.net.ipsec.ike.exceptions.

Index

Constants

View Source
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

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type IkeIOException

type IkeIOException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IkeIOException wraps android.net.ipsec.ike.exceptions.IkeIOException.

func NewIkeIOException

func NewIkeIOException(vm *jni.VM, arg0 *jni.Object) (*IkeIOException, error)

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.

type IkeInternalException

type IkeInternalException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

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.

type IkeNetworkLostException

type IkeNetworkLostException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IkeNetworkLostException wraps android.net.ipsec.ike.exceptions.IkeNetworkLostException.

func NewIkeNetworkLostException

func NewIkeNetworkLostException(vm *jni.VM, arg0 *jni.Object) (*IkeNetworkLostException, error)

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.

type IkeProtocolException

type IkeProtocolException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

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.

type IkeTimeoutException

type IkeTimeoutException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

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.

type InvalidKeException

type InvalidKeException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

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.

type InvalidMajorVersionException

type InvalidMajorVersionException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

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.

type InvalidSelectorsException

type InvalidSelectorsException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL