eap

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: 0

Documentation

Overview

Package eap provides Go bindings for android.net.eap.

Index

Constants

View Source
const (
	EapTypeAka      = consts.EapTypeAka
	EapTypeAkaPrime = consts.EapTypeAkaPrime
	EapTypeMschapV2 = consts.EapTypeMschapV2
	EapTypeSim      = consts.EapTypeSim
	EapTypeTtls     = consts.EapTypeTtls
)

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 AkaInfo

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

AkaInfo wraps android.net.eap.EapAkaInfo.

func (*AkaInfo) GetReauthId

func (m *AkaInfo) GetReauthId() (*jni.Object, error)

GetReauthId calls android.net.eap.EapAkaInfo.getReauthId.

type AkaInfoBuilder

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

AkaInfoBuilder wraps android.net.eap.EapAkaInfo$Builder.

func (*AkaInfoBuilder) Build

func (m *AkaInfoBuilder) Build() (*jni.Object, error)

Build calls android.net.eap.EapAkaInfo$Builder.build.

func (*AkaInfoBuilder) SetReauthId

func (m *AkaInfoBuilder) SetReauthId(arg0 *jni.Object) (*jni.Object, error)

SetReauthId calls android.net.eap.EapAkaInfo$Builder.setReauthId.

type Info

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

Info wraps android.net.eap.EapInfo.

func (*Info) GetEapMethodType

func (m *Info) GetEapMethodType() (int32, error)

GetEapMethodType calls android.net.eap.EapInfo.getEapMethodType.

type SessionConfig

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

SessionConfig wraps android.net.eap.EapSessionConfig.

func (*SessionConfig) Equals

func (m *SessionConfig) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig.equals.

func (*SessionConfig) GetEapAkaConfig

func (m *SessionConfig) GetEapAkaConfig() (*jni.Object, error)

GetEapAkaConfig calls android.net.eap.EapSessionConfig.getEapAkaConfig.

func (*SessionConfig) GetEapAkaPrimeConfig

func (m *SessionConfig) GetEapAkaPrimeConfig() (*jni.Object, error)

GetEapAkaPrimeConfig calls android.net.eap.EapSessionConfig.getEapAkaPrimeConfig.

func (*SessionConfig) GetEapIdentity

func (m *SessionConfig) GetEapIdentity() (*jni.Object, error)

GetEapIdentity calls android.net.eap.EapSessionConfig.getEapIdentity.

func (*SessionConfig) GetEapMsChapV2Config

func (m *SessionConfig) GetEapMsChapV2Config() (*jni.Object, error)

GetEapMsChapV2Config calls android.net.eap.EapSessionConfig.getEapMsChapV2Config.

func (*SessionConfig) GetEapSimConfig

func (m *SessionConfig) GetEapSimConfig() (*jni.Object, error)

GetEapSimConfig calls android.net.eap.EapSessionConfig.getEapSimConfig.

func (*SessionConfig) GetEapTtlsConfig

func (m *SessionConfig) GetEapTtlsConfig() (*jni.Object, error)

GetEapTtlsConfig calls android.net.eap.EapSessionConfig.getEapTtlsConfig.

func (*SessionConfig) HashCode

func (m *SessionConfig) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig.hashCode.

type SessionConfigBuilder

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

SessionConfigBuilder wraps android.net.eap.EapSessionConfig$Builder.

func (*SessionConfigBuilder) Build

func (m *SessionConfigBuilder) Build() (*jni.Object, error)

Build calls android.net.eap.EapSessionConfig$Builder.build.

func (*SessionConfigBuilder) SetEapAkaConfig2

func (m *SessionConfigBuilder) SetEapAkaConfig2(arg0 int32, arg1 int32) (*jni.Object, error)

SetEapAkaConfig2 calls android.net.eap.EapSessionConfig$Builder.setEapAkaConfig.

func (*SessionConfigBuilder) SetEapAkaConfig3_1

func (m *SessionConfigBuilder) SetEapAkaConfig3_1(
	arg0 int32,
	arg1 int32,
	arg2 *jni.Object,
) (*jni.Object, error)

SetEapAkaConfig3_1 calls android.net.eap.EapSessionConfig$Builder.setEapAkaConfig.

