Saves the CertificateStore as a PFX encoded file.
[Visual Basic]
Public Function ToPfxBuffer( _
ByVal password As String, _
ByVal exportPrivateKeys As Boolean _
) As Byte()
An array of bytes that represents the PFX encoded store.
Exception Type | Condition |
---|---|
ArgumentNullException | password is a null reference (Nothing in Visual Basic). |
CertificateException | An error occurs while exporting the certificate store. |
CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace