TOC PREV NEXT INDEX


EmbeddedPDV Type



The ASN.1 EMBEDDED PDV type is a useful type used to include non-ASN.1 or other data within an ASN.1 encoded message. It was introduced in 1994 to replace EXTERNAL by removing unneeded fields and adding a few new ones to hold information that was missing. This type is described using the following ASN.1 SEQUENCE:

EmbeddedPDV ::=  [UNIVERSAL 11] IMPLICIT SEQUENCE {
 
   identification CHOICE {
 
      syntaxes SEQUENCE {
 
         abstract OBJECT IDENTIFIER,
 
         transfer OBJECT IDENTIFIER },
 
      syntax OBJECT IDENTIFIER,
 
      presentation-context-id INTEGER,
 
      context-negotiation SEQUENCE {
 
         presentation-context-id INTEGER,
 
         transfer-syntax OBJECT IDENTIFIER },
 
      transfer-syntax OBJECT IDENTIFIER,
 
      fixed NULL
 
   },,
 
   data-value OCTET STRING }
 
( WITH COMPONENTS {
 
            ... ,
 
            data-value-descriptor ABSENT } )
 

The ASN.1 compiler is used to create a meta-definition for this structure. The definition is stored in the file Asn1EmbeddedPDV.java (or Asn1XerEmbeddedPDV.java for XER). An object created from the resulting Java class 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

Copyright © 1997-2005 Objective Systems,Inc.
All Rights Reserved.


This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.