/// <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())
		{
			return ;
		}
 /// <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())
 {
     return;
 }
Exemple #3
0
		/// <summary> Constructs a Control object by decoding from an Asn1Sequence</summary>
		public RfcControl(Asn1Sequence seqObj):base(3)
		{
			int len = seqObj.size();
			for (int i = 0; i < len; i++)
				add(seqObj.get_Renamed(i));
		}