Octet String

Used for attributes whose values are byte strings and are not interpreted by eDirectory.

Syntax ID



Octet String


API Data Structure

typedef struct 
   nuint32     length; 
   pnuint8     data; 
} Octet_String_T;

Transfer Format

uint32    Length = N 
BYTE[N]   Content

LDAP Format

This syntax can only be transmitted in binary form.

Matching Rules


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

Attributes using this syntax can set size limits. Octet strings are not Unicode strings.

For two octet strings to match, they must be the same length and the corresponding bit sequence (octets) must be identical. When comparing two strings, the first pair of octets that do not match are used to determine the order of the strings.

Used In