Documentation ¶
Index ¶
- Constants
- func AddAusfUeContextToPool(ausfUeContext *AusfUeContext)
- func AddNfServices(serviceMap *map[models.ServiceName]models.NfService, config *factory.Config, ...)
- func AddSuciSupiPairToMap(supiOrSuci string, supi string)
- func CheckIfAusfUeContextExists(ref string) bool
- func CheckIfSuciSupiPairExists(ref string) bool
- func GetSupiFromSuciSupiMap(ref string) (supi string)
- func Init()
- func InitAusfContext(context *AUSFContext)
- func IsServingNetworkAuthorized(lookup string) bool
- func TestInit()
- type AUSFContext
- type AusfUeContext
- type SuciSupiMap
Constants ¶
View Source
const ( AT_RAND_ATTRIBUTE = 1 AT_AUTN_ATTRIBUTE = 2 AT_RES_ATTRIBUTE = 3 AT_MAC_ATTRIBUTE = 11 AT_NOTIFICATION_ATTRIBUTE = 12 AT_IDENTITY_ATTRIBUTE = 14 AT_KDF_INPUT_ATTRIBUTE = 23 AT_KDF_ATTRIBUTE = 24 )
Attribute Types for EAP-AKA'
View Source
const (
EAP_AKA_PRIME_TYPENUM = 50
)
Variables ¶
This section is empty.
Functions ¶
func AddAusfUeContextToPool ¶
func AddAusfUeContextToPool(ausfUeContext *AusfUeContext)
func AddNfServices ¶
func AddNfServices(serviceMap *map[models.ServiceName]models.NfService, config *factory.Config, context *AUSFContext)
func AddSuciSupiPairToMap ¶
func GetSupiFromSuciSupiMap ¶
func InitAusfContext ¶
func InitAusfContext(context *AUSFContext)
Types ¶
type AUSFContext ¶
type AUSFContext struct { NfId string GroupId string HttpIpv4Port int HttpIPv4Address string Url string UriScheme models.UriScheme NrfUri string NfService map[models.ServiceName]models.NfService PlmnList []models.PlmnId UdmUeauUrl string }
func GetSelf ¶
func GetSelf() *AUSFContext
func (AUSFContext) GetSelfID ¶
func (a AUSFContext) GetSelfID() string
type AusfUeContext ¶
type AusfUeContext struct { Supi string Kausf string Kseaf string ServingNetworkName string AuthStatus models.AuthResult UdmUeauUrl string // for 5G AKA XresStar string // for EAP-AKA' K_aut string XRES string }
func GetAusfUeContext ¶
func GetAusfUeContext(ref string) (ausfUeContext *AusfUeContext)
func NewAusfUeContext ¶
func NewAusfUeContext(identifier string) (ausfUeContext *AusfUeContext)
type SuciSupiMap ¶
Click to show internal directories.
Click to hide internal directories.