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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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