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.181-beta
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