Click or drag to resize

CertificateMakerGenerateSelfSignedCertificate Method

Creates a certificate authority certificate.

Namespace: GSF.Security.Cryptography.X509
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax
public static X509Certificate2 GenerateSelfSignedCertificate(
	CertificateSigningMode mode,
	string subjectName,
	DateTime startDate = default,
	DateTime endDate = default
)
View Source

Parameters

mode  CertificateSigningMode
 
subjectName  String
 
startDate  DateTime  (Optional)
 
endDate  DateTime  (Optional)
 

Return Value

X509Certificate2
See Also