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 | |
---|---|---|
CertInfoCollection() | Initializes a new instance of the CertInfoCollection class. |
Properties
Name | Description | |
---|---|---|
Capacity | (Inherited from CollectionBase.) |
|
Count | (Inherited from CollectionBase.) |
|
InnerList | (Inherited from CollectionBase.) |
|
Item[Int32] | Gets or sets the CertInfo object at the specified index in this collection. |
|
List | (Inherited from CollectionBase.) |
Methods
Name | Description | |
---|---|---|
Add(CertInfo) | Adds an item to the CertInfoCollection. |
|
Clear() | (Inherited from CollectionBase.) |
|
Contains(CertInfo) | Determines whether the CertInfoCollection contains a specific element. |
|
CopyTo(CertInfo[], Int32) | Copies the elements of the CertInfoCollection to an array, starting at a specified array index position. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | (Inherited from CollectionBase.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(CertInfo) | Searches for the specified CertInfoCollection and returns the zero-based index of the first occurrence within the entire collection. |
|
Insert(Int32, CertInfo) | Inserts an element into the CertInfoCollection at the specified index. |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnClear() | (Inherited from CollectionBase.) |
|
OnClearComplete() | Custom action performed when all the entries in the CertInfoCollection class are cleared. (Overrides CollectionBase.OnClearComplete().) |
|
OnInsert(Int32, Object) | Performs additional custom processes before inserting a new element into the CertInfoCollection instance.(Overrides CollectionBase.OnInsert(Int32, Object).) |
|
OnInsertComplete(Int32, Object) | Custom action that is performed when an entry is inserted into CertInfoCollection.(Overrides CollectionBase.OnInsertComplete(Int32, Object).) |
|
OnRemove(Int32, Object) | (Inherited from CollectionBase.) |
|
OnRemoveComplete(Int32, Object) | Custom action performed when a CertInfo entry is removed from the CertInfoCollection.(Overrides CollectionBase.OnRemoveComplete(Int32, Object).) |
|
OnSet(Int32, Object, Object) | Performs additional custom processes before setting a value in the CertInfoCollection instance.(Overrides CollectionBase.OnSet(Int32, Object, Object).) |
|
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).) |
|
OnValidate(Object) | Validates if the specified object is of type CertInfo.(Overrides CollectionBase.OnValidate(Object).) |
|
Remove(CertInfo) | Removes the first occurrence of a specific CertInfo from the CertInfoCollection. |
|
RemoveAt(Int32) | (Inherited from CollectionBase.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo(Array, Int32) | (Inherited from CollectionBase.) |
|
IList.Add(Object) | (Inherited from CollectionBase.) |
|
IList.Contains(Object) | (Inherited from CollectionBase.) |
|
IList.IndexOf(Object) | (Inherited from CollectionBase.) |
|
IList.Insert(Int32, Object) | (Inherited from CollectionBase.) |
|
IList.Remove(Object) | (Inherited from CollectionBase.) |
|
ICollection.IsSynchronized | (Inherited from CollectionBase.) |
|
ICollection.SyncRoot | (Inherited from CollectionBase.) |
|
IList.IsFixedSize | (Inherited from CollectionBase.) |
|
IList.IsReadOnly | (Inherited from CollectionBase.) |
|
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