Opens a serialized certificate store or a certificate store with signed PKCS7 messages.
Namespace: LLCryptoLib.Security.CertificatesAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | buffer is a null reference (Nothing in Visual Basic). |
LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while opening the store. |