Example #1
0
 public AcmeProcess(Options options, IChallengeProvider challengeProvider, IServerConfigurationProvider serverConfiguration, IAcmeClient client, IPkcs12 pkcs12, ICertificateRequestAsn1DEREncoder certificateRequestEncoder)
 {
     this.options = options;
     this.challengeProvider = challengeProvider;
     this.serverConfiguration = serverConfiguration;
     this.client = client;
     this.pkcs12 = pkcs12;            
     this.certificateRequestEncoder = certificateRequestEncoder;
 }
Example #2
0
 public AcmeProcess(Options options, IChallengeProvider challengeProvider, IServerConfigurationProvider serverConfiguration, IAcmeClient client, IPkcs12 pkcs12, ICertificateRequestAsn1DEREncoder certificateRequestEncoder)
 {
     this.options             = options;
     this.challengeProvider   = challengeProvider;
     this.serverConfiguration = serverConfiguration;
     this.client = client;
     this.pkcs12 = pkcs12;
     this.certificateRequestEncoder = certificateRequestEncoder;
 }
Example #3
0
 internal AcmeProcess(string email, string domain, Action <X509Certificate> certificateUpdater, Action <string, byte[]> challengeProof)
 {
     _email                     = email;
     _domain                    = domain;
     _certificateUpdater        = certificateUpdater;
     _challengeProof            = challengeProof;
     _client                    = new AcmeClient("https://acme-v01.api.letsencrypt.org", "keyName", new FileKeyStore(Environment.CurrentDirectory));
     _certificateRequestEncoder = new CertificateRequestAsn1DEREncoder(new Asn1Serializer());
 }
Example #4
0
 internal AcmeProcess(string email, string domain, Action<X509Certificate> certificateUpdater, Action<string, byte[]> challengeProof)
 {
     _email = email;
     _domain = domain;
     _certificateUpdater = certificateUpdater;
     _challengeProof = challengeProof;
     _client = new AcmeClient("https://acme-v01.api.letsencrypt.org", "keyName", new FileKeyStore(Environment.CurrentDirectory));
     _certificateRequestEncoder = new CertificateRequestAsn1DEREncoder(new Asn1Serializer());
 }
Example #5
0
 public AcmeProcess(
     Options options,
     IChallengeProvider challengeProvider,
     IServerConfigurationProvider serverConfiguration,
     IAcmeClient client)
 {
     this.options             = options;
     this.challengeProvider   = challengeProvider;
     this.serverConfiguration = serverConfiguration;
     this.client = client;
 }
Example #6
0
 public IISChallengeProvider(IAcmeClient client)
 {
     this.client = client;
     manager = new ServerManager();
 }
 public XspChallengeProvider(IAcmeClient client)
 {
     this.client = client;
     manager     = new ServerManager();
 }
 public AzureStorageChallengeProvider(Options options, IAcmeClient client)
 {
     this._options  = options;
     this._client   = client;
     this._usedKeys = new Stack <string>();
 }
 public IISChallengeProvider(IAcmeClient client)
 {
     this.client = client ?? throw new ArgumentNullException(nameof(client));
 }
 public ManualChallengeProvider(IAcmeClient client)
 {
     this.client = client;
 }
 public ManualChallengeProvider(IAcmeClient client)
 {
     this.client = client;
 }