Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

ASN.1 Streamer Properties

ASN.1 Streamer Properties

The
AsnStreamer
component . splits and converts a large multi-message ASN.1 document into ASN.1 messages.
Each ASN.1 message is converted into XML.
The
AsnStreamer
must be defined at the global level of the Script and it must be the startup component of the transformation.
The following table describes the properties of the
AsnStreamer
component:
Property
Description
asn_file
Defines an ASN.1 specification file.
count
Defines the maximum number of converted ASN.1 messages to pass to the transformation.
encoding
Defines the ASN.1 encoding.
header
Defines a header to exclude from the ASN.1 file. The
header
property has the following options:
  • NewlineSearch. The header is a newline.
  • OffsetSearch. Define the header according to the number of characters from the beginning of the file.
  • PatternSearch. Define the header with a regular expression.
  • TextSearch. Define the header by an explicit string or a string that you retrieve dynamically from the source document.
max_lookup_size
Defines the maximum quantity of new data, in kilobytes, that the
AsnStreamer
searches for each new segment.
For optimal performance, set this property to twice the maximum possible segment size.
When an application activates a deployed
AsnStreamer
service through an API, it must set the chunk size parameter to a value that is smaller than the
max_lookup_size
. Default is 10000.
no_constraints
Determines whether to process the ASN file with constraints. The
no_constraints
property has the following options:
  • true. Process the ASN file without constraints.
  • false. Process the ASN file with constraints.
Default is false.
run_component
Defines a transformation that processes the segment. You can choose one of the following options:
  • The name of a Parser, Serializer, or Mapper that is configured at the global level of the Script.
  • A
    Mapper
    or
    Serializer
    component. Configure the mapper or serializer within the segment.
  • A
    WriteSegment
    component that copies the segment to the output.
pdu_type
Defines the PDU type. Use this property to clarify an ambiguity.
separator
Defines text to ignore between records. The
separator
property has the following options:
  • NewlineSearch. The separator is a newline.
  • OffsetSearch. Define the separator by the number of characters from the end of the previous record.
  • PatternSearch. Define the separator by a regular expression.
  • TextSearch. Define the separator by an explicit string or a string that you retrieve dynamically from the source document.
xml_root
Define an XML root element to contain the converted ASN.1 messages.