private void Parse()
		{
			Debug.Assert(parsed == false);

			Asn1InputStream e = new LazyAsn1InputStream(encoded);

			Asn1Object o;
			while ((o = e.ReadObject()) != null)
			{
				AddObject(o);
			}

			encoded = null;
			parsed = true;
		}
Exemple #2
0
 private void Parse()
 {
     lock (this)
     {
         if (encoded != null)
         {
             Asn1InputStream asn1InputStream = new LazyAsn1InputStream(encoded);
             Asn1Object      obj;
             while ((obj = asn1InputStream.ReadObject()) != null)
             {
                 AddObject(obj);
             }
             encoded = null;
         }
     }
 }
Exemple #3
0
        private void Parse()
        {
            Debug.Assert(parsed == false);

            Asn1InputStream e = new LazyAsn1InputStream(encoded);

            Asn1Object o;

            while ((o = e.ReadObject()) != null)
            {
                AddObject(o);
            }

            encoded = null;
            parsed  = true;
        }
		private void Parse()
		{
			lock (this)
			{
				if (encoded != null)
				{
					Asn1InputStream e = new LazyAsn1InputStream(encoded);

					Asn1Object o;
					while ((o = e.ReadObject()) != null)
					{
						AddObject(o);
					}

					encoded = null;
				}
			}
		}
        private void Parse()
        {
            object obj2 = this;

            lock (obj2)
            {
                if (this.encoded != null)
                {
                    Asn1Object      obj3;
                    Asn1InputStream stream = new LazyAsn1InputStream(this.encoded);
                    while ((obj3 = stream.ReadObject()) != null)
                    {
                        base.AddObject(obj3);
                    }
                    this.encoded = null;
                }
            }
        }
Exemple #6
0
        private void Parse()
        {
            lock (this)
            {
                if (!parsed)
                {
                    Asn1InputStream e = new LazyAsn1InputStream(encoded);

                    Asn1Object o;
                    while ((o = e.ReadObject()) != null)
                    {
                        AddObject(o);
                    }

                    encoded = null;
                    parsed  = true;
                }
            }
        }
        private void Parse()
        {
            lock (this)
            {
                if (null != encoded)
                {
                    Asn1EncodableVector v = new Asn1EncodableVector();
                    Asn1InputStream     e = new LazyAsn1InputStream(encoded);

                    Asn1Object o;
                    while ((o = e.ReadObject()) != null)
                    {
                        v.Add(o);
                    }

                    this.elements = v.TakeElements();
                    this.encoded  = null;
                }
            }
        }