コード例 #1
0
ファイル: AcmeProcess.cs プロジェクト: oocx/acme.net
 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;
 }
コード例 #2
0
ファイル: AcmeProcess.cs プロジェクト: zhaojinhai/Nowin
 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());
 }
コード例 #3
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;
 }
コード例 #4
0
ファイル: AcmeProcess.cs プロジェクト: nobitagamer/Nowin
 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());
 }