Opens a serialized certificate store or a certificate store with signed PKCS7 messages.

Namespace: LLCryptoLib.Security.Certificates
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public CertificateStore(
	byte[] buffer,
	CertificateStoreType type
)
Visual Basic
Public Sub New ( _
	buffer As Byte(), _
	type As CertificateStoreType _
)
Visual C++
public:
CertificateStore(
	array<unsigned char>^ buffer, 
	CertificateStoreType type
)

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
The bytes of the store to open.
type
Type: LLCryptoLib.Security.Certificates..::..CertificateStoreType
One of the CertificateStoreType values.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionbuffer is a null reference (Nothing in Visual Basic).
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while opening the store.

See Also