public Win32CertificateProvider(ICngNativeProvider cngProvider) { this.cngProvider = cngProvider ?? throw new ArgumentNullException(nameof(cngProvider)); secret = new SecretKeyProvider(); requestValidation = new CertificateRequestValidation(); }
public Win32CertificateProvider() { secret = new SecretKeyProvider(); cngProvider = new CngNativeProviderProxy(); requestValidation = new CertificateRequestValidation(); }