CertInfoCollection Class

 

A collection of CertInfo objects.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    System.Web.Security.SingleSignOn.CertInfoCollection

Syntax

[ComVisibleAttribute(true)]
public class CertInfoCollection : CollectionBase
[ComVisibleAttribute(true)]
public ref class CertInfoCollection : CollectionBase
[<ComVisibleAttribute(true)>]
type CertInfoCollection = 
    class
        inherit CollectionBase
    end
<ComVisibleAttribute(True)>
Public Class CertInfoCollection
    Inherits CollectionBase

Constructors

Name Description
System_CAPS_pubmethod CertInfoCollection()

Initializes a new instance of the CertInfoCollection class.

Properties

Name Description
System_CAPS_pubproperty Capacity

(Inherited from CollectionBase.)

System_CAPS_pubproperty Count

(Inherited from CollectionBase.)

System_CAPS_protproperty InnerList

(Inherited from CollectionBase.)

System_CAPS_pubproperty Item[Int32]

Gets or sets the CertInfo object at the specified index in this collection.

System_CAPS_protproperty List

(Inherited from CollectionBase.)

Methods

Name Description
System_CAPS_pubmethod Add(CertInfo)

Adds an item to the CertInfoCollection.

System_CAPS_pubmethod Clear()

(Inherited from CollectionBase.)

System_CAPS_pubmethod Contains(CertInfo)

Determines whether the CertInfoCollection contains a specific element.

System_CAPS_pubmethod CopyTo(CertInfo[], Int32)

Copies the elements of the CertInfoCollection to an array, starting at a specified array index position.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

(Inherited from CollectionBase.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(CertInfo)

Searches for the specified CertInfoCollection and returns the zero-based index of the first occurrence within the entire collection.

System_CAPS_pubmethod Insert(Int32, CertInfo)

Inserts an element into the CertInfoCollection at the specified index.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnClear()

(Inherited from CollectionBase.)

System_CAPS_protmethod OnClearComplete()

Custom action performed when all the entries in the CertInfoCollection class are cleared. (Overrides CollectionBase.OnClearComplete().)

System_CAPS_protmethod OnInsert(Int32, Object)

Performs additional custom processes before inserting a new element into the CertInfoCollection instance.(Overrides CollectionBase.OnInsert(Int32, Object).)

System_CAPS_protmethod OnInsertComplete(Int32, Object)

Custom action that is performed when an entry is inserted into CertInfoCollection.(Overrides CollectionBase.OnInsertComplete(Int32, Object).)

System_CAPS_protmethod OnRemove(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethod OnRemoveComplete(Int32, Object)

Custom action performed when a CertInfo entry is removed from the CertInfoCollection.(Overrides CollectionBase.OnRemoveComplete(Int32, Object).)

System_CAPS_protmethod OnSet(Int32, Object, Object)

Performs additional custom processes before setting a value in the CertInfoCollection instance.(Overrides CollectionBase.OnSet(Int32, Object, Object).)

System_CAPS_protmethod OnSetComplete(Int32, Object, Object)

Custom action that is performed when an entry is set at an index in the CertInfoCollection.(Overrides CollectionBase.OnSetComplete(Int32, Object, Object).)

System_CAPS_protmethod OnValidate(Object)

Validates if the specified object is of type CertInfo.(Overrides CollectionBase.OnValidate(Object).)

System_CAPS_pubmethod Remove(CertInfo)

Removes the first occurrence of a specific CertInfo from the CertInfoCollection.

System_CAPS_pubmethod RemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Add(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Contains(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.IndexOf(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Insert(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod IList.Remove(Object)

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.IsSynchronized

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty ICollection.SyncRoot

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsFixedSize

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.IsReadOnly

(Inherited from CollectionBase.)

System_CAPS_pubinterfaceSystem_CAPS_privproperty IList.Item[Int32]

(Inherited from CollectionBase.)

Remarks

You should never add an object directly to a CertInfoCollection. Use one of X509VerificationMethod methods: AddNewTrustedCertificate(IntPtr), AddNewTrustedCertificate(String), AddNewTrustedCertificate(String, String), or AddNewTrustedCertificateByThumbprint(String). These methods will create a CertInfo and add it to the appropriate collection.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Security.SingleSignOn Namespace

Return to top