Commit 4e4b849b authored by canterburym's avatar canterburym
Browse files

Simple redaction catalog

parent 9ce0b604
Loading
Loading
Loading
Loading
Loading
+2 −30
Original line number Diff line number Diff line
@@ -6063,37 +6063,9 @@ XMLValue ::= UTF8String
-- ==================================================


Redactions ::= SEQUENCE OF Redaction
Redactions ::= SEQUENCE OF RedactionIdentifier

Redaction ::= SEQUENCE 
{
    location [1] RedactionLocation,
    type     [2] RedactionType
}

RedactionLocation ::= CHOICE
{
    predefined         [1] UTF8String,
    stringLocation     [2] NumberRange,
    octetLocation      [3] NumberRange,
    jsonPointer        [4] UTF8String,
    xpath              [5] UTF8String,
    sipHeader          [6] UTF8String
}

RedactionType ::= CHOICE
{
    predefined               [1] NULL,
    removed                  [2] NULL,
    replacedWithCharacter    [3] UTF8String,
    replacedWithOctets       [4] OCTET STRING 
}

NumberRange ::= SEQUENCE
{
    start [1] INTEGER,
    end   [2] INTEGER
}
RedactionIdentifier ::= UTF8String


END