private Export ( System contentType, System password ) : byte[] | ||
contentType | System | |
password | System | |
return | byte[] |
public virtual byte[] Export(System.Security.Cryptography.X509Certificates.X509ContentType contentType, System.Security.SecureString password)
{
throw null;
}
X509Certificate::Export ( System contentType ) : byte[] | |
X509Certificate::Export ( System contentType, string password ) : byte[] | |
X509Certificate::Export ( X509ContentType contentType ) : byte[] | |
X509Certificate::Export ( X509ContentType contentType, SecureString password ) : byte[] | |
X509Certificate::Export ( X509ContentType contentType, string password ) : byte[] |
public void UpdateCertificate(X509Certificate cert) { _updateCertificate.UpdateCertificate(cert); File.WriteAllBytes(CertPathOnDisk, cert.Export(X509ContentType.Pfx, CertPassword)); _lastUpdate = DateTime.UtcNow; LogInfo("Certificate successfully updated"); }