func (*SessionConfigBuilder) SetEapAkaPrimeConfig

func (m *SessionConfigBuilder) SetEapAkaPrimeConfig(
	arg0 int32,
	arg1 int32,
	arg2 string,
	arg3 bool,
) (*jni.Object, error)

SetEapAkaPrimeConfig calls android.net.eap.EapSessionConfig$Builder.setEapAkaPrimeConfig.

func (*SessionConfigBuilder) SetEapIdentity

func (m *SessionConfigBuilder) SetEapIdentity(arg0 *jni.Object) (*jni.Object, error)

SetEapIdentity calls android.net.eap.EapSessionConfig$Builder.setEapIdentity.

func (*SessionConfigBuilder) SetEapMsChapV2Config

func (m *SessionConfigBuilder) SetEapMsChapV2Config(arg0 string, arg1 string) (*jni.Object, error)

SetEapMsChapV2Config calls android.net.eap.EapSessionConfig$Builder.setEapMsChapV2Config.

func (*SessionConfigBuilder) SetEapSimConfig

func (m *SessionConfigBuilder) SetEapSimConfig(arg0 int32, arg1 int32) (*jni.Object, error)

SetEapSimConfig calls android.net.eap.EapSessionConfig$Builder.setEapSimConfig.

func (*SessionConfigBuilder) SetEapTtlsConfig

