Commit d150d106 authored by canterburym's avatar canterburym
Browse files

Two strongly typed redactions

parent 4e4b849b
Loading
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
@@ -3727,7 +3727,7 @@ SIPMessage ::= SEQUENCE
    iPSourceAddress       [1] IPAddress,
    iPDestinationAddress  [2] IPAddress,
    sIPContent            [3] OCTET STRING,
    redactions            [4] Redactions OPTIONAL
    redactions            [4] SEQUENCE OF UTF8StringRedaction OPTIONAL
}

VoIPRoamingIndication ::= ENUMERATED
@@ -6031,11 +6031,10 @@ SBIType ::= SEQUENCE
{
    sBIReference         [1] SBIReference,
    sBIValue             [2] SBIValue,
    redactions           [3] Redactions OPTIONAL
    redactions           [3] SEQUENCE OF UTF8StringRedaction OPTIONAL
}



SBIValue ::= UTF8String

-- ==================================================
@@ -6051,7 +6050,7 @@ XMLType ::= SEQUENCE
{
    xMLNamespace [1] XMLNamespace,
    xMLValue     [2] XMLValue,
    redactions   [3] Redactions OPTIONAL
    redactions   [3] SEQUENCE OF UTF8StringRedaction OPTIONAL
}

XMLNamespace ::= UTF8String
@@ -6063,9 +6062,18 @@ XMLValue ::= UTF8String
-- ==================================================


Redactions ::= SEQUENCE OF RedactionIdentifier

RedactionIdentifier ::= UTF8String
UTF8StringRedaction ::= SEQUENCE 
{
    startCharacter       [1] INTEGER,
    endCharacter         [2] INTEGER,
    replacementCharacter [3] UTF8String (SIZE(1))
}

OctetStringRedaction ::= SEQUENCE
{
    startOctet       [1] INTEGER,
    endOctet         [2] INTEGER,
    replacementOctet [3] INTEGER (0..255)
}

END