Class CpSignerInfoCollection
Inherited Members
Namespace: CryptoPro.Security.Cryptography.Pkcs
Assembly: CryptoPro.Security.Cryptography.Pkcs.dll
Syntax
public sealed class CpSignerInfoCollection : ICollection, IEnumerable
Properties
Count
Gets the number of elements contained in the ICollection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int | The number of elements contained in the ICollection. |
IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Declaration
public bool IsSynchronized { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if access to the ICollection is synchronized (thread safe); otherwise, false. |
this[int]
Declaration
public CpSignerInfo this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type | Description |
|---|---|
| CpSignerInfo |
SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
Declaration
public object SyncRoot { get; }
Property Value
| Type | Description |
|---|---|
| object | An object that can be used to synchronize access to the ICollection. |
Methods
CopyTo(CpSignerInfo[], int)
Declaration
public void CopyTo(CpSignerInfo[] array, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| CpSignerInfo[] | array | |
| int | index |
CopyTo(Array, int)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Declaration
public void CopyTo(Array array, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Array | array | The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing. |
| int | index | The zero-based index in |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| ArgumentOutOfRangeException |
|
| ArgumentException |
-or- The number of elements in the source ICollection is greater than the available space from -or- The type of the source ICollection cannot be cast automatically to the type of the destination |
GetEnumerator()
Declaration
public CpSignerInfoEnumerator GetEnumerator()
Returns
| Type | Description |
|---|---|
| CpSignerInfoEnumerator |