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.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
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