예제 #1
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;
		}
예제 #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;
         }
     }
 }
예제 #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;
				}
			}
		}
예제 #5
0
        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;
                }
            }
        }
예제 #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;
                }
            }
        }
예제 #7
0
        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;
                }
            }
        }