|
CertificateGeneratorExportCertificateWithPrivateKey Method
|
Exports the private key of the certificate that is currently in use to the given path,
encrypting the file with the given password.
Namespace: GSF.Net.SecurityAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntaxpublic void ExportCertificateWithPrivateKey(
string exportPath,
SecureString password
)
Public Sub ExportCertificateWithPrivateKey (
exportPath As String,
password As SecureString
)
public:
void ExportCertificateWithPrivateKey(
String^ exportPath,
SecureString^ password
)
member ExportCertificateWithPrivateKey :
exportPath : string *
password : SecureString -> unit
function ExportCertificateWithPrivateKey(exportPath, password);
View SourceParameters
- exportPath String
- The path to which the certificate will be exported.
- password SecureString
- The password used to encrypt the certificate file.
See Also