OSS NAS Tools for C# for 5G for 3GPP Release 16.6.0
Encoding/Decoding

The API to encode and decode NAS messages. More...

Classes

interface  Oss.Nas.NasPdu
 A marker interface that is used to identify the top level NAS message. More...
 
class  Oss.Nas.NasCodecBase< T >
 Implements encoding, decoding, and printing of NAS messages. NasCodec can

  • Print a binary NAS message in JSON, XML, or ASN.1 value notation format.
  • Decode a binary NAS message into a C# object.
  • Encode a C# object that represents a NAS message into binary octets.
  • Print a C# object that represents a NAS message in JSON, XML, or ASN.1 value notation format.
More...
 
class  Oss.Nas.Reason
 Defines the error codes reported by the NAS/C# API. This class permits only a restricted set of instances at run time so its values can be compared using the == or != operator rather than Equals(). More...
 
class  Oss.Nas.Diagnostics
 Represents a list of defects that were detected by the encoder or decoder in a NAS message. More...
 
class  Oss.Nas.FormattingOptions
 Defines common formatting options. These options are used when the binary data or C# object that represents a NAS message is converted to JSON, XML, or ASN.1 value notation format. More...
 
class  Oss.Nas.JSONOptions
 Defines JSON formatting options. These additional options are used when the binary data or the C# object that represents a NAS message is converted to a JSON value. More...
 
class  Oss.Nas.TextOptions
 Defines ASN.1 value notation formatting options. These additional options are used when the binary data or the C# object that represents a NAS message is converted to ASN.1 value notation format. More...
 
class  Oss.Nas.XMLOptions
 Defines XML formatting options. These additional options are used when the binary data or the C# object that represents a NAS message is converted to an XML document. More...
 
class  Oss.Nas.NASException
 NASException is the base class for the exceptions that are used to report errors during processing of NAS messages. More...
 
class  Oss.Nas.NASDecodeFailedException
 Represents an error that occurred while decoding a NAS message. More...
 
class  Oss.Nas.NASEncodeFailedException
 Represents an error that occurred while encoding a NAS message. More...
 
class  Oss.Nas5GS1660.NasCodec
 NasCodec can

  • Print a binary NAS message in JSON, XML, or ASN.1 value notation format.
  • Decode a binary NAS message into a C# object.
  • Encode a C# object that represents a NAS message into binary octets.
  • Print a C# object that represents a NAS message in JSON, XML, or ASN.1 value notation format.
More...
 

Enumerations

enum  Oss.Nas.Originator { Oss.Nas.Originator.UE, Oss.Nas.Originator.Network }
 Enumerates the possible originators of a NAS message. More...
 

Detailed Description

The API to encode and decode NAS messages.

Enumeration Type Documentation

◆ Originator

enum Oss.Nas.Originator
strong

Enumerates the possible originators of a NAS message.

Enumerator
UE 

The message originates from the UE.

Network 

The message originates from the network.