module Net::BER::Extensions::Array

def to_ber_contextspecific(id = 0)

prior to calling this method.
being used. All values in the Array are expected to be in BER format
that is meaningful to the particular context of the particular protocol
Converts an Array to a context-specific sequence, assigned a tag value
#
def to_ber_contextspecific(id = 0)
  # The application sequence tag always starts from the context flag
  # (0x80) and the constructed flag (0x20).
  to_ber_seq_internal(0xa0 + id)
end