public void Reset() { // note: this call doesn't Reset the X509ChainPolicy if ((status != null) && (status.Length != 0)) { status = null; } if (elements.Count > 0) { elements.Clear(); } if (roots != null) { roots.Close(); roots = null; } if (cas != null) { cas.Close(); cas = null; } collection = null; bce_restriction = null; working_public_key = null; }
public override void Reset() { // note: this call doesn't Reset the X509ChainPolicy if ((status != null) && (status.Length != 0)) { status = null; } if (elements.Count > 0) { elements.Clear(); } if (user_root_store != null) { user_root_store.Close(); user_root_store = null; } if (root_store != null) { root_store.Close(); root_store = null; } if (user_ca_store != null) { user_ca_store.Close(); user_ca_store = null; } if (ca_store != null) { ca_store.Close(); ca_store = null; } roots = null; cas = null; collection = null; bce_restriction = null; working_public_key = null; }
/// <summary>Clears the current <see cref="T:System.Security.Cryptography.X509Certificates.X509Chain" /> object.</summary> public void Reset() { if (status != null && status.Length != 0) { status = null; } if (elements.Count > 0) { elements.Clear(); } if (roots != null) { roots.Close(); roots = null; } if (cas != null) { cas.Close(); cas = null; } collection = null; bce_restriction = null; working_public_key = null; }