Click or drag to resize

X509CertificatePolicyCollection Class

Represents a collection of X509CertificatePolicy objects.
Inheritance Hierarchy

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: (
public class X509CertificatePolicyCollection : BasicCollection<X509CertificatePolicy>

The X509CertificatePolicyCollection type exposes the following members.

Public methodX509CertificatePolicyCollection
Initializes a new instance of the X509CertificatePolicyCollection class
Public propertyCount
Gets the number of elements contained in the ICollectionT.
(Inherited from BasicCollectionT.)
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
(Inherited from BasicCollectionT.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from BasicCollectionT.)
Public propertyItemString
Gets an X509CertificatePolicy object from the X509CertificatePolicyCollection object by policy's OID value or friendly name.
Public methodAdd
Adds an X509CertificatePolicy object to the X509CertificatePolicyCollection object.
(Overrides BasicCollectionTAdd(T).)
Public methodAddRange
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.
(Inherited from BasicCollectionT.)
Public methodClear
Removes all items from the ICollectionT.
(Inherited from BasicCollectionT.)
Public methodContains
Determines whether the ICollectionT contains a specific value.
(Inherited from BasicCollectionT.)
Public methodCopyTo
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from BasicCollectionT.)
Public methodDecode
Decodes a collection of certificate policies from a ASN.1-encoded byte array.

Byte array in the rawData parameter must represent certificate policies extension value.

Public methodEncode
Encodes policy collection to a ASN.1-encoded byte array. Encoded byte array represents certificate policies extension value.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from BasicCollectionT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Determines the index of a specific item in the IListT.
(Inherited from BasicCollectionT.)
Public methodInsert
Inserts an item to the IListT at the specified index.
(Inherited from BasicCollectionT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from BasicCollectionT.)
Public methodRemoveAt
Removes the IListT item at the specified index.
(Inherited from BasicCollectionT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Explicit Interface Implementations
See Also