TOC PREV NEXT INDEX


EXTERNAL Type



The ASN.1 EXTERNAL type is a useful type used to include non-ASN.1 or other data within an ASN.1 encoded message. This type is described using the following ASN.1 SEQUENCE:

EXTERNAL  ::=  [UNIVERSAL 8] IMPLICIT SEQUENCE {
 
   direct-reference  OBJECT IDENTIFIER OPTIONAL,
 
   indirect-reference  INTEGER OPTIONAL,
 
   data-value-descriptor  ObjectDescriptor  OPTIONAL,
 
   encoding  CHOICE {
 
      single-ASN1-type  [0] ANY,
 
      octet-aligned     [1] IMPLICIT OCTET STRING,
 
      arbitrary         [2] IMPLICIT BIT STRING
 
   }
 
}
 

The ASN.1 compiler is used to create a meta-definition for this structure. The definition is stored in the file asn1External.h. The resulting C structure is populated just like any other compiler-generated structure for working with ASN.1 data.



Objective Systems, Inc.

102 Pickering Way, Suite #506
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX