Numeric String

Is used for attributes whose values are numeric strings as defined in CCITT X.208.

Syntax ID

#define SYN_NU_STRING 5

LDAP Name

Numeric String

ASN1.ID

1.3.6.1.4.1.1466.115.121.1.36

API Data Structure

typedef pnstr8 NU_String_T;

Transfer Format

uint32    Length 
unicode   String

LDAP Format

string

Matching Rules

Remarks

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

For two numeric strings to match for equality, the strings must be the same length and their corresponding characters must be identical. The following characters are in the numeric string character set:

  • 0..9 digits

  • Space character

When comparing numeric strings, the following spaces are not significant:

  • Leading spaces (precede the first printing character)

  • Trailing spaces (follow the last printing character)

  • Multiple consecutive internal spaces (equivalent to a single space character)

In matching attributes that conform to this syntax, eDirectory omits those spaces that are not significant (as defined above). eDirectory stores insignificant spaces with the attribute value.

Used In