CertificateStore Constructor (Byte, CertStoreType, CryptoServiceProvider)
Opens an existing store of certificates from a memory footprint of a PKCS #7 (.P7B) or Serialized Certificate Storage (.SST) file.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public CertificateStore(
	byte[] storeData,
	CertStoreType storeType,
	CryptoServiceProvider csp
)

Parameters

storeData
Type: SystemByte
A byte array containing the memory footprint of a PKCS #7 or serialized file.
storeType
Type: MailBee.SecurityCertStoreType
Pkcs7Bytes or SerializedBytes.
csp
Type: MailBee.SecurityCryptoServiceProvider
A reference to CryptoServiceProvider instance descripting Cryptographic service provider (CSP) to be used for the given store, or a null reference (Nothing in Visual Basic) if the default CSP should be used.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionstoreData is a null reference (Nothing in Visual Basic).
MailBeeCertificateStoreWin32ExceptionWin32 returned an error during opening the certificate store.
Remarks
See Also