Mentalis.org Security Library documentation

CertificateStore.ToCerBuffer Method 

Saves the CertificateStore in a buffer.

[Visual Basic]
Public Function ToCerBuffer( _
   ByVal type As CertificateStoreType _
) As Byte()
[C#]
public byte[] ToCerBuffer(
   CertificateStoreType type
);

Parameters

type
One of the CertificateStoreType values.

Return Value

An array of bytes that represents the encoded store.

Exceptions

Exception TypeCondition
CertificateExceptionAn error occurs while saving the store to the memory buffer.

See Also

CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace