Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LI - Lawful Interception
Trial
Commits
43c0e696
Commit
43c0e696
authored
Jun 15, 2020
by
canterburym
Browse files
TS 102 232-1 v2.7.1 (2011-08-17) agreed at LI#27 (Aaland, 2011-06-28)
parent
5a3bf7b6
Pipeline
#3984
passed with stage
in 6 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
102232-1/LI-PS-PDU.asn
View file @
43c0e696
LI-PS-PDU
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) genHeader(1) version1
1
(1
1
)}
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) genHeader(1) version1
2
(1
2
)}
DEFINITIONS IMPLICIT TAGS ::=
...
...
@@ -14,7 +14,7 @@ IMPORTS
IRIsContent,
Network-Element-Identifier
FROM HI2Operations
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) hi2(1) version1
2
(1
2
)}
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) hi2(1) version1
4
(1
4
)}
-- from TS 101 671 [4]
HI1-Operation
...
...
@@ -103,7 +103,7 @@ IMPORTS
lawfulInterceptDomainId OBJECT IDENTIFIER ::= {itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2)}
li-psDomainId OBJECT IDENTIFIER ::= {lawfulInterceptDomainId li-ps(5) genHeader(1) version1
1
(1
1
)}
li-psDomainId OBJECT IDENTIFIER ::= {lawfulInterceptDomainId li-ps(5) genHeader(1) version1
2
(1
2
)}
-- ====================
-- Top-level definition
...
...
@@ -375,7 +375,8 @@ EncryptionHeader ::= SEQUENCE
encryptionType [0] EncryptionType,
encryptedPayload [1] OCTET STRING,
-- once decrypted, it can be interpreted as payload [1] EncryptedPayload
...
...,
encryptedPayloadType [2] EncryptedPayloadType OPTIONAL
}
EncryptionType ::= ENUMERATED
...
...
@@ -400,20 +401,39 @@ EncryptionType ::= ENUMERATED
EncryptedPayload ::= SEQUENCE
{
byteCounter
[0] INTEGER (0..18446744073709551615),
byteCounter [0] INTEGER (0..18446744073709551615),
-- The sum of the sizes of all transferred PDUs before this PDU.
-- It is initialized with the unixTime (number of seconds since 01-01-1970)
-- multiplied by 232 at first use.
-- Where N is sequencenumber of the n-th PDU in transfer, and size(PDU(N))
-- is defined to be the size of the PDU after BER encoding:
--
IF N > 0 THEN
--
PDU[N].byteCounter = PDU[N-1].byteCounter + size(PDU[N-1])
--
ELSE
--
PDU[N].byteCounter = ( unixTime(now) << 32 )
--
ENDIF
payload
[1] Payload,
--
IF N > 0 THEN
--
PDU[N].byteCounter = PDU[N-1].byteCounter + size(PDU[N-1])
--
ELSE
--
PDU[N].byteCounter = ( unixTime(now) << 32 )
--
ENDIF
payload [1] Payload,
-- Once decrypted, it can be interpreted as payload [1] Payload
...
}
EncryptedPayloadType ::= ENUMERATED
{
unknown(1),
part2(2),
-- encrypted payload is TS 102 232 part 2 [5]
part3(3),
-- encrypted payload is TS 102 232 part 3 [6]
part4(4),
-- encrypted payload is TS 102 232 part 4 [32]
part5(5),
-- encrypted payload is TS 102 232 part 5 [37]
part6(6),
-- encrypted payload is TS 102 232 part 6 [36]
part7(7),
-- encrypted payload is TS 102 232 part 7 [38]
...
}
END -- end of LI-PS-PDU
102232-1/portal/LI-PS-PDU,ver1
1
.txt
→
102232-1/portal/LI-PS-PDU,ver1
2
.txt
View file @
43c0e696
LI-PS-PDU
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) genHeader(1) version1
1
(1
1
)}
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) li-ps(5) genHeader(1) version1
2
(1
2
)}
DEFINITIONS IMPLICIT TAGS ::=
...
...
@@ -14,7 +14,7 @@ IMPORTS
IRIsContent,
Network-Element-Identifier
FROM HI2Operations
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) hi2(1) version1
2
(1
2
)}
{itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2) hi2(1) version1
4
(1
4
)}
-- from TS 101 671 [4]
HI1-Operation
...
...
@@ -103,7 +103,7 @@ IMPORTS
lawfulInterceptDomainId OBJECT IDENTIFIER ::= {itu-t(0) identified-organization(4) etsi(0) securityDomain(2) lawfulIntercept(2)}
li-psDomainId OBJECT IDENTIFIER ::= {lawfulInterceptDomainId li-ps(5) genHeader(1) version1
1
(1
1
)}
li-psDomainId OBJECT IDENTIFIER ::= {lawfulInterceptDomainId li-ps(5) genHeader(1) version1
2
(1
2
)}
-- ====================
-- Top-level definition
...
...
@@ -375,7 +375,8 @@ EncryptionHeader ::= SEQUENCE
encryptionType [0] EncryptionType,
encryptedPayload [1] OCTET STRING,
-- once decrypted, it can be interpreted as payload [1] EncryptedPayload
...
...,
encryptedPayloadType [2] EncryptedPayloadType OPTIONAL
}
EncryptionType ::= ENUMERATED
...
...
@@ -400,20 +401,39 @@ EncryptionType ::= ENUMERATED
EncryptedPayload ::= SEQUENCE
{
byteCounter
[0] INTEGER (0..18446744073709551615),
byteCounter [0] INTEGER (0..18446744073709551615),
-- The sum of the sizes of all transferred PDUs before this PDU.
-- It is initialized with the unixTime (number of seconds since 01-01-1970)
-- multiplied by 232 at first use.
-- Where N is sequencenumber of the n-th PDU in transfer, and size(PDU(N))
-- is defined to be the size of the PDU after BER encoding:
--
IF N > 0 THEN
--
PDU[N].byteCounter = PDU[N-1].byteCounter + size(PDU[N-1])
--
ELSE
--
PDU[N].byteCounter = ( unixTime(now) << 32 )
--
ENDIF
payload
[1] Payload,
--
IF N > 0 THEN
--
PDU[N].byteCounter = PDU[N-1].byteCounter + size(PDU[N-1])
--
ELSE
--
PDU[N].byteCounter = ( unixTime(now) << 32 )
--
ENDIF
payload [1] Payload,
-- Once decrypted, it can be interpreted as payload [1] Payload
...
}
EncryptedPayloadType ::= ENUMERATED
{
unknown(1),
part2(2),
-- encrypted payload is TS 102 232 part 2 [5]
part3(3),
-- encrypted payload is TS 102 232 part 3 [6]
part4(4),
-- encrypted payload is TS 102 232 part 4 [32]
part5(5),
-- encrypted payload is TS 102 232 part 5 [37]
part6(6),
-- encrypted payload is TS 102 232 part 6 [36]
part7(7),
-- encrypted payload is TS 102 232 part 7 [38]
...
}
END -- end of LI-PS-PDU
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment