diff --git a/.github/workflows/keyfactor-starter-workflow.yml b/.github/workflows/keyfactor-starter-workflow.yml index 2732486..996751d 100644 --- a/.github/workflows/keyfactor-starter-workflow.yml +++ b/.github/workflows/keyfactor-starter-workflow.yml @@ -5,6 +5,19 @@ jobs: call-create-github-release-workflow: uses: Keyfactor/actions/.github/workflows/github-release.yml@main + get-manifest-properties: + runs-on: windows-latest + outputs: + update_catalog: ${{ steps.read-json.outputs.prop }} + steps: + - uses: actions/checkout@v3 + - name: Read json + id: read-json + shell: pwsh + run: | + $json = Get-Content integration-manifest.json | ConvertFrom-Json + echo "::set-output name=prop::$(echo $json.update_catalog)" + call-dotnet-build-and-release-workflow: needs: [call-create-github-release-workflow] uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main @@ -18,9 +31,12 @@ jobs: call-generate-readme-workflow: if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main + secrets: + token: ${{ secrets.APPROVE_README_PUSH }} call-update-catalog-workflow: - if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' + needs: get-manifest-properties + if: needs.get-manifest-properties.outputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main secrets: token: ${{ secrets.SDK_SYNC_PAT }} diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/HydrantIdClient.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/HydrantIdClient.cs index 3fa72bb..c3443dc 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/HydrantIdClient.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/HydrantIdClient.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequest.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequest.cs index de4e651..9b826e8 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequest.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBody.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBody.cs index a5cbca6..5fe2e85 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBody.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBody.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Interfaces; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyDnComponents.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyDnComponents.cs index 9b3728e..552dc67 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyDnComponents.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyDnComponents.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodySubjectAltNames.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodySubjectAltNames.cs index c1672e1..f2e2ff2 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodySubjectAltNames.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodySubjectAltNames.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyValidity.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyValidity.cs index 06bca5e..79f49ad 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyValidity.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestBodyValidity.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestPolicy.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestPolicy.cs index 077a5a8..82c8a2d 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestPolicy.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestPolicy.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestResult.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestResult.cs index 84a5511..366d68b 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestResult.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestResult.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestStatus.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestStatus.cs index cd6f606..b11025a 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestStatus.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestStatus.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using System.Runtime.Serialization; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestUser.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestUser.cs index ad106da..25c9d25 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestUser.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertRequestUser.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Certificate.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Certificate.cs index 7d11f13..4feba53 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Certificate.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Certificate.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models.Enums; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateStatus.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateStatus.cs index e04626f..5a652f6 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateStatus.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateStatus.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Client.Models.Enums; using Keyfactor.HydrantId.Interfaces; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateUser.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateUser.cs index 0708783..587b94f 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateUser.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/CertificateUser.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/IssuanceStatus.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/IssuanceStatus.cs index 37e3e4b..a773885 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/IssuanceStatus.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/IssuanceStatus.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationReasons.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationReasons.cs index a846f0b..e12f639 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationReasons.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationReasons.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationStatusEnum.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationStatusEnum.cs index ff43244..82aff4b 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationStatusEnum.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/RevocationStatusEnum.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/SortDirectionEnum.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/SortDirectionEnum.cs index 48e15bf..fa628a5 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/SortDirectionEnum.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Enums/SortDirectionEnum.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/ErrorReturn.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/ErrorReturn.cs index 0a3ecf9..50e1089 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/ErrorReturn.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/ErrorReturn.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesPayload.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesPayload.cs index e8bdafe..7fcd4c7 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesPayload.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesPayload.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Client.Models.Enums; using Keyfactor.HydrantId.Interfaces; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponse.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponse.cs index 582699c..4f7ee53 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponse.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponseItem.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponseItem.cs index 7430032..4af4222 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponseItem.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/GetCertificatesResponseItem.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models.Enums; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/NameObject.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/NameObject.cs index db513bd..cce49cb 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/NameObject.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/NameObject.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Policy.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Policy.cs index bc04226..2fa0934 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Policy.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/Policy.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetails.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetails.cs index cface17..85a64e6 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetails.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetails.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomExtensions.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomExtensions.cs index 1472fbc..06e8ae4 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomExtensions.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomExtensions.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomFields.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomFields.cs index c16e0cb..0213863 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomFields.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsCustomFields.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsDnComponents.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsDnComponents.cs index 7632a99..d83b6af 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsDnComponents.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsDnComponents.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsExpiryEmails.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsExpiryEmails.cs index 290ab70..e4adaa8 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsExpiryEmails.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsExpiryEmails.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsSubjectAltNames.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsSubjectAltNames.cs index 07a13d5..e8a62fe 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsSubjectAltNames.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsSubjectAltNames.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Runtime.Serialization; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsValidity.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsValidity.cs index 4bda0c0..da3cfd5 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsValidity.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyDetailsValidity.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; using System.Collections.Generic; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyEnabled.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyEnabled.cs index 5fbd52a..5c02a33 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyEnabled.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/PolicyEnabled.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RenewalRequest.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RenewalRequest.cs index 1641dbf..34b8fdf 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RenewalRequest.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RenewalRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReason.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReason.cs index 1c7c0ca..3baa223 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReason.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReason.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models.Enums; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReasonIssuerDN.cs b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReasonIssuerDN.cs index 84048ab..9bbfdd8 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReasonIssuerDN.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Client/Models/RevokeCertificateReasonIssuerDN.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models.Enums; using Keyfactor.HydrantId.Interfaces; using Newtonsoft.Json; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Constants.cs b/HydrantIdProxy/src/HydrantIdProxy/Constants.cs index 28321b4..7880838 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Constants.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Constants.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId { public class Constants diff --git a/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RetryCountExceededException.cs b/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RetryCountExceededException.cs index 49564c2..dea372c 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RetryCountExceededException.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RetryCountExceededException.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.HydrantId.Exceptions diff --git a/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RevokeReasonNotSupportedException.cs b/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RevokeReasonNotSupportedException.cs index f6a37e2..c1a1ca3 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RevokeReasonNotSupportedException.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Exceptions/RevokeReasonNotSupportedException.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.HydrantId.Exceptions diff --git a/HydrantIdProxy/src/HydrantIdProxy/Extensions/HttpClientExtensions.cs b/HydrantIdProxy/src/HydrantIdProxy/Extensions/HttpClientExtensions.cs index 0998d7f..9431d9b 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Extensions/HttpClientExtensions.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Extensions/HttpClientExtensions.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Diagnostics; using System.Net.Http; diff --git a/HydrantIdProxy/src/HydrantIdProxy/HydrantIdProxy.cs b/HydrantIdProxy/src/HydrantIdProxy/HydrantIdProxy.cs index 5c4cc18..e92f2f5 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/HydrantIdProxy.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/HydrantIdProxy.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequest.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequest.cs index 47a7188..36b00c4 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequest.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBody.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBody.cs index 96b647d..3e66f35 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBody.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBody.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyDnComponents.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyDnComponents.cs index 74386aa..e617c5e 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyDnComponents.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyDnComponents.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodySubjectAltNames.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodySubjectAltNames.cs index f7973b9..b00f43e 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodySubjectAltNames.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodySubjectAltNames.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyValidity.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyValidity.cs index a6d4cc9..94e6e83 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyValidity.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestBodyValidity.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface ICertRequestBodyValidity diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestPolicy.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestPolicy.cs index 9193b0f..5824de4 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestPolicy.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestPolicy.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestResult.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestResult.cs index 8337f70..86c577e 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestResult.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestResult.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestStatus.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestStatus.cs index 5d8b183..5dd8645 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestStatus.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestStatus.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestUser.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestUser.cs index cd7461e..41761c2 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestUser.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertRequestUser.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificate.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificate.cs index 792eb0d..ee2cd4e 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificate.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificate.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateStatus.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateStatus.cs index df796b8..9478af2 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateStatus.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateStatus.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Client.Models.Enums; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateUser.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateUser.cs index c8d3fd9..243cb5a 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateUser.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificateUser.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesPayload.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesPayload.cs index 021258d..f5126a8 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesPayload.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesPayload.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Client.Models.Enums; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponse.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponse.cs index d07805d..be985a5 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponse.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponseItem.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponseItem.cs index f12b65e..4956505 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponseItem.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/ICertificatesResponseItem.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IErrorReturn.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IErrorReturn.cs index 0c6c062..0edffa9 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IErrorReturn.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IErrorReturn.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IErrorReturn diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredential.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredential.cs index 6a22c55..d3e2912 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredential.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredential.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComment.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComment.cs index 8c36eb0..37a8f17 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComment.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComment.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IHawkCredentialComment diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComments.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComments.cs index 0737706..791c64d 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComments.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialComments.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IHawkCredentialComments diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialDeleteResults.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialDeleteResults.cs index 1cccbcf..8b17063 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialDeleteResults.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IHawkCredentialDeleteResults.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IHawkCredentialDeleteResults diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/INameObject.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/INameObject.cs index 380c685..2b82794 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/INameObject.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/INameObject.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface INameObject diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicy.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicy.cs index 00707aa..e7339bb 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicy.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicy.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetails.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetails.cs index 945dea9..20682b1 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetails.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetails.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; using Keyfactor.HydrantId.Client.Models; diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomExtensions.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomExtensions.cs index 5b62235..9731b7d 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomExtensions.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomExtensions.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IPolicyDetailsCustomExtensions diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomFields.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomFields.cs index 1c8d310..eb41f8c 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomFields.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsCustomFields.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IPolicyDetailsCustomFields diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsDnComponents.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsDnComponents.cs index 74dfab8..ae15ad9 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsDnComponents.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsDnComponents.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsExpiryEmails.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsExpiryEmails.cs index 5a37b2a..36f5e06 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsExpiryEmails.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsExpiryEmails.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsSubjectAltNames.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsSubjectAltNames.cs index 382ae84..f4dceac 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsSubjectAltNames.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsSubjectAltNames.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsValidity.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsValidity.cs index cc6081c..42badb5 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsValidity.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyDetailsValidity.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System.Collections.Generic; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyEnabled.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyEnabled.cs index 2897bc2..6cd8a3d 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyEnabled.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IPolicyEnabled.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IPolicyEnabled diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalRequest.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalRequest.cs index 574686c..0fe3088 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalRequest.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalRequest.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IRenewalRequest diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalResponse.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalResponse.cs index 550ee16..041791f 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalResponse.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRenewalResponse.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. namespace Keyfactor.HydrantId.Interfaces { public interface IRenewalResponse diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReason.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReason.cs index 16ee55f..a2e0bc4 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReason.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReason.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models.Enums; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReasonIssuerDn.cs b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReasonIssuerDn.cs index 02a2f33..4513640 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReasonIssuerDn.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/Interfaces/IRevokeCertificateReasonIssuerDn.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using Keyfactor.HydrantId.Client.Models.Enums; namespace Keyfactor.HydrantId.Interfaces diff --git a/HydrantIdProxy/src/HydrantIdProxy/RequestManager.cs b/HydrantIdProxy/src/HydrantIdProxy/RequestManager.cs index 3938ebb..0ee8768 100644 --- a/HydrantIdProxy/src/HydrantIdProxy/RequestManager.cs +++ b/HydrantIdProxy/src/HydrantIdProxy/RequestManager.cs @@ -1,3 +1,12 @@ +// Copyright 2023 Keyfactor +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain a +// copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless +// required by applicable law or agreed to in writing, software distributed +// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES +// OR CONDITIONS OF ANY KIND, either express or implied. See the License for +// thespecific language governing permissions and limitations under the +// License. using System; using System.Collections.Generic; using System.IO; diff --git a/README.md b/README.md index 099d433..8d85d5b 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,24 @@ This repository contains an AnyGateway CA Connector, which is a plugin to the Ke +## Support for HydrantId + +HydrantId is supported by Keyfactor for Keyfactor customers. If you have a support issue, please open a support ticket with your Keyfactor representative. + +###### To report a problem or suggest a new feature, use the **[Issues](../../issues)** tab. If you want to contribute actual bug fixes or proposed enhancements, use the **[Pull requests](../../pulls)** tab. + + + +--- + + + + + + + + +--- *** @@ -62,7 +80,7 @@ To install the gateway follow these instructions. ### Set-KeyfactorGatewayEncryptionCert This cmdlet will generate a self-signed certificate used to encrypt the database connection string. It populates a registry value with the serial number of the certificate to be used. The certificate is stored in the LocalMachine Personal Store and the registry key populated is: - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvcProxy\Parameters\EncryptSerialNumber + ```HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvcProxy\Parameters\EncryptSerialNumber``` No parameters are required to run this cmdlet. 5) Gateway Server - Run the following Powershell Script to Set the Database Connection @@ -85,14 +103,14 @@ To install the gateway follow these instructions. ## HydrantId AnyGateway Specific Configuration -It is important to note that importing the HydrantId configuration into the CA Gateway prior to installing the binaries must be completed. Additionally, the CA Gateway service +It is important to note that importing the HydrantId configuration into the CA Gateway after installing the binaries must be completed. Additionally, the CA Gateway service must be running in order to succesfully import the configuation. When the CA Gateway service starts it will attempt to validate the connection information to the CA. Without the imported configuration, the service will fail to start. ### Binary Installation 1) Get the Latest Zip File from [Here](https://github.com/Keyfactor/hydrantid-cagateway/releases/) -2) Gateway Server - Copy the HawkNet.dll, They HydrantIdProxy.dll and the HydrantIdProxy.dll.config to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) +2) Gateway Server - Copy the HawkNet.dll, The HydrantIdProxy.dll and the HydrantIdProxy.dll.config to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) ### Configuration Changes 1) Gateway Server - Edit the CAProxyServer.exe.config file and replace the line that says "NoOp" with the line below: @@ -154,9 +172,9 @@ the CA. Without the imported configuration, the service will fail to start. 1) Command Server - Copy and Unzip the Template Setup Files located [Here](https://github.com/Keyfactor/hydrantid-cagateway/raw/main/TemplateSetup.zip) 2) Command Server - Change the Security Settings in the CaTemplateUserSecurity.csv file to the appropriate settings for Test or Production 3) Command Server - Run the CreateTemplate.ps1 file and choose option 1 to create the templates in active directory. - *Note if you get errors the security is likely wrong and you will have to add the security manually according to Keyfactor standards* + *Note if you get errors the URL to the API or Security is likely wrong. Make sure the API calls are run with an administrator user in KF Command* 4) Command Server - Use the Keyfactor Portal to Import the Templates created in Active Directory in step #3 above - *Note You will have to override the default API Questions to the appropriate information.* + *Note there are default values for the API Url, UserId, and Password. You will have to override the default API Questions to the appropriate values.* ### Certificate Authority Installation 1) Gateway Server - Start the Keyfactor Gateway Service diff --git a/integration-manifest.json b/integration-manifest.json index d859c0d..61487bf 100644 --- a/integration-manifest.json +++ b/integration-manifest.json @@ -1,8 +1,11 @@ { - "$schema": "https://keyfactor.github.io/integration-manifest-schema.json", - "integration_type": "ca-gateway", - "name": "HydrantId", - "status": "production", - "description": "HydrantId operates a PKI as a service platform for customers around the globe. The AnyGateway solution for HydrantId is designed to allow Keyfactor Command the ability to: - Sync certificates issued from the CA - Request new certificates from the CA - Revoke certificates directly from Keyfactor Command -Renew or Reissue Certificates from the CA", - "link_github": true + "$schema": "https://keyfactor.github.io/integration-manifest-schema.json", + "integration_type": "ca-gateway", + "name": "HydrantId", + "status": "production", + "description": "HydrantId operates a PKI as a service platform for customers around the globe. The AnyGateway solution for HydrantId is designed to allow Keyfactor Command the ability to: - Sync certificates issued from the CA - Request new certificates from the CA - Revoke certificates directly from Keyfactor Command -Renew or Reissue Certificates from the CA", + "link_github": true, + "update_catalog": true, + "support_level": "kf-supported" + } diff --git a/readme_source.md b/readme_source.md index 32cc223..4a8a1fb 100644 --- a/readme_source.md +++ b/readme_source.md @@ -48,7 +48,7 @@ To install the gateway follow these instructions. ### Set-KeyfactorGatewayEncryptionCert This cmdlet will generate a self-signed certificate used to encrypt the database connection string. It populates a registry value with the serial number of the certificate to be used. The certificate is stored in the LocalMachine Personal Store and the registry key populated is: - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvcProxy\Parameters\EncryptSerialNumber + ```HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvcProxy\Parameters\EncryptSerialNumber``` No parameters are required to run this cmdlet. 5) Gateway Server - Run the following Powershell Script to Set the Database Connection @@ -71,14 +71,14 @@ To install the gateway follow these instructions. ## HydrantId AnyGateway Specific Configuration -It is important to note that importing the HydrantId configuration into the CA Gateway prior to installing the binaries must be completed. Additionally, the CA Gateway service +It is important to note that importing the HydrantId configuration into the CA Gateway after installing the binaries must be completed. Additionally, the CA Gateway service must be running in order to succesfully import the configuation. When the CA Gateway service starts it will attempt to validate the connection information to the CA. Without the imported configuration, the service will fail to start. ### Binary Installation 1) Get the Latest Zip File from [Here](https://github.com/Keyfactor/hydrantid-cagateway/releases/) -2) Gateway Server - Copy the HawkNet.dll, They HydrantIdProxy.dll and the HydrantIdProxy.dll.config to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) +2) Gateway Server - Copy the HawkNet.dll, The HydrantIdProxy.dll and the HydrantIdProxy.dll.config to the location where the Gateway Framework was installed (usually C:\Program Files\Keyfactor\Keyfactor AnyGateway) ### Configuration Changes 1) Gateway Server - Edit the CAProxyServer.exe.config file and replace the line that says "NoOp" with the line below: @@ -140,9 +140,9 @@ the CA. Without the imported configuration, the service will fail to start. 1) Command Server - Copy and Unzip the Template Setup Files located [Here](https://github.com/Keyfactor/hydrantid-cagateway/raw/main/TemplateSetup.zip) 2) Command Server - Change the Security Settings in the CaTemplateUserSecurity.csv file to the appropriate settings for Test or Production 3) Command Server - Run the CreateTemplate.ps1 file and choose option 1 to create the templates in active directory. - *Note if you get errors the security is likely wrong and you will have to add the security manually according to Keyfactor standards* + *Note if you get errors the URL to the API or Security is likely wrong. Make sure the API calls are run with an administrator user in KF Command* 4) Command Server - Use the Keyfactor Portal to Import the Templates created in Active Directory in step #3 above - *Note You will have to override the default API Questions to the appropriate information.* + *Note there are default values for the API Url, UserId, and Password. You will have to override the default API Questions to the appropriate values.* ### Certificate Authority Installation 1) Gateway Server - Start the Keyfactor Gateway Service