ike

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	ExtensionTypeFragmentation          = consts.ExtensionTypeFragmentation
	ExtensionTypeMobike                 = consts.ExtensionTypeMobike
	DhGroup1024BitModp                  = consts.DhGroup1024BitModp
	DhGroup1536BitModp                  = consts.DhGroup1536BitModp
	DhGroup2048BitModp                  = consts.DhGroup2048BitModp
	DhGroup3072BitModp                  = consts.DhGroup3072BitModp
	DhGroup4096BitModp                  = consts.DhGroup4096BitModp
	DhGroupCurve25519                   = consts.DhGroupCurve25519
	DhGroupNone                         = consts.DhGroupNone
	EncryptionAlgorithm3des             = consts.EncryptionAlgorithm3des
	EncryptionAlgorithmAesCbc           = consts.EncryptionAlgorithmAesCbc
	EncryptionAlgorithmAesCtr           = consts.EncryptionAlgorithmAesCtr
	EncryptionAlgorithmAesGcm12         = consts.EncryptionAlgorithmAesGcm12
	EncryptionAlgorithmAesGcm16         = consts.EncryptionAlgorithmAesGcm16
	EncryptionAlgorithmAesGcm8          = consts.EncryptionAlgorithmAesGcm8
	EncryptionAlgorithmChacha20Poly1305 = consts.EncryptionAlgorithmChacha20Poly1305
	IntegrityAlgorithmAesCmac96         = consts.IntegrityAlgorithmAesCmac96
	IntegrityAlgorithmAesXcbc96         = consts.IntegrityAlgorithmAesXcbc96
	IntegrityAlgorithmHmacSha196        = consts.IntegrityAlgorithmHmacSha196
	IntegrityAlgorithmHmacSha2256128    = consts.IntegrityAlgorithmHmacSha2256128
	IntegrityAlgorithmHmacSha2384192    = consts.IntegrityAlgorithmHmacSha2384192
	IntegrityAlgorithmHmacSha2512256    = consts.IntegrityAlgorithmHmacSha2512256
	IntegrityAlgorithmNone              = consts.IntegrityAlgorithmNone
	KeyLenAes128                        = consts.KeyLenAes128
	KeyLenAes192                        = consts.KeyLenAes192
	KeyLenAes256                        = consts.KeyLenAes256
	KeyLenUnused                        = consts.KeyLenUnused
	PseudorandomFunctionAes128Cmac      = consts.PseudorandomFunctionAes128Cmac
	PseudorandomFunctionAes128Xcbc      = consts.PseudorandomFunctionAes128Xcbc
	PseudorandomFunctionHmacSha1        = consts.PseudorandomFunctionHmacSha1
	PseudorandomFunctionSha2256         = consts.PseudorandomFunctionSha2256
	PseudorandomFunctionSha2384         = consts.PseudorandomFunctionSha2384
	PseudorandomFunctionSha2512         = consts.PseudorandomFunctionSha2512
	IkeDpdDelaySecDisabled              = consts.IkeDpdDelaySecDisabled
	IkeOptionAcceptAnyRemoteId          = consts.IkeOptionAcceptAnyRemoteId
	IkeOptionEapOnlyAuth                = consts.IkeOptionEapOnlyAuth
	IkeOptionForcePort4500              = consts.IkeOptionForcePort4500
	IkeOptionInitialContact             = consts.IkeOptionInitialContact
	IkeOptionMobike                     = consts.IkeOptionMobike
)

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 ChildSaProposal

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

ChildSaProposal wraps android.net.ipsec.ike.ChildSaProposal.

func (*ChildSaProposal) Equals

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

Equals calls android.net.ipsec.ike.ChildSaProposal.equals.

func (*ChildSaProposal) GetSupportedEncryptionAlgorithms added in v0.0.8

func (m *ChildSaProposal) GetSupportedEncryptionAlgorithms() (*jni.Object, error)

GetSupportedEncryptionAlgorithms calls android.net.ipsec.ike.ChildSaProposal.getSupportedEncryptionAlgorithms.

func (*ChildSaProposal) GetSupportedIntegrityAlgorithms added in v0.0.8

func (m *ChildSaProposal) GetSupportedIntegrityAlgorithms() (*jni.Object, error)

GetSupportedIntegrityAlgorithms calls android.net.ipsec.ike.ChildSaProposal.getSupportedIntegrityAlgorithms.

func (*ChildSaProposal) HashCode

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

HashCode calls android.net.ipsec.ike.ChildSaProposal.hashCode.

func (*ChildSaProposal) ToString added in v0.0.8

func (m *ChildSaProposal) ToString() (string, error)

ToString calls android.net.ipsec.ike.ChildSaProposal.toString.

type ChildSaProposalBuilder

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

ChildSaProposalBuilder wraps android.net.ipsec.ike.ChildSaProposal$Builder.

func (*ChildSaProposalBuilder) AddDhGroup

func (m *ChildSaProposalBuilder) AddDhGroup(arg0 int32) (*jni.Object, error)

AddDhGroup calls android.net.ipsec.ike.ChildSaProposal$Builder.addDhGroup.

func (*ChildSaProposalBuilder) AddEncryptionAlgorithm

func (m *ChildSaProposalBuilder) AddEncryptionAlgorithm(arg0 int32, arg1 int32) (*jni.Object, error)

AddEncryptionAlgorithm calls android.net.ipsec.ike.ChildSaProposal$Builder.addEncryptionAlgorithm.

func (*ChildSaProposalBuilder) AddIntegrityAlgorithm

func (m *ChildSaProposalBuilder) AddIntegrityAlgorithm(arg0 int32) (*jni.Object, error)

AddIntegrityAlgorithm calls android.net.ipsec.ike.ChildSaProposal$Builder.addIntegrityAlgorithm.

func (*ChildSaProposalBuilder) Build

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

Build calls android.net.ipsec.ike.ChildSaProposal$Builder.build.

func (*ChildSaProposalBuilder) ToString added in v0.0.8

func (m *ChildSaProposalBuilder) ToString() (string, error)

ToString calls android.net.ipsec.ike.ChildSaProposal$Builder.toString.

type ChildSessionCallback

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

ChildSessionCallback wraps android.net.ipsec.ike.ChildSessionCallback.

func (*ChildSessionCallback) OnClosed

func (m *ChildSessionCallback) OnClosed() error

OnClosed calls android.net.ipsec.ike.ChildSessionCallback.onClosed.

func (*ChildSessionCallback) OnIpSecTransformCreated

