nas_security

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(ue *context.AmfUe, accessType models.AccessType, payload []byte) (*nas.Message, error)

payload either a security protected 5GS NAS message or a plain 5GS NAS message which format is followed TS 24.501 9.1.1

func Encode

func Encode(ue *context.AmfUe, msg *nas.Message) ([]byte, error)

func FetchUeContextWithMobileIdentity

func FetchUeContextWithMobileIdentity(payload []byte) *context.AmfUe

fetch Guti if present incase of integrity protected Nas Message

func StmsiToGuti

func StmsiToGuti(buf [7]byte) (guti string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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