public static int EncodeObjectIdentifier(IBerOutput output, int[] values)
{
var bytes = new List<byte>(4);
var size = 0;
if(values.Length > 1)
{
size = EncodeObjectSubidentifier(output, values[0] * 40 + values[1], bytes);
for(int index = 2; index < values.Length; index++)
size += EncodeObjectSubidentifier(output, values[index], bytes);
}
return size;
}