X509Certificate2Collection Members

The following tables list the members exposed by the X509Certificate2Collection type.

Public Constructors

Name Description
Public Method X509Certificate2Collection Overloaded. Initializes a new instance of the X509Certificate2Collection class.

Public Properties

Name Description
Public Property Item Gets or sets the X509Certificate2 at the specified index.

Public Methods

Name Description
Public Method Add Overloaded. Adds an object to the end of the X509Certificate2Collection object.
Public Method AddRange Overloaded. Adds multiple X509Certificate2 objects to an X509Certificate2Collection object.
Public Method Contains Overloaded. Determines whether a X509Certificate2Collection object contains a specific certificate.
Public Method CopyTo Overloaded. Copies the X509Certificate values in the current X509CertificateCollection to a one-dimensional array.
Public Method Find Searches an X509Certificate2Collection object using the search criteria specified by the X509FindType enumeration and the specified value to find.
Public Method GetHashCode Builds a hash value based on all values contained in the current X509CertificateCollection.
Public Method IndexOf Overloaded. Returns the index of the specified X509Certificate in the current X509CertificateCollection.
Public Method Insert Overloaded. Inserts an object into the X509Certificate2Collection object at the specified index.
Public Method Remove Overloaded. Removes the first occurrence of a certificate from the X509Certificate2Collection object.

See Also

Reference

X509Certificate2Collection Class
System.Security.Cryptography.X509Certificates Namespace