func (m *ChildSessionCallback) OnIpSecTransformCreated(arg0 *jni.Object, arg1 int32) error

OnIpSecTransformCreated calls android.net.ipsec.ike.ChildSessionCallback.onIpSecTransformCreated.

func (*ChildSessionCallback) OnIpSecTransformDeleted

func (m *ChildSessionCallback) OnIpSecTransformDeleted(arg0 *jni.Object, arg1 int32) error

OnIpSecTransformDeleted calls android.net.ipsec.ike.ChildSessionCallback.onIpSecTransformDeleted.

func (*ChildSessionCallback) OnOpened

func (m *ChildSessionCallback) OnOpened(arg0 *jni.Object) error

OnOpened calls android.net.ipsec.ike.ChildSessionCallback.onOpened.

func (*ChildSessionCallback) ToString added in v0.0.8

func (m *ChildSessionCallback) ToString() (string, error)

ToString calls android.net.ipsec.ike.ChildSessionCallback.toString.

type ChildSessionConfiguration added in v0.0.8

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

ChildSessionConfiguration wraps android.net.ipsec.ike.ChildSessionConfiguration.

func (*ChildSessionConfiguration) GetInboundTrafficSelectors added in v0.0.8

func (m *ChildSessionConfiguration) GetInboundTrafficSelectors() (*jni.Object, error)

GetInboundTrafficSelectors calls android.net.ipsec.ike.ChildSessionConfiguration.getInboundTrafficSelectors.

func (*ChildSessionConfiguration) GetOutboundTrafficSelectors added in v0.0.8

func (m *ChildSessionConfiguration) GetOutboundTrafficSelectors() (*jni.Object, error)

GetOutboundTrafficSelectors calls android.net.ipsec.ike.ChildSessionConfiguration.getOutboundTrafficSelectors.

func (*ChildSessionConfiguration) ToString added in v0.0.8

func (m *ChildSessionConfiguration) ToString() (string, error)

ToString calls android.net.ipsec.ike.ChildSessionConfiguration.toString.

type ChildSessionConfigurationBuilder

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

ChildSessionConfigurationBuilder wraps android.net.ipsec.ike.ChildSessionConfiguration$Builder.

func (*ChildSessionConfigurationBuilder) Build

Build calls android.net.ipsec.ike.ChildSessionConfiguration$Builder.build.

func (*ChildSessionConfigurationBuilder) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.ChildSessionConfiguration$Builder.toString.

type ChildSessionParams

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

ChildSessionParams wraps android.net.ipsec.ike.ChildSessionParams.

func (*ChildSessionParams) Equals

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

Equals calls android.net.ipsec.ike.ChildSessionParams.equals.

func (*ChildSessionParams) GetChildSaProposals added in v0.0.8

func (m *ChildSessionParams) GetChildSaProposals() (*jni.Object, error)

GetChildSaProposals calls android.net.ipsec.ike.ChildSessionParams.getChildSaProposals.

func (*ChildSessionParams) GetHardLifetimeSeconds

func (m *ChildSessionParams) GetHardLifetimeSeconds() (int32, error)

GetHardLifetimeSeconds calls android.net.ipsec.ike.ChildSessionParams.getHardLifetimeSeconds.

func (*ChildSessionParams) GetInboundTrafficSelectors added in v0.0.8

func (m *ChildSessionParams) GetInboundTrafficSelectors() (*jni.Object, error)

GetInboundTrafficSelectors calls android.net.ipsec.ike.ChildSessionParams.getInboundTrafficSelectors.

func (*ChildSessionParams) GetOutboundTrafficSelectors added in v0.0.8

func (m *ChildSessionParams) GetOutboundTrafficSelectors() (*jni.Object, error)

GetOutboundTrafficSelectors calls android.net.ipsec.ike.ChildSessionParams.getOutboundTrafficSelectors.

func (*ChildSessionParams) GetSoftLifetimeSeconds

func (m *ChildSessionParams) GetSoftLifetimeSeconds() (int32, error)

GetSoftLifetimeSeconds calls android.net.ipsec.ike.ChildSessionParams.getSoftLifetimeSeconds.

func (*ChildSessionParams) HashCode

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

HashCode calls android.net.ipsec.ike.ChildSessionParams.hashCode.

func (*ChildSessionParams) ToString added in v0.0.8

func (m *ChildSessionParams) ToString() (string, error)

ToString calls android.net.ipsec.ike.ChildSessionParams.toString.

type DerAsn1DnIdentification

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

DerAsn1DnIdentification wraps android.net.ipsec.ike.IkeDerAsn1DnIdentification.

func NewDerAsn1DnIdentification

func NewDerAsn1DnIdentification(vm *jni.VM, arg0 *jni.Object) (*DerAsn1DnIdentification, error)

NewDerAsn1DnIdentification creates a new android.net.ipsec.ike.IkeDerAsn1DnIdentification instance.

func (*DerAsn1DnIdentification) Equals

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

Equals calls android.net.ipsec.ike.IkeDerAsn1DnIdentification.equals.

func (*DerAsn1DnIdentification) HashCode

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

HashCode calls android.net.ipsec.ike.IkeDerAsn1DnIdentification.hashCode.

func (*DerAsn1DnIdentification) ToString added in v0.0.8

