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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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