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

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

                    encoded = null;
                }
            }
        }
Пример #2
0
        private void Parse()
        {
            lock (this)
            {
                if (encoded != null)
                {
                    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;
                }
            }
        }