func (m *DerAsn1DnIdentification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeDerAsn1DnIdentification.toString.

type FqdnIdentification

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

FqdnIdentification wraps android.net.ipsec.ike.IkeFqdnIdentification.

func NewFqdnIdentification

func NewFqdnIdentification(vm *jni.VM, arg0 string) (*FqdnIdentification, error)

NewFqdnIdentification creates a new android.net.ipsec.ike.IkeFqdnIdentification instance.

func (*FqdnIdentification) Equals

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

Equals calls android.net.ipsec.ike.IkeFqdnIdentification.equals.

func (*FqdnIdentification) HashCode

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

HashCode calls android.net.ipsec.ike.IkeFqdnIdentification.hashCode.

func (*FqdnIdentification) ToString added in v0.0.8

func (m *FqdnIdentification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeFqdnIdentification.toString.

type Identification added in v0.0.8

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

Identification wraps android.net.ipsec.ike.IkeIdentification.

func (*Identification) ToString added in v0.0.8

func (m *Identification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeIdentification.toString.

type IkeSaProposal

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

IkeSaProposal wraps android.net.ipsec.ike.IkeSaProposal.

func (*IkeSaProposal) Equals

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

Equals calls android.net.ipsec.ike.IkeSaProposal.equals.

func (*IkeSaProposal) GetPseudorandomFunctions added in v0.0.8

func (m *IkeSaProposal) GetPseudorandomFunctions() (*jni.Object, error)

GetPseudorandomFunctions calls android.net.ipsec.ike.IkeSaProposal.getPseudorandomFunctions.

func (*IkeSaProposal) GetSupportedEncryptionAlgorithms added in v0.0.8

func (m *IkeSaProposal) GetSupportedEncryptionAlgorithms() (*jni.Object, error)

GetSupportedEncryptionAlgorithms calls android.net.ipsec.ike.IkeSaProposal.getSupportedEncryptionAlgorithms.

func (*IkeSaProposal) GetSupportedIntegrityAlgorithms added in v0.0.8

func (m *IkeSaProposal) GetSupportedIntegrityAlgorithms() (*jni.Object, error)

GetSupportedIntegrityAlgorithms calls android.net.ipsec.ike.IkeSaProposal.getSupportedIntegrityAlgorithms.

func (*IkeSaProposal) GetSupportedPseudorandomFunctions added in v0.0.8

func (m *IkeSaProposal) GetSupportedPseudorandomFunctions() (*jni.Object, error)

GetSupportedPseudorandomFunctions calls android.net.ipsec.ike.IkeSaProposal.getSupportedPseudorandomFunctions.

func (*IkeSaProposal) HashCode

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

HashCode calls android.net.ipsec.ike.IkeSaProposal.hashCode.

func (*IkeSaProposal) ToString added in v0.0.8

func (m *IkeSaProposal) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSaProposal.toString.

type Ipv4AddrIdentification

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

Ipv4AddrIdentification wraps android.net.ipsec.ike.IkeIpv4AddrIdentification.

func NewIpv4AddrIdentification

func NewIpv4AddrIdentification(vm *jni.VM, arg0 *jni.Object) (*Ipv4AddrIdentification, error)

NewIpv4AddrIdentification creates a new android.net.ipsec.ike.IkeIpv4AddrIdentification instance.

func (*Ipv4AddrIdentification) Equals

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

Equals calls android.net.ipsec.ike.IkeIpv4AddrIdentification.equals.

func (*Ipv4AddrIdentification) HashCode

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

HashCode calls android.net.ipsec.ike.IkeIpv4AddrIdentification.hashCode.

func (*Ipv4AddrIdentification) ToString added in v0.0.8

func (m *Ipv4AddrIdentification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeIpv4AddrIdentification.toString.

type Ipv6AddrIdentification

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

Ipv6AddrIdentification wraps android.net.ipsec.ike.IkeIpv6AddrIdentification.

func NewIpv6AddrIdentification

func NewIpv6AddrIdentification(vm *jni.VM, arg0 *jni.Object) (*Ipv6AddrIdentification, error)

NewIpv6AddrIdentification creates a new android.net.ipsec.ike.IkeIpv6AddrIdentification instance.

func (*Ipv6AddrIdentification) Equals

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

Equals calls android.net.ipsec.ike.IkeIpv6AddrIdentification.equals.

func (*Ipv6AddrIdentification) HashCode

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

HashCode calls android.net.ipsec.ike.IkeIpv6AddrIdentification.hashCode.

func (*Ipv6AddrIdentification) ToString added in v0.0.8

func (m *Ipv6AddrIdentification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeIpv6AddrIdentification.toString.

type KeyIdIdentification

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

KeyIdIdentification wraps android.net.ipsec.ike.IkeKeyIdIdentification.

func NewKeyIdIdentification

func NewKeyIdIdentification(vm *jni.VM, arg0 *jni.Object) (*KeyIdIdentification, error)

NewKeyIdIdentification creates a new android.net.ipsec.ike.IkeKeyIdIdentification instance.

func (*KeyIdIdentification) Equals

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

Equals calls android.net.ipsec.ike.IkeKeyIdIdentification.equals.

func (*KeyIdIdentification) HashCode

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

HashCode calls android.net.ipsec.ike.IkeKeyIdIdentification.hashCode.

func (*KeyIdIdentification) ToString added in v0.0.8

func (m *KeyIdIdentification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeKeyIdIdentification.toString.

type Rfc822AddrIdentification

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

Rfc822AddrIdentification wraps android.net.ipsec.ike.IkeRfc822AddrIdentification.

func NewRfc822AddrIdentification

func NewRfc822AddrIdentification(vm *jni.VM, arg0 string) (*Rfc822AddrIdentification, error)

NewRfc822AddrIdentification creates a new android.net.ipsec.ike.IkeRfc822AddrIdentification instance.

func (*Rfc822AddrIdentification) Equals

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

Equals calls android.net.ipsec.ike.IkeRfc822AddrIdentification.equals.

func (*Rfc822AddrIdentification) HashCode

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

HashCode calls android.net.ipsec.ike.IkeRfc822AddrIdentification.hashCode.

func (*Rfc822AddrIdentification) ToString added in v0.0.8

func (m *Rfc822AddrIdentification) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeRfc822AddrIdentification.toString.

type SaProposal

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

SaProposal wraps android.net.ipsec.ike.SaProposal.

func (*SaProposal) Equals

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

Equals calls android.net.ipsec.ike.SaProposal.equals.

func (*SaProposal) GetDhGroups added in v0.0.8

func (m *SaProposal) GetDhGroups() (*jni.Object, error)

GetDhGroups calls android.net.ipsec.ike.SaProposal.getDhGroups.

func (*SaProposal) GetIntegrityAlgorithms added in v0.0.8

func (m *SaProposal) GetIntegrityAlgorithms() (*jni.Object, error)

GetIntegrityAlgorithms calls android.net.ipsec.ike.SaProposal.getIntegrityAlgorithms.

func (*SaProposal) GetSupportedDhGroups added in v0.0.8

func (m *SaProposal) GetSupportedDhGroups() (*jni.Object, error)

GetSupportedDhGroups calls android.net.ipsec.ike.SaProposal.getSupportedDhGroups.

func (*SaProposal) HashCode

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

HashCode calls android.net.ipsec.ike.SaProposal.hashCode.

func (*SaProposal) ToString

func (m *SaProposal) ToString() (string, error)

ToString calls android.net.ipsec.ike.SaProposal.toString.

type SaProposalBuilder

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

SaProposalBuilder wraps android.net.ipsec.ike.IkeSaProposal$Builder.

func (*SaProposalBuilder) AddDhGroup

func (m *SaProposalBuilder) AddDhGroup(arg0 int32) (*jni.Object, error)

AddDhGroup calls android.net.ipsec.ike.IkeSaProposal$Builder.addDhGroup.

func (*SaProposalBuilder) AddEncryptionAlgorithm

func (m *SaProposalBuilder) AddEncryptionAlgorithm(arg0 int32, arg1 int32) (*jni.Object, error)

AddEncryptionAlgorithm calls android.net.ipsec.ike.IkeSaProposal$Builder.addEncryptionAlgorithm.

func (*SaProposalBuilder) AddIntegrityAlgorithm

func (m *SaProposalBuilder) AddIntegrityAlgorithm(arg0 int32) (*jni.Object, error)

AddIntegrityAlgorithm calls android.net.ipsec.ike.IkeSaProposal$Builder.addIntegrityAlgorithm.

func (*SaProposalBuilder) AddPseudorandomFunction

func (m *SaProposalBuilder) AddPseudorandomFunction(arg0 int32) (*jni.Object, error)

AddPseudorandomFunction calls android.net.ipsec.ike.IkeSaProposal$Builder.addPseudorandomFunction.

func (*SaProposalBuilder) Build

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

Build calls android.net.ipsec.ike.IkeSaProposal$Builder.build.

func (*SaProposalBuilder) ToString added in v0.0.8

func (m *SaProposalBuilder) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSaProposal$Builder.toString.

type Session

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

Session wraps android.net.ipsec.ike.IkeSession.

func NewSession

func NewSession(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, arg4 *jni.Object, arg5 *jni.Object) (*Session, error)

NewSession creates a new android.net.ipsec.ike.IkeSession instance.

func (*Session) Close

func (m *Session) Close() error

Close calls android.net.ipsec.ike.IkeSession.close.

func (*Session) CloseChildSession

func (m *Session) CloseChildSession(arg0 *jni.Object) error

CloseChildSession calls android.net.ipsec.ike.IkeSession.closeChildSession.

func (*Session) Dump

func (m *Session) Dump(arg0 *jni.Object) error

Dump calls android.net.ipsec.ike.IkeSession.dump.

func (*Session) Finalize

func (m *Session) Finalize() error

Finalize calls android.net.ipsec.ike.IkeSession.finalize.

func (*Session) Kill

func (m *Session) Kill() error

Kill calls android.net.ipsec.ike.IkeSession.kill.

func (*Session) OpenChildSession

func (m *Session) OpenChildSession(arg0 *jni.Object, arg1 *jni.Object) error

OpenChildSession calls android.net.ipsec.ike.IkeSession.openChildSession.

func (*Session) ToString added in v0.0.8

func (m *Session) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSession.toString.

type SessionCallback

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

SessionCallback wraps android.net.ipsec.ike.IkeSessionCallback.

func (*SessionCallback) OnClosed

func (m *SessionCallback) OnClosed() error

OnClosed calls android.net.ipsec.ike.IkeSessionCallback.onClosed.

func (*SessionCallback) OnOpened

func (m *SessionCallback) OnOpened(arg0 *jni.Object) error

OnOpened calls android.net.ipsec.ike.IkeSessionCallback.onOpened.

func (*SessionCallback) ToString added in v0.0.8

func (m *SessionCallback) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionCallback.toString.

type SessionConfiguration

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

SessionConfiguration wraps android.net.ipsec.ike.IkeSessionConfiguration.

func (*SessionConfiguration) GetEapInfo

func (m *SessionConfiguration) GetEapInfo() (*jni.Object, error)

GetEapInfo calls android.net.ipsec.ike.IkeSessionConfiguration.getEapInfo.

func (*SessionConfiguration) GetIkeSessionConnectionInfo

func (m *SessionConfiguration) GetIkeSessionConnectionInfo() (*jni.Object, error)

GetIkeSessionConnectionInfo calls android.net.ipsec.ike.IkeSessionConfiguration.getIkeSessionConnectionInfo.

func (*SessionConfiguration) GetRemoteApplicationVersion

func (m *SessionConfiguration) GetRemoteApplicationVersion() (string, error)

GetRemoteApplicationVersion calls android.net.ipsec.ike.IkeSessionConfiguration.getRemoteApplicationVersion.

func (*SessionConfiguration) GetRemoteVendorIds added in v0.0.8

func (m *SessionConfiguration) GetRemoteVendorIds() (*jni.Object, error)

GetRemoteVendorIds calls android.net.ipsec.ike.IkeSessionConfiguration.getRemoteVendorIds.

func (*SessionConfiguration) IsIkeExtensionEnabled

func (m *SessionConfiguration) IsIkeExtensionEnabled(arg0 int32) (bool, error)

IsIkeExtensionEnabled calls android.net.ipsec.ike.IkeSessionConfiguration.isIkeExtensionEnabled.

func (*SessionConfiguration) ToString added in v0.0.8

func (m *SessionConfiguration) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionConfiguration.toString.

type SessionConfigurationBuilder

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

SessionConfigurationBuilder wraps android.net.ipsec.ike.IkeSessionConfiguration$Builder.

func (*SessionConfigurationBuilder) AddIkeExtension

func (m *SessionConfigurationBuilder) AddIkeExtension(arg0 int32) (*jni.Object, error)

AddIkeExtension calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.addIkeExtension.

func (*SessionConfigurationBuilder) AddRemoteVendorId

func (m *SessionConfigurationBuilder) AddRemoteVendorId(arg0 *jni.Object) (*jni.Object, error)

AddRemoteVendorId calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.addRemoteVendorId.

func (*SessionConfigurationBuilder) Build

Build calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.build.

func (*SessionConfigurationBuilder) ClearIkeExtensions

func (m *SessionConfigurationBuilder) ClearIkeExtensions() (*jni.Object, error)

ClearIkeExtensions calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.clearIkeExtensions.

func (*SessionConfigurationBuilder) ClearRemoteApplicationVersion

func (m *SessionConfigurationBuilder) ClearRemoteApplicationVersion() (*jni.Object, error)

ClearRemoteApplicationVersion calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.clearRemoteApplicationVersion.

func (*SessionConfigurationBuilder) ClearRemoteVendorIds

func (m *SessionConfigurationBuilder) ClearRemoteVendorIds() (*jni.Object, error)

ClearRemoteVendorIds calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.clearRemoteVendorIds.

func (*SessionConfigurationBuilder) SetEapInfo

func (m *SessionConfigurationBuilder) SetEapInfo(arg0 *jni.Object) (*jni.Object, error)

SetEapInfo calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.setEapInfo.

func (*SessionConfigurationBuilder) SetRemoteApplicationVersion

func (m *SessionConfigurationBuilder) SetRemoteApplicationVersion(arg0 string) (*jni.Object, error)

SetRemoteApplicationVersion calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.setRemoteApplicationVersion.

func (*SessionConfigurationBuilder) ToString added in v0.0.8

func (m *SessionConfigurationBuilder) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionConfiguration$Builder.toString.

type SessionConnectionInfo

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

SessionConnectionInfo wraps android.net.ipsec.ike.IkeSessionConnectionInfo.

func NewSessionConnectionInfo

func NewSessionConnectionInfo(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) (*SessionConnectionInfo, error)

NewSessionConnectionInfo creates a new android.net.ipsec.ike.IkeSessionConnectionInfo instance.

func (*SessionConnectionInfo) GetLocalAddress

func (m *SessionConnectionInfo) GetLocalAddress() (*jni.Object, error)

GetLocalAddress calls android.net.ipsec.ike.IkeSessionConnectionInfo.getLocalAddress.

func (*SessionConnectionInfo) GetNetwork

func (m *SessionConnectionInfo) GetNetwork() (*jni.Object, error)

GetNetwork calls android.net.ipsec.ike.IkeSessionConnectionInfo.getNetwork.

func (*SessionConnectionInfo) GetRemoteAddress

func (m *SessionConnectionInfo) GetRemoteAddress() (*jni.Object, error)

GetRemoteAddress calls android.net.ipsec.ike.IkeSessionConnectionInfo.getRemoteAddress.

func (*SessionConnectionInfo) ToString added in v0.0.8

func (m *SessionConnectionInfo) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionConnectionInfo.toString.

type SessionParams

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

SessionParams wraps android.net.ipsec.ike.IkeSessionParams.

func (*SessionParams) Equals

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

Equals calls android.net.ipsec.ike.IkeSessionParams.equals.

func (*SessionParams) GetDpdDelaySeconds

func (m *SessionParams) GetDpdDelaySeconds() (int32, error)

GetDpdDelaySeconds calls android.net.ipsec.ike.IkeSessionParams.getDpdDelaySeconds.

func (*SessionParams) GetHardLifetimeSeconds

func (m *SessionParams) GetHardLifetimeSeconds() (int32, error)

GetHardLifetimeSeconds calls android.net.ipsec.ike.IkeSessionParams.getHardLifetimeSeconds.

func (*SessionParams) GetIkeOptions added in v0.0.8

func (m *SessionParams) GetIkeOptions() (*jni.Object, error)

GetIkeOptions calls android.net.ipsec.ike.IkeSessionParams.getIkeOptions.

func (*SessionParams) GetIkeSaProposals added in v0.0.8

func (m *SessionParams) GetIkeSaProposals() (*jni.Object, error)

GetIkeSaProposals calls android.net.ipsec.ike.IkeSessionParams.getIkeSaProposals.

func (*SessionParams) GetLocalAuthConfig

func (m *SessionParams) GetLocalAuthConfig() (*jni.Object, error)

GetLocalAuthConfig calls android.net.ipsec.ike.IkeSessionParams.getLocalAuthConfig.

func (*SessionParams) GetLocalIdentification

func (m *SessionParams) GetLocalIdentification() (*jni.Object, error)

GetLocalIdentification calls android.net.ipsec.ike.IkeSessionParams.getLocalIdentification.

func (*SessionParams) GetNattKeepAliveDelaySeconds

func (m *SessionParams) GetNattKeepAliveDelaySeconds() (int32, error)

GetNattKeepAliveDelaySeconds calls android.net.ipsec.ike.IkeSessionParams.getNattKeepAliveDelaySeconds.

func (*SessionParams) GetNetwork

func (m *SessionParams) GetNetwork() (*jni.Object, error)

GetNetwork calls android.net.ipsec.ike.IkeSessionParams.getNetwork.

func (*SessionParams) GetRemoteAuthConfig

func (m *SessionParams) GetRemoteAuthConfig() (*jni.Object, error)

GetRemoteAuthConfig calls android.net.ipsec.ike.IkeSessionParams.getRemoteAuthConfig.

func (*SessionParams) GetRemoteIdentification

func (m *SessionParams) GetRemoteIdentification() (*jni.Object, error)

GetRemoteIdentification calls android.net.ipsec.ike.IkeSessionParams.getRemoteIdentification.

func (*SessionParams) GetRetransmissionTimeoutsMillis

func (m *SessionParams) GetRetransmissionTimeoutsMillis() (*jni.Object, error)

GetRetransmissionTimeoutsMillis calls android.net.ipsec.ike.IkeSessionParams.getRetransmissionTimeoutsMillis.

func (*SessionParams) GetServerHostname

func (m *SessionParams) GetServerHostname() (string, error)

GetServerHostname calls android.net.ipsec.ike.IkeSessionParams.getServerHostname.

func (*SessionParams) GetSoftLifetimeSeconds

func (m *SessionParams) GetSoftLifetimeSeconds() (int32, error)

GetSoftLifetimeSeconds calls android.net.ipsec.ike.IkeSessionParams.getSoftLifetimeSeconds.

func (*SessionParams) HasIkeOption

func (m *SessionParams) HasIkeOption(arg0 int32) (bool, error)

HasIkeOption calls android.net.ipsec.ike.IkeSessionParams.hasIkeOption.

func (*SessionParams) HashCode

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

HashCode calls android.net.ipsec.ike.IkeSessionParams.hashCode.

func (*SessionParams) ToString added in v0.0.8

func (m *SessionParams) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionParams.toString.

type SessionParamsBuilder

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

SessionParamsBuilder wraps android.net.ipsec.ike.IkeSessionParams$Builder.

func (*SessionParamsBuilder) AddIkeOption

func (m *SessionParamsBuilder) AddIkeOption(arg0 int32) (*jni.Object, error)

AddIkeOption calls android.net.ipsec.ike.IkeSessionParams$Builder.addIkeOption.

func (*SessionParamsBuilder) AddIkeSaProposal

func (m *SessionParamsBuilder) AddIkeSaProposal(arg0 *jni.Object) (*jni.Object, error)

AddIkeSaProposal calls android.net.ipsec.ike.IkeSessionParams$Builder.addIkeSaProposal.

func (*SessionParamsBuilder) Build

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

Build calls android.net.ipsec.ike.IkeSessionParams$Builder.build.

func (*SessionParamsBuilder) RemoveIkeOption

func (m *SessionParamsBuilder) RemoveIkeOption(arg0 int32) (*jni.Object, error)

RemoveIkeOption calls android.net.ipsec.ike.IkeSessionParams$Builder.removeIkeOption.

func (*SessionParamsBuilder) SetAuthDigitalSignature

func (m *SessionParamsBuilder) SetAuthDigitalSignature(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (*jni.Object, error)

SetAuthDigitalSignature calls android.net.ipsec.ike.IkeSessionParams$Builder.setAuthDigitalSignature.

func (*SessionParamsBuilder) SetAuthEap

func (m *SessionParamsBuilder) SetAuthEap(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

SetAuthEap calls android.net.ipsec.ike.IkeSessionParams$Builder.setAuthEap.

func (*SessionParamsBuilder) SetAuthPsk

func (m *SessionParamsBuilder) SetAuthPsk(arg0 *jni.Object) (*jni.Object, error)

SetAuthPsk calls android.net.ipsec.ike.IkeSessionParams$Builder.setAuthPsk.

func (*SessionParamsBuilder) SetDpdDelaySeconds

func (m *SessionParamsBuilder) SetDpdDelaySeconds(arg0 int32) (*jni.Object, error)

SetDpdDelaySeconds calls android.net.ipsec.ike.IkeSessionParams$Builder.setDpdDelaySeconds.

func (*SessionParamsBuilder) SetLifetimeSeconds

func (m *SessionParamsBuilder) SetLifetimeSeconds(arg0 int32, arg1 int32) (*jni.Object, error)

SetLifetimeSeconds calls android.net.ipsec.ike.IkeSessionParams$Builder.setLifetimeSeconds.

func (*SessionParamsBuilder) SetLocalIdentification

func (m *SessionParamsBuilder) SetLocalIdentification(arg0 *jni.Object) (*jni.Object, error)

SetLocalIdentification calls android.net.ipsec.ike.IkeSessionParams$Builder.setLocalIdentification.

func (*SessionParamsBuilder) SetNattKeepAliveDelaySeconds

func (m *SessionParamsBuilder) SetNattKeepAliveDelaySeconds(arg0 int32) (*jni.Object, error)

SetNattKeepAliveDelaySeconds calls android.net.ipsec.ike.IkeSessionParams$Builder.setNattKeepAliveDelaySeconds.

func (*SessionParamsBuilder) SetNetwork

func (m *SessionParamsBuilder) SetNetwork(arg0 *jni.Object) (*jni.Object, error)

SetNetwork calls android.net.ipsec.ike.IkeSessionParams$Builder.setNetwork.

func (*SessionParamsBuilder) SetRemoteIdentification

func (m *SessionParamsBuilder) SetRemoteIdentification(arg0 *jni.Object) (*jni.Object, error)

SetRemoteIdentification calls android.net.ipsec.ike.IkeSessionParams$Builder.setRemoteIdentification.

func (*SessionParamsBuilder) SetRetransmissionTimeoutsMillis

func (m *SessionParamsBuilder) SetRetransmissionTimeoutsMillis(arg0 *jni.Object) (*jni.Object, error)

SetRetransmissionTimeoutsMillis calls android.net.ipsec.ike.IkeSessionParams$Builder.setRetransmissionTimeoutsMillis.

func (*SessionParamsBuilder) SetServerHostname

func (m *SessionParamsBuilder) SetServerHostname(arg0 string) (*jni.Object, error)

SetServerHostname calls android.net.ipsec.ike.IkeSessionParams$Builder.setServerHostname.

func (*SessionParamsBuilder) ToString added in v0.0.8

func (m *SessionParamsBuilder) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionParams$Builder.toString.

type SessionParamsIkeAuthConfig

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

SessionParamsIkeAuthConfig wraps android.net.ipsec.ike.IkeSessionParams$IkeAuthConfig.

func (*SessionParamsIkeAuthConfig) Equals

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

Equals calls android.net.ipsec.ike.IkeSessionParams$IkeAuthConfig.equals.

func (*SessionParamsIkeAuthConfig) HashCode

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

HashCode calls android.net.ipsec.ike.IkeSessionParams$IkeAuthConfig.hashCode.

func (*SessionParamsIkeAuthConfig) ToString added in v0.0.8

func (m *SessionParamsIkeAuthConfig) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionParams$IkeAuthConfig.toString.

type SessionParamsIkeAuthDigitalSignLocalConfig

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

SessionParamsIkeAuthDigitalSignLocalConfig wraps android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.

func (*SessionParamsIkeAuthDigitalSignLocalConfig) Equals

Equals calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.equals.

func (*SessionParamsIkeAuthDigitalSignLocalConfig) GetClientEndCertificate

func (m *SessionParamsIkeAuthDigitalSignLocalConfig) GetClientEndCertificate() (*jni.Object, error)

GetClientEndCertificate calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.getClientEndCertificate.

func (*SessionParamsIkeAuthDigitalSignLocalConfig) GetIntermediateCertificates added in v0.0.8

func (m *SessionParamsIkeAuthDigitalSignLocalConfig) GetIntermediateCertificates() (*jni.Object, error)

GetIntermediateCertificates calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.getIntermediateCertificates.

func (*SessionParamsIkeAuthDigitalSignLocalConfig) GetPrivateKey

GetPrivateKey calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.getPrivateKey.

func (*SessionParamsIkeAuthDigitalSignLocalConfig) HashCode

HashCode calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.hashCode.

func (*SessionParamsIkeAuthDigitalSignLocalConfig) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignLocalConfig.toString.

type SessionParamsIkeAuthDigitalSignRemoteConfig

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

SessionParamsIkeAuthDigitalSignRemoteConfig wraps android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignRemoteConfig.

func (*SessionParamsIkeAuthDigitalSignRemoteConfig) Equals

Equals calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignRemoteConfig.equals.

func (*SessionParamsIkeAuthDigitalSignRemoteConfig) GetRemoteCaCert

GetRemoteCaCert calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignRemoteConfig.getRemoteCaCert.

func (*SessionParamsIkeAuthDigitalSignRemoteConfig) HashCode

HashCode calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignRemoteConfig.hashCode.

func (*SessionParamsIkeAuthDigitalSignRemoteConfig) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.IkeSessionParams$IkeAuthDigitalSignRemoteConfig.toString.

type SessionParamsIkeAuthEapConfig

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

SessionParamsIkeAuthEapConfig wraps android.net.ipsec.ike.IkeSessionParams$IkeAuthEapConfig.

func (*SessionParamsIkeAuthEapConfig) Equals

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

Equals calls android.net.ipsec.ike.IkeSessionParams$IkeAuthEapConfig.equals.

func (*SessionParamsIkeAuthEapConfig) GetEapConfig

func (m *SessionParamsIkeAuthEapConfig) GetEapConfig() (*jni.Object, error)

GetEapConfig calls android.net.ipsec.ike.IkeSessionParams$IkeAuthEapConfig.getEapConfig.

func (*SessionParamsIkeAuthEapConfig) HashCode

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

HashCode calls android.net.ipsec.ike.IkeSessionParams$IkeAuthEapConfig.hashCode.

func (*SessionParamsIkeAuthEapConfig) ToString added in v0.0.8

func (m *SessionParamsIkeAuthEapConfig) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionParams$IkeAuthEapConfig.toString.

type SessionParamsIkeAuthPskConfig

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

SessionParamsIkeAuthPskConfig wraps android.net.ipsec.ike.IkeSessionParams$IkeAuthPskConfig.

func (*SessionParamsIkeAuthPskConfig) Equals

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

Equals calls android.net.ipsec.ike.IkeSessionParams$IkeAuthPskConfig.equals.

func (*SessionParamsIkeAuthPskConfig) GetPsk

GetPsk calls android.net.ipsec.ike.IkeSessionParams$IkeAuthPskConfig.getPsk.

func (*SessionParamsIkeAuthPskConfig) HashCode

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

HashCode calls android.net.ipsec.ike.IkeSessionParams$IkeAuthPskConfig.hashCode.

func (*SessionParamsIkeAuthPskConfig) ToString added in v0.0.8

func (m *SessionParamsIkeAuthPskConfig) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeSessionParams$IkeAuthPskConfig.toString.

type TrafficSelector

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

TrafficSelector wraps android.net.ipsec.ike.IkeTrafficSelector.

func NewTrafficSelector

func NewTrafficSelector(vm *jni.VM, arg0 int32, arg1 int32, arg2 *jni.Object, arg3 *jni.Object) (*TrafficSelector, error)

NewTrafficSelector creates a new android.net.ipsec.ike.IkeTrafficSelector instance.

func (*TrafficSelector) Equals

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

Equals calls android.net.ipsec.ike.IkeTrafficSelector.equals.

func (*TrafficSelector) HashCode

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

HashCode calls android.net.ipsec.ike.IkeTrafficSelector.hashCode.

func (*TrafficSelector) ToString added in v0.0.8

func (m *TrafficSelector) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeTrafficSelector.toString.

type TransportModeChildSessionParams added in v0.0.8

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

TransportModeChildSessionParams wraps android.net.ipsec.ike.TransportModeChildSessionParams.

func (*TransportModeChildSessionParams) ToString added in v0.0.8

func (m *TransportModeChildSessionParams) ToString() (string, error)

ToString calls android.net.ipsec.ike.TransportModeChildSessionParams.toString.

type TransportModeChildSessionParamsBuilder

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

TransportModeChildSessionParamsBuilder wraps android.net.ipsec.ike.TransportModeChildSessionParams$Builder.

func (*TransportModeChildSessionParamsBuilder) AddChildSaProposal

func (m *TransportModeChildSessionParamsBuilder) AddChildSaProposal(arg0 *jni.Object) (*jni.Object, error)

AddChildSaProposal calls android.net.ipsec.ike.TransportModeChildSessionParams$Builder.addChildSaProposal.

func (*TransportModeChildSessionParamsBuilder) AddInboundTrafficSelectors

func (m *TransportModeChildSessionParamsBuilder) AddInboundTrafficSelectors(arg0 *jni.Object) (*jni.Object, error)

AddInboundTrafficSelectors calls android.net.ipsec.ike.TransportModeChildSessionParams$Builder.addInboundTrafficSelectors.

func (*TransportModeChildSessionParamsBuilder) AddOutboundTrafficSelectors

func (m *TransportModeChildSessionParamsBuilder) AddOutboundTrafficSelectors(arg0 *jni.Object) (*jni.Object, error)

AddOutboundTrafficSelectors calls android.net.ipsec.ike.TransportModeChildSessionParams$Builder.addOutboundTrafficSelectors.

func (*TransportModeChildSessionParamsBuilder) Build

Build calls android.net.ipsec.ike.TransportModeChildSessionParams$Builder.build.

func (*TransportModeChildSessionParamsBuilder) SetLifetimeSeconds

func (m *TransportModeChildSessionParamsBuilder) SetLifetimeSeconds(arg0 int32, arg1 int32) (*jni.Object, error)

SetLifetimeSeconds calls android.net.ipsec.ike.TransportModeChildSessionParams$Builder.setLifetimeSeconds.

func (*TransportModeChildSessionParamsBuilder) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TransportModeChildSessionParams$Builder.toString.

type TunnelConnectionParams

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

TunnelConnectionParams wraps android.net.ipsec.ike.IkeTunnelConnectionParams.

func NewTunnelConnectionParams

func NewTunnelConnectionParams(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*TunnelConnectionParams, error)

NewTunnelConnectionParams creates a new android.net.ipsec.ike.IkeTunnelConnectionParams instance.

func (*TunnelConnectionParams) Equals

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

Equals calls android.net.ipsec.ike.IkeTunnelConnectionParams.equals.

func (*TunnelConnectionParams) GetIkeSessionParams

func (m *TunnelConnectionParams) GetIkeSessionParams() (*jni.Object, error)

GetIkeSessionParams calls android.net.ipsec.ike.IkeTunnelConnectionParams.getIkeSessionParams.

func (*TunnelConnectionParams) GetTunnelModeChildSessionParams

func (m *TunnelConnectionParams) GetTunnelModeChildSessionParams() (*jni.Object, error)

GetTunnelModeChildSessionParams calls android.net.ipsec.ike.IkeTunnelConnectionParams.getTunnelModeChildSessionParams.

func (*TunnelConnectionParams) HashCode

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

HashCode calls android.net.ipsec.ike.IkeTunnelConnectionParams.hashCode.

func (*TunnelConnectionParams) ToString added in v0.0.8

func (m *TunnelConnectionParams) ToString() (string, error)

ToString calls android.net.ipsec.ike.IkeTunnelConnectionParams.toString.

type TunnelModeChildSessionParams

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

TunnelModeChildSessionParams wraps android.net.ipsec.ike.TunnelModeChildSessionParams.

func (*TunnelModeChildSessionParams) Equals

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

Equals calls android.net.ipsec.ike.TunnelModeChildSessionParams.equals.

func (*TunnelModeChildSessionParams) GetConfigurationRequests added in v0.0.8

func (m *TunnelModeChildSessionParams) GetConfigurationRequests() (*jni.Object, error)

GetConfigurationRequests calls android.net.ipsec.ike.TunnelModeChildSessionParams.getConfigurationRequests.

func (*TunnelModeChildSessionParams) HashCode

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

HashCode calls android.net.ipsec.ike.TunnelModeChildSessionParams.hashCode.

func (*TunnelModeChildSessionParams) ToString added in v0.0.8

func (m *TunnelModeChildSessionParams) ToString() (string, error)

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams.toString.

type TunnelModeChildSessionParamsBuilder

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

TunnelModeChildSessionParamsBuilder wraps android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.

func (*TunnelModeChildSessionParamsBuilder) AddChildSaProposal

func (m *TunnelModeChildSessionParamsBuilder) AddChildSaProposal(arg0 *jni.Object) (*jni.Object, error)

AddChildSaProposal calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addChildSaProposal.

func (*TunnelModeChildSessionParamsBuilder) AddInboundTrafficSelectors

func (m *TunnelModeChildSessionParamsBuilder) AddInboundTrafficSelectors(arg0 *jni.Object) (*jni.Object, error)

AddInboundTrafficSelectors calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addInboundTrafficSelectors.

func (*TunnelModeChildSessionParamsBuilder) AddInternalAddressRequest1

func (m *TunnelModeChildSessionParamsBuilder) AddInternalAddressRequest1(arg0 int32) (*jni.Object, error)

AddInternalAddressRequest1 calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addInternalAddressRequest.

func (*TunnelModeChildSessionParamsBuilder) AddInternalAddressRequest1_1

func (m *TunnelModeChildSessionParamsBuilder) AddInternalAddressRequest1_1(arg0 *jni.Object) (*jni.Object, error)

AddInternalAddressRequest1_1 calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addInternalAddressRequest.

func (*TunnelModeChildSessionParamsBuilder) AddInternalAddressRequest2_2

func (m *TunnelModeChildSessionParamsBuilder) AddInternalAddressRequest2_2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

AddInternalAddressRequest2_2 calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addInternalAddressRequest.

func (*TunnelModeChildSessionParamsBuilder) AddInternalDhcpServerRequest

func (m *TunnelModeChildSessionParamsBuilder) AddInternalDhcpServerRequest(arg0 int32) (*jni.Object, error)

AddInternalDhcpServerRequest calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addInternalDhcpServerRequest.

func (*TunnelModeChildSessionParamsBuilder) AddInternalDnsServerRequest

func (m *TunnelModeChildSessionParamsBuilder) AddInternalDnsServerRequest(arg0 int32) (*jni.Object, error)

AddInternalDnsServerRequest calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addInternalDnsServerRequest.

func (*TunnelModeChildSessionParamsBuilder) AddOutboundTrafficSelectors

func (m *TunnelModeChildSessionParamsBuilder) AddOutboundTrafficSelectors(arg0 *jni.Object) (*jni.Object, error)

AddOutboundTrafficSelectors calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.addOutboundTrafficSelectors.

func (*TunnelModeChildSessionParamsBuilder) Build

Build calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.build.

func (*TunnelModeChildSessionParamsBuilder) SetLifetimeSeconds

func (m *TunnelModeChildSessionParamsBuilder) SetLifetimeSeconds(arg0 int32, arg1 int32) (*jni.Object, error)

SetLifetimeSeconds calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.setLifetimeSeconds.

func (*TunnelModeChildSessionParamsBuilder) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$Builder.toString.

type TunnelModeChildSessionParamsConfigRequestIpv4Address

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

TunnelModeChildSessionParamsConfigRequestIpv4Address wraps android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4Address.

func (*TunnelModeChildSessionParamsConfigRequestIpv4Address) GetAddress

GetAddress calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4Address.getAddress.

func (*TunnelModeChildSessionParamsConfigRequestIpv4Address) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4Address.toString.

type TunnelModeChildSessionParamsConfigRequestIpv4DhcpServer added in v0.0.8

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

TunnelModeChildSessionParamsConfigRequestIpv4DhcpServer wraps android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4DhcpServer.

func (*TunnelModeChildSessionParamsConfigRequestIpv4DhcpServer) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4DhcpServer.toString.

type TunnelModeChildSessionParamsConfigRequestIpv4DnsServer added in v0.0.8

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

TunnelModeChildSessionParamsConfigRequestIpv4DnsServer wraps android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4DnsServer.

func (*TunnelModeChildSessionParamsConfigRequestIpv4DnsServer) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4DnsServer.toString.

type TunnelModeChildSessionParamsConfigRequestIpv4Netmask added in v0.0.8

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

TunnelModeChildSessionParamsConfigRequestIpv4Netmask wraps android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4Netmask.

func (*TunnelModeChildSessionParamsConfigRequestIpv4Netmask) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv4Netmask.toString.

type TunnelModeChildSessionParamsConfigRequestIpv6Address

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

TunnelModeChildSessionParamsConfigRequestIpv6Address wraps android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv6Address.

func (*TunnelModeChildSessionParamsConfigRequestIpv6Address) GetAddress

GetAddress calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv6Address.getAddress.

func (*TunnelModeChildSessionParamsConfigRequestIpv6Address) GetPrefixLength

GetPrefixLength calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv6Address.getPrefixLength.

func (*TunnelModeChildSessionParamsConfigRequestIpv6Address) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv6Address.toString.

type TunnelModeChildSessionParamsConfigRequestIpv6DnsServer added in v0.0.8

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

TunnelModeChildSessionParamsConfigRequestIpv6DnsServer wraps android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv6DnsServer.

func (*TunnelModeChildSessionParamsConfigRequestIpv6DnsServer) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$ConfigRequestIpv6DnsServer.toString.

type TunnelModeChildSessionParamsTunnelModeChildConfigRequest added in v0.0.8

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

TunnelModeChildSessionParamsTunnelModeChildConfigRequest wraps android.net.ipsec.ike.TunnelModeChildSessionParams$TunnelModeChildConfigRequest.

func (*TunnelModeChildSessionParamsTunnelModeChildConfigRequest) ToString added in v0.0.8

ToString calls android.net.ipsec.ike.TunnelModeChildSessionParams$TunnelModeChildConfigRequest.toString.

Directories

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

Jump to

Keyboard shortcuts

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