tokens: ['then', 'the', 'message', 'is', 'discarded', 'd', 'If', 'a', 'TCAPsec', 'message', 'is', 'received', 'and', 'the', 'SPD', 'indicates', 'that', 'TCAPsec', 'is', 'required', 'then', 'the', 'process', 'continues', 'at', 'step', '', '', 'The', 'receiving', 'SSSEG', 'checks', 'its', 'SAD', 'to', 'retrieve', 'the', 'relevant', 'SA', 'information', 'for', 'processing', 'of', 'the', 'TCAPsec', 'message', 'a', 'If', 'the', 'received', 'SPI', 'does', 'not', 'point', 'to', 'a', 'valid', 'SA', 'then', 'the', 'message', 'is', 'discarded', 'b', 'If', 'the', 'received', 'SPI', 'points', 'to', 'a', 'valid', 'SA', 'and', 'if', 'the', 'Source', 'and', 'Destination', 'Network', 'Id', 'which', 'are', 'retrieved', 'via', 'the', 'SPI', 'align', 'with', 'those', 'from', 'SCCP', 'layer', 'then', 'the', 'SSSEG', 'retrieves', 'the', 'protection', 'mode', 'from', 'the', 'SPD', 'and', 'the', 'cryptographic', 'information', 'keys', 'algorithms', 'from', 'the', 'SAD', 'and', 'the', 'process', 'continues', 'at', 'step', '', 'otherwise', 'the', 'message', 'is', 'discarded', '', 'Freshness', 'of', 'the', 'protected', 'message', 'is', 'checked', 'by', 'ensuring', 'the', 'Time', 'Variant', 'Parameter', 'TVP', 'is', 'in', 'an', 'acceptable', 'window', 'Integrity', 'and', 'encryption', 'mechanisms', 'are', 'applied', 'to', 'the', 'message', 'according', 'to', 'the', 'identified', 'protection', 'level', 'by', 'using', 'the', 'information', 'in', 'the', 'SA', 'keys', 'algorithms']