X509ExtensionCollection Class

X509ExtensionCollection Class

 

Represents a collection of X509Extension objects. This class cannot be inherited.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

System.Object
  System.Security.Cryptography.X509Certificates.X509ExtensionCollection

public sealed class X509ExtensionCollection : ICollection, IEnumerable

NameDescription
System_CAPS_pubmethodX509ExtensionCollection()

Initializes a new instance of the X509ExtensionCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of X509Extension objects in a X509ExtensionCollection object.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether the collection is guaranteed to be thread safe.

System_CAPS_pubpropertyItem[Int32]

Gets the X509Extension object at the specified index.

System_CAPS_pubpropertyItem[String]

Gets the first X509Extension object whose value or friendly name is specified by an object identifier (OID).

System_CAPS_pubpropertySyncRoot

Gets an object that you can use to synchronize access to the X509ExtensionCollection object.

NameDescription
System_CAPS_pubmethodAdd(X509Extension)

Adds an X509Extension object to an X509ExtensionCollection object.

System_CAPS_pubmethodCopyTo(X509Extension[], Int32)

Copies a collection into an array starting at the specified index.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through an X509ExtensionCollection object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Copies the collection into an array starting at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator that can iterate through an X509ExtensionCollection object.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

This class represents a collection of X509Extension objects associated with a certificate. These extensions can provide additional information about the certificate.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0

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

Return to top
Show:
© 2016 Microsoft