Mentalis.org Security Library documentation

CertificateStore Constructor (IEnumerable)

Initializes a new temporary CertificateStore in memory and adds the specified certificates to it.

[Visual Basic]
Overloads Public Sub New( _
   ByVal certs As IEnumerable _
)
[C#]
public CertificateStore(
   IEnumerable certs
);

Parameters

certs
A set of certificates.

Remarks

If the store is closed, all the data in the store is lost.

Exceptions

Exception TypeCondition
InvalidCastExceptioncerts contains at least one object that is not of type Certificate.

See Also

CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace | CertificateStore Constructor Overload List