Saves the certificate to the supplied stream in specified format.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Sub Save ( _ stream As Stream, _ format As CertificateFormat, _ password As String _ ) |
C# |
---|
public void Save( Stream stream, CertificateFormat format, string password ) |
Parameters
- stream
- Type: System.IO..::..Stream
Stream to save the certificate to.
- format
- Type: Rebex.Security.Certificates..::..CertificateFormat
Certificate format.
- password
- Type: System..::..String
Password (only used by PFX/P12 format).
Remarks
On .NET Compact Framework, this is only supported in Windows CE 5.0 or later.