GetEncoded() public méthode

public GetEncoded ( ) : byte[]
Résultat byte[]
        public void AddCrl(X509Crl other)
        {
            //IL_0008: Unknown result type (might be due to invalid IL or missing references)
            //IL_004b: Expected O, but got Unknown
            if (other == null)
            {
                throw new ArgumentNullException("other");
            }
            ISet revokedCertificates = other.GetRevokedCertificates();

            if (revokedCertificates == null)
            {
                return;
            }
            global::System.Collections.IEnumerator enumerator = ((global::System.Collections.IEnumerable)revokedCertificates).GetEnumerator();
            try
            {
                while (enumerator.MoveNext())
                {
                    X509CrlEntry x509CrlEntry = (X509CrlEntry)enumerator.get_Current();
                    try
                    {
                        tbsGen.AddCrlEntry(Asn1Sequence.GetInstance(Asn1Object.FromByteArray(x509CrlEntry.GetEncoded())));
                    }
                    catch (IOException val)
                    {
                        IOException e = val;
                        throw new CrlException("exception processing encoding of CRL", (global::System.Exception)(object) e);
                    }
                }
            }
            finally
            {
                global::System.IDisposable disposable = enumerator as global::System.IDisposable;
                if (disposable != null)
                {
                    disposable.Dispose();
                }
            }
        }