Octet String#

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

Syntax ID#

  1. 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
  • BYTEN Content

LDAP Format#

This syntax can only be transmitted in binary form.

Matching Rules#

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.
  • Equality
  • Ordering

Remarks#

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

Other Information#

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

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 02-Apr-2011 14:09 by jim