public X509Certificate2 CreateSignedCrt(CertificateRequest csr) { X509Certificate2 intermedCert = csr.CreateX509Cert( this.intermedCACertWithKey, 476); return(intermedCert); }
public X509Certificate2 CreateSignedCrt(CertificateRequest csr) { if (csr == null) { throw new ArgumentNullException(nameof(csr)); } X509Certificate2 intermedCert = csr .CreateX509Cert( this.rootCASelfSignedCertWithKey, 1504); return(intermedCert); }