Skip to content

Commit

Permalink
Project rename
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaley committed Apr 19, 2024
1 parent f4bd0b7 commit 5bd813c
Show file tree
Hide file tree
Showing 36 changed files with 58 additions and 58 deletions.
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33815.320
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "digicert-certcentral-anycagateway", "digicert-certcentral-anycagateway\digicert-certcentral-anycagateway.csproj", "{434D1E74-8EE7-4CC6-BAEC-62D224022F5F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "digicert-certcentral-caplugin", "digicert-certcentral-anycagateway\digicert-certcentral-caplugin.csproj", "{434D1E74-8EE7-4CC6-BAEC-62D224022F5F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/CertCentralAPIBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Newtonsoft.Json;

using System;
Expand All @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public abstract class CertCentralBaseResponse
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/CertificateChain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class CertificateChainRequest : CertCentralBaseRequest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using System.Web;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
/// <summary>
/// Request to get the details for a specific certificate type.
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/CertificateTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
/// <summary>
/// Request to get a certificate type.
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/CheckDCV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class DVCheckDCVRequest : CertCentralBaseRequest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class DownloadCertificateByFormatRequest : CertCentralBaseRequest
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Newtonsoft.Json;

using System;
Expand All @@ -8,7 +8,7 @@
using System.Threading.Tasks;
using System.Web;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ListCertificateOrdersRequest : CertCentralBaseRequest
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/ListContainers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
/// <summary>
/// Request to get the containers available.
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/ListDomains.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Microsoft.VisualBasic;
using Newtonsoft.Json;

Expand All @@ -9,7 +9,7 @@
using System.Threading.Tasks;
using System.Web;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ListDomainsRequest : CertCentralBaseRequest
{
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/ListDuplicates.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;

using Newtonsoft.Json;

Expand All @@ -8,7 +8,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ListDuplicatesRequest : CertCentralBaseRequest
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/ListMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
/// <summary>
/// Request to get the metadata fields available.
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/ListOrganizations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using System.Web;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ListOrganizationsRequest : CertCentralBaseRequest
{
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/ListReissues.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Newtonsoft.Json;

using System;
Expand All @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ListReissueRequest : CertCentralBaseRequest
{
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/ListRequests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Newtonsoft.Json;

using System;
Expand All @@ -8,7 +8,7 @@
using System.Threading.Tasks;
using System.Web;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ListRequestsRequest : CertCentralBaseRequest
{
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/OrderCertificate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Microsoft.VisualBasic;
using Newtonsoft.Json;

Expand All @@ -10,7 +10,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class OrderRequest : CertCentralBaseRequest
{
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/Reissue.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Newtonsoft.Json;

using System;
Expand All @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
[Serializable]
public class ReissueRequest : CertCentralBaseRequest
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/RevokeCertificate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using System.Web;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class RevokeCertificateRequest : CertCentralBaseRequest
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/API/StatusChanges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class StatusChangesRequest : CertCentralBaseRequest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class UpdateRequestStatusRequest : CertCentralBaseRequest
{
Expand Down
4 changes: 2 additions & 2 deletions digicert-certcentral-anycagateway/API/ViewCertificateOrder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Newtonsoft.Json;

using System;
Expand All @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.API
namespace Keyfactor.Extensions.CAPlugin.DigiCert.API
{
public class ViewCertificateOrderRequest : CertCentralBaseRequest
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Keyfactor.AnyGateway.Extensions;
using Keyfactor.Common;
using Keyfactor.Common.Exceptions;
using Keyfactor.Extensions.CAGateway.DigiCert.API;
using Keyfactor.Extensions.CAGateway.DigiCert.Client;
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.API;
using Keyfactor.Extensions.CAPlugin.DigiCert.Client;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Keyfactor.Logging;
using Keyfactor.PKI.Enums;

Expand All @@ -20,21 +20,21 @@

using static Keyfactor.PKI.PKIConstants.Microsoft;

using CertCentralConstants = Keyfactor.Extensions.CAGateway.DigiCert.Constants;
using CertCentralConstants = Keyfactor.Extensions.CAPlugin.DigiCert.Constants;

namespace Keyfactor.Extensions.CAGateway.DigiCert
namespace Keyfactor.Extensions.CAPlugin.DigiCert
{
public class CertCentralCAConnector : IAnyCAPlugin
public class CertCentralCAPlugin : IAnyCAPlugin
{
private CertCentralConfig _config;
private readonly ILogger _logger;
private ICertificateDataReader _certificateDataReader;

private Dictionary<int, string> DCVTokens { get; } = new Dictionary<int, string>();

public CertCentralCAConnector()
public CertCentralCAPlugin()
{
_logger = LogHandler.GetClassLogger<CertCentralCAConnector>();
_logger = LogHandler.GetClassLogger<CertCentralCAPlugin>();
}
public void Initialize(IAnyCAPluginConfigProvider configProvider, ICertificateDataReader certificateDataReader)
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/CertCentralConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert
namespace Keyfactor.Extensions.CAPlugin.DigiCert
{
public class CertCentralConfig
{
Expand Down
6 changes: 3 additions & 3 deletions digicert-certcentral-anycagateway/Client/CertCentralClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Keyfactor.Extensions.CAGateway.DigiCert.API;
using Keyfactor.Extensions.CAGateway.DigiCert.Models;
using Keyfactor.Extensions.CAPlugin.DigiCert.API;
using Keyfactor.Extensions.CAPlugin.DigiCert.Models;
using Keyfactor.Logging;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
Expand All @@ -14,7 +14,7 @@

using static Keyfactor.PKI.X509.X509Utilities;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Client
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Client
{
public class CertCentralCredentials
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Client
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Client
{
/// <summary>
/// Static class containing some utility methods for the cert central client.
Expand All @@ -17,7 +17,7 @@ public static class CertCentralClientUtilities
/// <summary>
/// Private instance of the logger.
/// </summary>
private static ILogger Logger => LogHandler.GetClassLogger<CertCentralCAConnector>();
private static ILogger Logger => LogHandler.GetClassLogger<CertCentralCAPlugin>();

/// <summary>
/// Uses the <see cref="CertCentralConfig"/> to build a DigiCert client.
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/Client/Conversions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Client
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Client
{
public class Conversions
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert
namespace Keyfactor.Extensions.CAPlugin.DigiCert
{
public class Constants
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Keyfactor.Extensions.CAGateway.DigiCert.API;
using Keyfactor.Extensions.CAGateway.DigiCert.Client;
using Keyfactor.Extensions.CAPlugin.DigiCert.API;
using Keyfactor.Extensions.CAPlugin.DigiCert.Client;
using Keyfactor.Logging;
using Microsoft.Extensions.Logging;

Expand All @@ -9,7 +9,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Models
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Models
{
public class CertCentralCertType
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Models
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Models
{
public class CertificateOrder
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/Models/Contact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Models
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Models
{
public class User : Contact
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/Models/Error.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Models
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Models
{
public class Error
{
Expand Down
2 changes: 1 addition & 1 deletion digicert-certcentral-anycagateway/Models/IdInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text;
using System.Threading.Tasks;

namespace Keyfactor.Extensions.CAGateway.DigiCert.Models
namespace Keyfactor.Extensions.CAPlugin.DigiCert.Models
{
public class IdInformation
{
Expand Down
Loading

0 comments on commit 5bd813c

Please sign in to comment.