From d529d18312d08009d7056ca83a8144dbf497c701 Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Fri, 12 Jun 2026 13:05:32 +1000 Subject: [PATCH 1/8] TS_103_280.asn1: add IPAddress definitions --- 103280/TS_103_280.asn1 | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index ac8c776..9fc344f 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -11,6 +11,34 @@ commonParameterDomainId OBJECT IDENTIFIER ::= {itu-t(0) identified-organization( LIID ::= OCTET STRING (SIZE (1..25)) +IPv4Address ::= OCTET STRING (SIZE(4)) + +IPv4CIDR ::= SEQUENCE +{ + address [0] IPv4Address, + prefix [1] INTEGER (0..32) +} + +IPv6Address ::= OCTET STRING (SIZE(16)) + +IPv6CIDR ::= SEQUENCE +{ + address [0] IPv6Address, + prefix [1] INTEGER (0..128) +} + +IPAddress ::= CHOICE +{ + iPv4Address [1] IPv4Address, + iPv6Address [2] IPv6Address +} + +IPCIDR ::= CHOICE +{ + iPv4CIDR [1] IPv4CIDR, + iPv6CIDR [2] IPv6CIDR +} + TCPPort ::= INTEGER (1..65535) TCPPortRange ::= SEQUENCE @@ -39,6 +67,18 @@ PortRange ::= CHOICE uDPPortRange [1] UDPPortRange } +IPAddressPort ::= SEQUENCE +{ + address [0] IPAddress, + port [1] Port +} + +IPAddressPortRange ::= SEQUENCE +{ + address [0] IPAddress, + portRange [1] PortRange +} + QualifiedDateTime ::= GeneralizedTime QualifiedMicrosecondDateTime ::= GeneralizedTime -- GitLab From 75718ff6cae8e41f5834020eb81ff88147714a4a Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Fri, 12 Jun 2026 13:12:22 +1000 Subject: [PATCH 2/8] TS_103_280.asn1: reorder definitions per clause 6 --- 103280/TS_103_280.asn1 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index 9fc344f..5301cc7 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -11,6 +11,20 @@ commonParameterDomainId OBJECT IDENTIFIER ::= {itu-t(0) identified-organization( LIID ::= OCTET STRING (SIZE (1..25)) +QualifiedDateTime ::= GeneralizedTime + +QualifiedMicrosecondDateTime ::= GeneralizedTime + +InternationalE164 ::= NumericString (SIZE(1..15)) + +IMSI ::= NumericString (SIZE(6..15)) + +IMEI ::= NumericString (SIZE(14)) + +IMEICheckDigit ::= NumericString (SIZE(15)) + +IMEISV ::= NumericString (SIZE(16)) + IPv4Address ::= OCTET STRING (SIZE(4)) IPv4CIDR ::= SEQUENCE @@ -79,10 +93,6 @@ IPAddressPortRange ::= SEQUENCE portRange [1] PortRange } -QualifiedDateTime ::= GeneralizedTime - -QualifiedMicrosecondDateTime ::= GeneralizedTime - WGS84CoordinateDecimal ::= SEQUENCE { latitude [0] WGS84LatitudeDecimal, @@ -103,16 +113,6 @@ WGS84LatitudeAngular ::= OCTET STRING (SIZE (10)) WGS84LongitudeAngular ::= OCTET STRING (SIZE (11)) -InternationalE164 ::= NumericString (SIZE(1..15)) - -IMSI ::= NumericString (SIZE(6..15)) - -IMEI ::= NumericString (SIZE(14)) - -IMEICheckDigit ::= NumericString (SIZE(15)) - -IMEISV ::= NumericString (SIZE(16)) - SUPIIMSI ::= IMSI SUPINAI ::= NAI -- GitLab From 69e6c051d9d4961b5cd6af896928c8b29c71acce Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Fri, 12 Jun 2026 13:36:06 +1000 Subject: [PATCH 3/8] TS_103_280: add remaining missing ASN.1 definitions --- 103280/TS_103_280.asn1 | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index 5301cc7..8b0b882 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -93,6 +93,18 @@ IPAddressPortRange ::= SEQUENCE portRange [1] PortRange } +MACAddress ::= PrintableString (SIZE (17)) + +EmailAddress ::= UTF8String + +UUID ::= PrintableString (SIZE (36)) + +ISOCountryCode ::= PrintableString (SIZE (2)) + +SIPURI ::= UTF8String + +TELURI ::= UTF8String + WGS84CoordinateDecimal ::= SEQUENCE { latitude [0] WGS84LatitudeDecimal, @@ -131,12 +143,42 @@ GPSINAI ::= NAI NAI ::= UTF8String +LDID ::= PrintableString + +InternationalizedEmailAddress ::= UTF8String + +EUI64 ::= PrintableString (SIZE (23)) + +CGI ::= PrintableString (SIZE (16..17)) + +ECGI ::= PrintableString (SIZE (14..15)) + +NCGI ::= PrintableString (SIZE (16..17)) + +ICCID ::= NumericString (SIZE (19..20)) + IPProtocol ::= INTEGER (0..255) VLANID ::= INTEGER (0..4095) +VIN ::= PrintableString (SIZE (17)) + ServiceAccessIdentifier ::= UTF8String +EUICCID ::= NumericString (SIZE (32)) + +APN ::= UTF8String + +DNN ::= UTF8String + +H323URI ::= UTF8String + +IMPU ::= UTF8String + +IMPI ::= NAI + +VRF ::= UTF8String + Percentage ::= INTEGER (0..100) AltitudeMeters ::= INTEGER (-1000..50000) -- GitLab From d8ed41561b3d26dd7c1827fa3c4b1f5dbe314e6f Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Tue, 16 Jun 2026 10:47:38 +1000 Subject: [PATCH 4/8] TS_103_280: add more types. change IP to strings Add UTCDateTime, UTCMicrosecondDateTime, ShortString, LongString. Change IPv4Address and IPv6Address to UTF8String for human-readable. --- 103280/TS_103_280.asn1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index 8b0b882..048dbe4 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -11,6 +11,10 @@ commonParameterDomainId OBJECT IDENTIFIER ::= {itu-t(0) identified-organization( LIID ::= OCTET STRING (SIZE (1..25)) +UTCDateTime ::= GeneralizedTime + +UTCMicrosecondDateTime ::= GeneralizedTime + QualifiedDateTime ::= GeneralizedTime QualifiedMicrosecondDateTime ::= GeneralizedTime @@ -25,7 +29,7 @@ IMEICheckDigit ::= NumericString (SIZE(15)) IMEISV ::= NumericString (SIZE(16)) -IPv4Address ::= OCTET STRING (SIZE(4)) +IPv4Address ::= UTF8String (SIZE (7..15)) IPv4CIDR ::= SEQUENCE { @@ -33,7 +37,7 @@ IPv4CIDR ::= SEQUENCE prefix [1] INTEGER (0..32) } -IPv6Address ::= OCTET STRING (SIZE(16)) +IPv6Address ::= UTF8String (SIZE (39)) IPv6CIDR ::= SEQUENCE { @@ -101,6 +105,10 @@ UUID ::= PrintableString (SIZE (36)) ISOCountryCode ::= PrintableString (SIZE (2)) +ShortString ::= UTFString (SIZE (0..255)) + +LongString ::= UTF8String (SIZE (0..65535)) + SIPURI ::= UTF8String TELURI ::= UTF8String -- GitLab From 0b322da6a375e541d619118c9c57791b2460b7df Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Tue, 16 Jun 2026 10:51:27 +1000 Subject: [PATCH 5/8] TS_103_280: Fix ShortString --- 103280/TS_103_280.asn1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index 048dbe4..7ac8471 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -105,7 +105,7 @@ UUID ::= PrintableString (SIZE (36)) ISOCountryCode ::= PrintableString (SIZE (2)) -ShortString ::= UTFString (SIZE (0..255)) +ShortString ::= UTF8String (SIZE (0..255)) LongString ::= UTF8String (SIZE (0..65535)) -- GitLab From 6149a4f49113baf74840679ae3c5da15fee095e2 Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Tue, 16 Jun 2026 10:58:23 +1000 Subject: [PATCH 6/8] TS_103_280.asn1: restrict LDID. consistent UTF8String --- 103280/TS_103_280.asn1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index 7ac8471..a9904cb 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -97,13 +97,13 @@ IPAddressPortRange ::= SEQUENCE portRange [1] PortRange } -MACAddress ::= PrintableString (SIZE (17)) +MACAddress ::= UTF8String (SIZE (17)) EmailAddress ::= UTF8String -UUID ::= PrintableString (SIZE (36)) +UUID ::= UTF8String (SIZE (36)) -ISOCountryCode ::= PrintableString (SIZE (2)) +ISOCountryCode ::= UTF8String (SIZE (2)) ShortString ::= UTF8String (SIZE (0..255)) @@ -151,17 +151,17 @@ GPSINAI ::= NAI NAI ::= UTF8String -LDID ::= PrintableString +LDID ::= UTF8String (SIZE (3..MAX)) InternationalizedEmailAddress ::= UTF8String -EUI64 ::= PrintableString (SIZE (23)) +EUI64 ::= UTF8String (SIZE (23)) -CGI ::= PrintableString (SIZE (16..17)) +CGI ::= UTF8String (SIZE (16..17)) -ECGI ::= PrintableString (SIZE (14..15)) +ECGI ::= UTF8String (SIZE (14..15)) -NCGI ::= PrintableString (SIZE (16..17)) +NCGI ::= UTF8String (SIZE (16..17)) ICCID ::= NumericString (SIZE (19..20)) @@ -169,7 +169,7 @@ IPProtocol ::= INTEGER (0..255) VLANID ::= INTEGER (0..4095) -VIN ::= PrintableString (SIZE (17)) +VIN ::= UTF8String (SIZE (17)) ServiceAccessIdentifier ::= UTF8String -- GitLab From f493cd3f78b703b297a17d1c3c914a45b0c0f59a Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Tue, 16 Jun 2026 11:02:47 +1000 Subject: [PATCH 7/8] TS_103_280.xsd: allow IPv6CIDR prefix /0 --- 103280/TS_103_280.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/103280/TS_103_280.xsd b/103280/TS_103_280.xsd index e6afc7c..6197314 100644 --- a/103280/TS_103_280.xsd +++ b/103280/TS_103_280.xsd @@ -77,7 +77,7 @@ - + -- GitLab From 1044f37c7d151d4b5f401d2313a622668f47eabf Mon Sep 17 00:00:00 2001 From: Luke Mewburn Date: Tue, 16 Jun 2026 14:49:03 +1000 Subject: [PATCH 8/8] TS_103_280.asn1: LDID is minimum 6 chars --- 103280/TS_103_280.asn1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/103280/TS_103_280.asn1 b/103280/TS_103_280.asn1 index a9904cb..805c772 100644 --- a/103280/TS_103_280.asn1 +++ b/103280/TS_103_280.asn1 @@ -151,7 +151,7 @@ GPSINAI ::= NAI NAI ::= UTF8String -LDID ::= UTF8String (SIZE (3..MAX)) +LDID ::= UTF8String (SIZE (6..MAX)) InternationalizedEmailAddress ::= UTF8String -- GitLab