Esempio n. 1
0
 /// <summary>
 ///     A copy constructor which creates an Asn1SequenceOf from an
 ///     instance of Asn1Sequence.
 ///     Since SEQUENCE and SEQUENCE_OF have the same identifier, the decoder
 ///     will always return a SEQUENCE object when it detects that identifier.
 ///     In order to take advantage of the Asn1SequenceOf type, we need to be
 ///     able to construct this object when knowingly receiving an
 ///     Asn1Sequence.
 /// </summary>
 public Asn1SequenceOf(Asn1Sequence sequence)
     : base(Id, sequence.ToArray(), sequence.Size())
 {
 }