func (m *SessionConfigBuilder) SetEapTtlsConfig(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

SetEapTtlsConfig calls android.net.eap.EapSessionConfig$Builder.setEapTtlsConfig.

type SessionConfigEapAkaConfig

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

SessionConfigEapAkaConfig wraps android.net.eap.EapSessionConfig$EapAkaConfig.

func (*SessionConfigEapAkaConfig) Equals

func (m *SessionConfigEapAkaConfig) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapAkaConfig.equals.

func (*SessionConfigEapAkaConfig) GetAppType

func (m *SessionConfigEapAkaConfig) GetAppType() (int32, error)

GetAppType calls android.net.eap.EapSessionConfig$EapAkaConfig.getAppType.

func (*SessionConfigEapAkaConfig) GetEapAkaOption

func (m *SessionConfigEapAkaConfig) GetEapAkaOption() (*jni.Object, error)

GetEapAkaOption calls android.net.eap.EapSessionConfig$EapAkaConfig.getEapAkaOption.

func (*SessionConfigEapAkaConfig) GetSubId

func (m *SessionConfigEapAkaConfig) GetSubId() (int32, error)

GetSubId calls android.net.eap.EapSessionConfig$EapAkaConfig.getSubId.

func (*SessionConfigEapAkaConfig) HashCode

func (m *SessionConfigEapAkaConfig) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapAkaConfig.hashCode.

type SessionConfigEapAkaOption

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

SessionConfigEapAkaOption wraps android.net.eap.EapSessionConfig$EapAkaOption.

func (*SessionConfigEapAkaOption) Equals

func (m *SessionConfigEapAkaOption) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapAkaOption.equals.

func (*SessionConfigEapAkaOption) GetReauthId

func (m *SessionConfigEapAkaOption) GetReauthId() (*jni.Object, error)

GetReauthId calls android.net.eap.EapSessionConfig$EapAkaOption.getReauthId.

func (*SessionConfigEapAkaOption) HashCode

func (m *SessionConfigEapAkaOption) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapAkaOption.hashCode.

type SessionConfigEapAkaPrimeConfig

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

SessionConfigEapAkaPrimeConfig wraps android.net.eap.EapSessionConfig$EapAkaPrimeConfig.

func (*SessionConfigEapAkaPrimeConfig) AllowsMismatchedNetworkNames

func (m *SessionConfigEapAkaPrimeConfig) AllowsMismatchedNetworkNames() (bool, error)

AllowsMismatchedNetworkNames calls android.net.eap.EapSessionConfig$EapAkaPrimeConfig.allowsMismatchedNetworkNames.

func (*SessionConfigEapAkaPrimeConfig) Equals

func (m *SessionConfigEapAkaPrimeConfig) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapAkaPrimeConfig.equals.

func (*SessionConfigEapAkaPrimeConfig) GetNetworkName

func (m *SessionConfigEapAkaPrimeConfig) GetNetworkName() (string, error)

GetNetworkName calls android.net.eap.EapSessionConfig$EapAkaPrimeConfig.getNetworkName.

func (*SessionConfigEapAkaPrimeConfig) HashCode

func (m *SessionConfigEapAkaPrimeConfig) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapAkaPrimeConfig.hashCode.

type SessionConfigEapMethodConfig

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

SessionConfigEapMethodConfig wraps android.net.eap.EapSessionConfig$EapMethodConfig.

func (*SessionConfigEapMethodConfig) Equals

func (m *SessionConfigEapMethodConfig) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapMethodConfig.equals.

func (*SessionConfigEapMethodConfig) GetMethodType

func (m *SessionConfigEapMethodConfig) GetMethodType() (int32, error)

GetMethodType calls android.net.eap.EapSessionConfig$EapMethodConfig.getMethodType.

func (*SessionConfigEapMethodConfig) HashCode

func (m *SessionConfigEapMethodConfig) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapMethodConfig.hashCode.

type SessionConfigEapMsChapV2Config

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

SessionConfigEapMsChapV2Config wraps android.net.eap.EapSessionConfig$EapMsChapV2Config.

func (*SessionConfigEapMsChapV2Config) Equals

func (m *SessionConfigEapMsChapV2Config) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapMsChapV2Config.equals.

func (*SessionConfigEapMsChapV2Config) GetPassword

func (m *SessionConfigEapMsChapV2Config) GetPassword() (string, error)

GetPassword calls android.net.eap.EapSessionConfig$EapMsChapV2Config.getPassword.

func (*SessionConfigEapMsChapV2Config) GetUsername

func (m *SessionConfigEapMsChapV2Config) GetUsername() (string, error)

GetUsername calls android.net.eap.EapSessionConfig$EapMsChapV2Config.getUsername.

func (*SessionConfigEapMsChapV2Config) HashCode

func (m *SessionConfigEapMsChapV2Config) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapMsChapV2Config.hashCode.

type SessionConfigEapSimConfig

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

SessionConfigEapSimConfig wraps android.net.eap.EapSessionConfig$EapSimConfig.

func (*SessionConfigEapSimConfig) Equals

func (m *SessionConfigEapSimConfig) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapSimConfig.equals.

func (*SessionConfigEapSimConfig) GetAppType

func (m *SessionConfigEapSimConfig) GetAppType() (int32, error)

GetAppType calls android.net.eap.EapSessionConfig$EapSimConfig.getAppType.

func (*SessionConfigEapSimConfig) GetSubId

func (m *SessionConfigEapSimConfig) GetSubId() (int32, error)

GetSubId calls android.net.eap.EapSessionConfig$EapSimConfig.getSubId.

func (*SessionConfigEapSimConfig) HashCode

func (m *SessionConfigEapSimConfig) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapSimConfig.hashCode.

type SessionConfigEapTtlsConfig

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

SessionConfigEapTtlsConfig wraps android.net.eap.EapSessionConfig$EapTtlsConfig.

func (*SessionConfigEapTtlsConfig) Equals

func (m *SessionConfigEapTtlsConfig) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.eap.EapSessionConfig$EapTtlsConfig.equals.

func (*SessionConfigEapTtlsConfig) GetInnerEapSessionConfig

func (m *SessionConfigEapTtlsConfig) GetInnerEapSessionConfig() (*jni.Object, error)

GetInnerEapSessionConfig calls android.net.eap.EapSessionConfig$EapTtlsConfig.getInnerEapSessionConfig.

func (*SessionConfigEapTtlsConfig) GetServerCaCert

func (m *SessionConfigEapTtlsConfig) GetServerCaCert() (*jni.Object, error)

GetServerCaCert calls android.net.eap.EapSessionConfig$EapTtlsConfig.getServerCaCert.

func (*SessionConfigEapTtlsConfig) HashCode

func (m *SessionConfigEapTtlsConfig) HashCode() (int32, error)

HashCode calls android.net.eap.EapSessionConfig$EapTtlsConfig.hashCode.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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