public static X509Certificate2 GenerateSelfSignedCertificate( CertificateSigningMode mode, string subjectName, DateTime startDate = default, DateTime endDate = default )
Public Shared Function GenerateSelfSignedCertificate ( mode As CertificateSigningMode, subjectName As String, Optional startDate As DateTime = Nothing, Optional endDate As DateTime = Nothing ) As X509Certificate2
public: static X509Certificate2^ GenerateSelfSignedCertificate( CertificateSigningMode mode, String^ subjectName, DateTime startDate = DateTime(), DateTime endDate = DateTime() )
static member GenerateSelfSignedCertificate : mode : CertificateSigningMode * subjectName : string * ?startDate : DateTime * ?endDate : DateTime (* Defaults: let _startDate = defaultArg startDate new DateTime() let _endDate = defaultArg endDate new DateTime() *) -> X509Certificate2
GSF.Security.Cryptography.X509.CertificateMaker.GenerateSelfSignedCertificate = function(mode, subjectName, startDate, endDate);
Copyright © 2018, Grid Protection Alliance. All Rights Reserved.