Octet String

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

Syntax ID

#define SYN_OCTET_STRING 9

LDAP Name

Octet String

ASN1.ID

1.3.6.1.4.1.1466.115.121.1.40

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

Remarks

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