Previous Topic: Named Values

Next Topic: HEX STRING Type

Constraints

The SIZE keyword can be used to constrain the length of an octet string to a certain range or value. Length is measured in bytes. For example:

OCTET STRING (SIZE(4..8))

If the component is variable length, a type check error occurs if the size constraints are breached.