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. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

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.


Updated February 12, 2020