Commit d529d183 authored by Luke Mewburn's avatar Luke Mewburn
Browse files

TS_103_280.asn1: add IPAddress definitions

parent 344e85fd
Loading
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
@@ -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