util

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UdmDefaultKeyLogPath = "./log/udmsslkey.log"
	UdmDefaultPemPath    = "./config/TLS/udm.pem"
	UdmDefaultKeyPath    = "./config/TLS/udm.key"
	UdmDefaultConfigPath = "./config/udmcfg.yaml"
)

Variables

This section is empty.

Functions

func InitUDMContext

func InitUDMContext(udmContext *context.UDMContext)

func MilenageF1 added in v1.4.0

func MilenageF1(opc, k, rand, sqn, amf []byte, macA, macS []byte) error

func MilenageF2345 added in v1.4.0

func MilenageF2345(opc, k, rand []byte, res, ck, ik, ak, akstar []byte) error

func ProblemDetailsSystemFailure

func ProblemDetailsSystemFailure(detail string) *models.ProblemDetails

func SearchNFServiceUri

func SearchNFServiceUri(nfProfile models.NrfNfDiscoveryNfProfile, serviceName models.ServiceName,
	nfServiceStatus models.NfServiceStatus,
) (nfUri string)

Types

type NFContextGetter added in v1.2.1

type NFContextGetter func() *udm_context.UDMContext

type RouterAuthorizationCheck added in v1.2.1

type RouterAuthorizationCheck struct {
	// contains filtered or unexported fields
}

func NewRouterAuthorizationCheck added in v1.2.1

func NewRouterAuthorizationCheck(serviceName models.ServiceName) *RouterAuthorizationCheck

func (*RouterAuthorizationCheck) Check added in v1.2.1

func (rac *RouterAuthorizationCheck) Check(c *gin.Context, udmContext udm_context.NFContext)

Jump to

Keyboard shortcuts

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