public string GetCertificate(X509CertificateRequest certificateRequest) { var msg = $"{_settings.ClientId}~getCertificate~{_settings.Company}~NA~NA~{certificateRequest}~{_settings.Common}~{_settings.Address}~ ~{_settings.City}~{_settings.Province}~{_settings.ZipCode}~{_settings.Country}~{_settings.Telephone}~{_settings.Email}~{_settings.MachineId}~{_settings.ChallengePassword}~"; msg = Add1155Header(msg); return(msg); }
public Keyblock(Settings settings, SslTcpClient sslClient, ILog logger, X509CertificateRequest certificateRequest, Block block) { _settings = settings; _sslClient = sslClient; _logger = logger; _certificateRequest = certificateRequest; _block = block; }