Octet List

Is used to describe an ordered sequence of octet strings.

Syntax ID

#define SYN_OCTET_LIST 13

LDAP Name

Octet List

ASN.1 ID

2.16.840.1.113719.1.1.5.1.13

API Data Structure

typedef struct _octet_list 
{
   struct _octet_list N_FAR  *next; 
   nuint32                    length; 
   pnuint8                    data; 
} Octet_List_T;

Transfer Format

uint32   Length 
uint32   Number of strings 
 
/*For each string */ 
Align4 
uint32     Component Length = K 
BYTE[K]    Component Data

LDAP Format

This syntax can only be transmitted in binary form.

Binary

octetList ::= SEQUENCE OF OCTET STRING

Matching Rules

Remarks

For help in understanding the syntax definition template, see Reading Syntax Definitions.

A presented octet list matches a stored list if the presented list is a subset of the stored list. Octet strings are so designated because they are not interpreted by eDirectory. They are simply a series of bits with no Unicode implications.

Approximate matching rules apply because when comparing two octet lists, only one octet string in the list needs to match.

The length is the number of bits divided by 8 and rounded to the nearest integer. Thus each octet represents eight bits of data. The number of data bits will always be evenly divisible by 8.

Used In