Counter

Is used for attributes whose values are signed integers.

Syntax ID

#define SYN_COUNTER 22

LDAP Name

Counter

ASN1.ID

2.16.840.1.113719.1.1.5.1.22

API Data Structure

typedef nuint32 Counter_T;

Transfer Format

uint32   Length = 4 
uint32   Content

LDAP Format

String

numeric string

Binary

counter ::=  uint32

Matching Rules

Remarks

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

Any attribute defined using this syntax is single-valued. This syntax differs from Integer in that any value added to an attribute of this syntax is arithmetically added to the total, and any value deleted is arithmetically subtracted from the total.

Used In