public PendingCertificatesController(ICertificateRepository certRepo, IConfigurationRepository configRepo, IAuthorizationLogic authorizationLogic, IAuditLogic auditLogic) { this.certificateRepository = certRepo; this.configurationRepository = configRepo; this.authorizationLogic = authorizationLogic; this.http = new HttpResponseHandler(this); this.audit = auditLogic; }
public NodeLogic(IConfigurationRepository configurationRepository, IAuthorizationLogic authorizationLogic, ActiveDirectoryIdentityProviderLogic adIdpLogic, IPowershellEngine powershell, IAuditLogic auditLogic, CertificateManagementLogic certificateManagement, IPrivateCertificateProcessing privateCertificateProcessing) { this.auditLogic = auditLogic; this.powershell = powershell; this.configurationRepository = configurationRepository; this.authorizationLogic = authorizationLogic; this.adIdpLogic = adIdpLogic; this.certificateManagement = certificateManagement; this.privateCertificateProcessing = privateCertificateProcessing; }
public PrivateCertificateAuthorityController(ICertificateRepository certRepo, IConfigurationRepository configRepo, ICertificateProvider certProvider, IAuthorizationLogic authorizationLogic, IAuditLogic auditLogic, AdcsTemplateLogic templateLogic) { this.certificateRepository = certRepo; this.configurationRepository = configRepo; this.certificateProvider = certProvider; this.authorizationLogic = authorizationLogic; this.http = new HttpResponseHandler(this); this.audit = auditLogic; this.templateLogic = templateLogic; }
public PrivateCertificateProcessing(ICertificateRepository certificateRepository, IConfigurationRepository configurationRepository, ICertificateProvider certificateProvider, IAuthorizationLogic authorizationLogic, AdcsTemplateLogic templateLogic, IAuditLogic audit) { this.audit = audit; this.configurationRepository = configurationRepository; this.certificateRepository = certificateRepository; this.certificateProvider = certificateProvider; this.authorizationLogic = authorizationLogic; this.templateLogic = templateLogic; this.dataTransformation = new DataTransformation(); this.hashProvider = new HashProvider(); this.secrets = new SecretKeyProvider(); this.cipher = new EncryptionProvider(configurationRepository.GetAppConfig().EncryptionKey); }
public CertificateManagementLogic( IConfigurationRepository configurationRepository, ICertificateRepository certificateRepository, IAuthorizationLogic authorizationLogic, IAuditLogic audit, SecurityPrincipalLogic securityPrincipalLogic, EncryptionProvider cipher ) { this.securityPrincipalLogic = securityPrincipalLogic; this.configurationRepository = configurationRepository; this.certificateRepository = certificateRepository; this.authorizationLogic = authorizationLogic; this.cipher = cipher; this.hashProvider = new HashProvider(); this.keygen = new SecretKeyProvider(); this.audit = audit; }
public AuthorizationLogic(IConfigurationRepository configurationRepository, IAuditLogic audit) { this.audit = audit; this.configurationRepository = configurationRepository; }
public AuditController(IAuditLogic audit) { this.audit = audit; http = new HttpResponseHandler(this); }
public PowershellEngine(IAuditLogic auditLogic, IScriptManagementLogic scriptManagement) { this.scriptManagement = scriptManagement; this.auditLogic = auditLogic; }
public ErrorHandlingMiddleware(RequestDelegate next, IAuditLogic auditLogic) { this.next = next; }