Construct octet values for attributes