Saves the CertificateStore in a buffer.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public byte[] ToCerBuffer( CertificateStoreType type ) |
Visual Basic |
---|
Public Function ToCerBuffer ( _ type As CertificateStoreType _ ) As Byte() |
Visual C++ |
---|
public: array<unsigned char>^ ToCerBuffer( CertificateStoreType type ) |
Parameters
- type
- Type: LLCryptoLib.Security.Certificates..::..CertificateStoreType
One of the CertificateStoreType values.
Return Value
An array of bytes that represents the encoded store.
Exceptions
Exception | Condition |
---|---|
LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while saving the store to the memory buffer. |