module Net::BER::Extensions::Array

def to_ber(id = 0)

expected to be in BER format prior to calling this method.
Converts an Array to a BER sequence. All values in the Array are
#
def to_ber(id = 0)
  # The universal sequence tag 0x30 is composed of the base tag value
  # (0x10) and the constructed flag (0x20).
  to_ber_seq_internal(0x30 + id)
end