diff --git a/DataProtection.sln b/DataProtection.sln index b88d341b6c..684647bcdc 100644 --- a/DataProtection.sln +++ b/DataProtection.sln @@ -1,37 +1,37 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.22710.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{5FCB2DA3-5395-47F5-BCEE-E0EA319448EA}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection", "src\Microsoft.AspNet.DataProtection\Microsoft.AspNet.DataProtection.xproj", "{1E570CD4-6F12-44F4-961E-005EE2002BC2}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection", "src\Microsoft.AspNetCore.DataProtection\Microsoft.AspNetCore.DataProtection.xproj", "{1E570CD4-6F12-44F4-961E-005EE2002BC2}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{60336AB3-948D-4D15-A5FB-F32A2B91E814}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Test", "test\Microsoft.AspNet.DataProtection.Test\Microsoft.AspNet.DataProtection.Test.xproj", "{7A637185-2BA1-437D-9D4C-7CC4F94CF7BF}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Test", "test\Microsoft.AspNetCore.DataProtection.Test\Microsoft.AspNetCore.DataProtection.Test.xproj", "{7A637185-2BA1-437D-9D4C-7CC4F94CF7BF}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Cryptography.Internal", "src\Microsoft.AspNet.Cryptography.Internal\Microsoft.AspNet.Cryptography.Internal.xproj", "{E2779976-A28C-4365-A4BB-4AD854FAF23E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Cryptography.Internal", "src\Microsoft.AspNetCore.Cryptography.Internal\Microsoft.AspNetCore.Cryptography.Internal.xproj", "{E2779976-A28C-4365-A4BB-4AD854FAF23E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Cryptography.KeyDerivation", "src\Microsoft.AspNet.Cryptography.KeyDerivation\Microsoft.AspNet.Cryptography.KeyDerivation.xproj", "{421F0383-34B1-402D-807B-A94542513ABA}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Cryptography.KeyDerivation", "src\Microsoft.AspNetCore.Cryptography.KeyDerivation\Microsoft.AspNetCore.Cryptography.KeyDerivation.xproj", "{421F0383-34B1-402D-807B-A94542513ABA}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Cryptography.KeyDerivation.Test", "test\Microsoft.AspNet.Cryptography.KeyDerivation.Test\Microsoft.AspNet.Cryptography.KeyDerivation.Test.xproj", "{42C97F52-8D56-46BD-A712-4F22BED157A7}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Cryptography.KeyDerivation.Test", "test\Microsoft.AspNetCore.Cryptography.KeyDerivation.Test\Microsoft.AspNetCore.Cryptography.KeyDerivation.Test.xproj", "{42C97F52-8D56-46BD-A712-4F22BED157A7}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Cryptography.Internal.Test", "test\Microsoft.AspNet.Cryptography.Internal.Test\Microsoft.AspNet.Cryptography.Internal.Test.xproj", "{37053D5F-5B61-47CE-8B72-298CE007FFB0}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Cryptography.Internal.Test", "test\Microsoft.AspNetCore.Cryptography.Internal.Test\Microsoft.AspNetCore.Cryptography.Internal.Test.xproj", "{37053D5F-5B61-47CE-8B72-298CE007FFB0}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Abstractions", "src\Microsoft.AspNet.DataProtection.Abstractions\Microsoft.AspNet.DataProtection.Abstractions.xproj", "{4B115BDE-B253-46A6-97BF-A8B37B344FF2}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Abstractions", "src\Microsoft.AspNetCore.DataProtection.Abstractions\Microsoft.AspNetCore.DataProtection.Abstractions.xproj", "{4B115BDE-B253-46A6-97BF-A8B37B344FF2}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Abstractions.Test", "test\Microsoft.AspNet.DataProtection.Abstractions.Test\Microsoft.AspNet.DataProtection.Abstractions.Test.xproj", "{FF650A69-DEE4-4B36-9E30-264EE7CFB478}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Abstractions.Test", "test\Microsoft.AspNetCore.DataProtection.Abstractions.Test\Microsoft.AspNetCore.DataProtection.Abstractions.Test.xproj", "{FF650A69-DEE4-4B36-9E30-264EE7CFB478}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Test.Shared", "test\Microsoft.AspNet.DataProtection.Test.Shared\Microsoft.AspNet.DataProtection.Test.Shared.xproj", "{4F14BA2A-4F04-4676-8586-EC380977EE2E}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Test.Shared", "test\Microsoft.AspNetCore.DataProtection.Test.Shared\Microsoft.AspNetCore.DataProtection.Test.Shared.xproj", "{4F14BA2A-4F04-4676-8586-EC380977EE2E}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Sources", "src\Microsoft.AspNet.DataProtection.Sources\Microsoft.AspNet.DataProtection.Sources.xproj", "{3277BB22-033F-4010-8131-A515B910CAAD}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Sources", "src\Microsoft.AspNetCore.DataProtection.Sources\Microsoft.AspNetCore.DataProtection.Sources.xproj", "{3277BB22-033F-4010-8131-A515B910CAAD}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.SystemWeb", "src\Microsoft.AspNet.DataProtection.SystemWeb\Microsoft.AspNet.DataProtection.SystemWeb.xproj", "{E3552DEB-4173-43AE-BF69-3C10DFF3BAB6}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.SystemWeb", "src\Microsoft.AspNetCore.DataProtection.SystemWeb\Microsoft.AspNetCore.DataProtection.SystemWeb.xproj", "{E3552DEB-4173-43AE-BF69-3C10DFF3BAB6}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Extensions.Test", "test\Microsoft.AspNet.DataProtection.Extensions.Test\Microsoft.AspNet.DataProtection.Extensions.Test.xproj", "{04AA8E60-A053-4D50-89FE-E76C3DF45200}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Extensions.Test", "test\Microsoft.AspNetCore.DataProtection.Extensions.Test\Microsoft.AspNetCore.DataProtection.Extensions.Test.xproj", "{04AA8E60-A053-4D50-89FE-E76C3DF45200}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.DataProtection.Extensions", "src\Microsoft.AspNet.DataProtection.Extensions\Microsoft.AspNet.DataProtection.Extensions.xproj", "{BF8681DB-C28B-441F-BD92-0DCFE9537A9F}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.DataProtection.Extensions", "src\Microsoft.AspNetCore.DataProtection.Extensions\Microsoft.AspNetCore.DataProtection.Extensions.xproj", "{BF8681DB-C28B-441F-BD92-0DCFE9537A9F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/NuGetPackageVerifier.json b/NuGetPackageVerifier.json index 1a8e5da220..ba44824cf4 100644 --- a/NuGetPackageVerifier.json +++ b/NuGetPackageVerifier.json @@ -9,18 +9,18 @@ "StrictSemanticVersionValidationRule" ], "packages": { - "Microsoft.AspNet.Cryptography.Internal": { }, - "Microsoft.AspNet.Cryptography.KeyDerivation": { }, - "Microsoft.AspNet.DataProtection": { }, - "Microsoft.AspNet.DataProtection.Abstractions": { }, - "Microsoft.AspNet.DataProtection.Extensions": { }, - "Microsoft.AspNet.DataProtection.SystemWeb": { } + "Microsoft.AspNetCore.Cryptography.Internal": { }, + "Microsoft.AspNetCore.Cryptography.KeyDerivation": { }, + "Microsoft.AspNetCore.DataProtection": { }, + "Microsoft.AspNetCore.DataProtection.Abstractions": { }, + "Microsoft.AspNetCore.DataProtection.Extensions": { }, + "Microsoft.AspNetCore.DataProtection.SystemWeb": { } } }, "adx-nonshipping": { "rules": [], "packages": { - "Microsoft.AspNet.DataProtection.Sources": { } + "Microsoft.AspNetCore.DataProtection.Sources": { } } }, "Default": { // Rules to run for packages not listed in any other set. diff --git a/makefile.shade b/makefile.shade index 46e9653763..5a3caf4c44 100644 --- a/makefile.shade +++ b/makefile.shade @@ -14,7 +14,7 @@ var BUILD_DIR_Local = '${Path.Combine(ROOT_Local, "build")}' #build-compile target='compile' if='IsLinux' @{ var projectFiles = Files.Include("src/**/project.json") - .Exclude("src/Microsoft.AspNet.DataProtection.SystemWeb/project.json") + .Exclude("src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json") .ToList(); projectFiles.ForEach(projectFile => DotnetPack(projectFile, BUILD_DIR_Local, Configuration_Local)); diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO.cs index fb0fef9476..0c074b8280 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO.cs @@ -4,7 +4,7 @@ using System; using System.Runtime.InteropServices; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // http://msdn.microsoft.com/en-us/library/windows/desktop/cc562981(v=vs.85).aspx [StructLayout(LayoutKind.Sequential)] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_KEY_LENGTHS_STRUCT.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_KEY_LENGTHS_STRUCT.cs index 42826a01b9..0d4139018f 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_KEY_LENGTHS_STRUCT.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCRYPT_KEY_LENGTHS_STRUCT.cs @@ -3,9 +3,9 @@ using System; using System.Runtime.InteropServices; -using Microsoft.AspNet.Cryptography.Internal; +using Microsoft.AspNetCore.Cryptography.Internal; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // http://msdn.microsoft.com/en-us/library/windows/desktop/aa375525(v=vs.85).aspx [StructLayout(LayoutKind.Sequential)] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBuffer.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBuffer.cs index 5ab8708f2e..c091859729 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBuffer.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBuffer.cs @@ -4,7 +4,7 @@ using System; using System.Runtime.InteropServices; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // http://msdn.microsoft.com/en-us/library/windows/desktop/aa375368(v=vs.85).aspx [StructLayout(LayoutKind.Sequential)] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBufferDesc.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBufferDesc.cs index 84661f6b0b..8fd699643e 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBufferDesc.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptBufferDesc.cs @@ -5,7 +5,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // http://msdn.microsoft.com/en-us/library/windows/desktop/aa375370(v=vs.85).aspx [StructLayout(LayoutKind.Sequential)] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptEncryptFlags.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptEncryptFlags.cs index 8f6eaf89a2..81ae0105cc 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptEncryptFlags.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptEncryptFlags.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { [Flags] internal enum BCryptEncryptFlags diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptGenRandomFlags.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptGenRandomFlags.cs index 604b7401f3..ed20fec309 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptGenRandomFlags.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptGenRandomFlags.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // from bcrypt.h [Flags] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptKeyDerivationBufferType.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptKeyDerivationBufferType.cs index eeae8a6c1b..a68569e799 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptKeyDerivationBufferType.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptKeyDerivationBufferType.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // from bcrypt.h internal enum BCryptKeyDerivationBufferType diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptUtil.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptUtil.cs index 3da19bd054..86c86c64a8 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptUtil.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/BCryptUtil.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { /// /// Wraps utility BCRYPT APIs that don't work directly with handles. diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/CachedAlgorithmHandles.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/CachedAlgorithmHandles.cs index 8c958844c2..48e63685fd 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/CachedAlgorithmHandles.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/CachedAlgorithmHandles.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { /// /// Provides cached CNG algorithm provider instances, as calling BCryptOpenAlgorithmProvider is expensive. diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/NCryptEncryptFlags.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/NCryptEncryptFlags.cs index f51e53c653..a0c1bc0fc4 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/NCryptEncryptFlags.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/NCryptEncryptFlags.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { [Flags] internal enum NCryptEncryptFlags diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/OSVersionUtil.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/OSVersionUtil.cs index 5903624dc5..0d09a0b6f8 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/OSVersionUtil.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Cng/OSVersionUtil.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { internal static class OSVersionUtil { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Constants.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Constants.cs index de480bb536..44b0568aa8 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Constants.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Constants.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { // The majority of these are from bcrypt.h internal static class Constants diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/CryptoUtil.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/CryptoUtil.cs index fc2bdb9404..bc8bc56d54 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/CryptoUtil.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/CryptoUtil.cs @@ -6,14 +6,14 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.Internal; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.Internal; #if !DOTNET5_4 using System.Runtime.ConstrainedExecution; #endif -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { internal unsafe static class CryptoUtil { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/DATA_BLOB.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/DATA_BLOB.cs index 8222f4f23a..3c307bebce 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/DATA_BLOB.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/DATA_BLOB.cs @@ -4,7 +4,7 @@ using System; using System.Runtime.InteropServices; -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { // http://msdn.microsoft.com/en-us/library/windows/desktop/aa381414(v=vs.85).aspx [StructLayout(LayoutKind.Sequential)] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/AssemblyInfo.cs index f9bcc24835..4263ed47d2 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/AssemblyInfo.cs @@ -9,12 +9,12 @@ using System.Runtime.InteropServices; // we only ever p/invoke into DLLs known to be in the System32 folder [assembly: DefaultDllImportSearchPaths(DllImportSearchPath.System32)] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Cryptography.Internal.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Cryptography.KeyDerivation, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.Cryptography.KeyDerivation.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection.Abstractions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection.Extensions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Cryptography.Internal.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Cryptography.KeyDerivation, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Cryptography.KeyDerivation.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection.Abstractions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection.Extensions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/Resources.Designer.cs index 3732eae0dc..8d910ded82 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.Cryptography.Internal +namespace Microsoft.AspNetCore.Cryptography.Internal { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.Cryptography.Internal internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.Cryptography.Internal.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.Cryptography.Internal.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// A provider could not be found for algorithm '{0}'. diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptAlgorithmHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptAlgorithmHandle.cs index 209eafb182..45f4c4e041 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptAlgorithmHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptAlgorithmHandle.cs @@ -5,10 +5,10 @@ using System; using System.Diagnostics; using System.Globalization; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.Internal; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.Internal; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { /// /// Represents a handle to a BCrypt algorithm provider from which keys and hashes can be created. diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHandle.cs index d27d85f599..66b2c1dbd4 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHandle.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Win32.SafeHandles; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { internal unsafe abstract class BCryptHandle : SafeHandleZeroOrMinusOneIsInvalid { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHashHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHashHandle.cs index e7875c2e0c..dace0f23ae 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHashHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptHashHandle.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Win32.SafeHandles; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { internal unsafe sealed class BCryptHashHandle : BCryptHandle { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptKeyHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptKeyHandle.cs index 4b8e0a406a..cd7d05f8e3 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptKeyHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/BCryptKeyHandle.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { internal sealed class BCryptKeyHandle : BCryptHandle { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/LocalAllocHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/LocalAllocHandle.cs index e048f45ec6..852c5d1594 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/LocalAllocHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/LocalAllocHandle.cs @@ -5,7 +5,7 @@ using System; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { /// /// Represents a handle returned by LocalAlloc. diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/NCryptDescriptorHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/NCryptDescriptorHandle.cs index 33032dfef5..3a181cf06b 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/NCryptDescriptorHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/NCryptDescriptorHandle.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Win32.SafeHandles; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { internal unsafe sealed class NCryptDescriptorHandle : SafeHandleZeroOrMinusOneIsInvalid { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SafeLibraryHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SafeLibraryHandle.cs index 4636644297..28920c4fc8 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SafeLibraryHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SafeLibraryHandle.cs @@ -10,7 +10,7 @@ using Microsoft.Win32.SafeHandles; using System.Runtime.ConstrainedExecution; #endif -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { /// /// Represents a handle to a Windows module (DLL). diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SecureLocalAllocHandle.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SecureLocalAllocHandle.cs index 36dc73ea10..527c26d33d 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SecureLocalAllocHandle.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/SafeHandles/SecureLocalAllocHandle.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; using System.Runtime.ConstrainedExecution; #endif -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { /// /// Represents a handle returned by LocalAlloc. diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeBufferUtil.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeBufferUtil.cs index 5f2daef596..3645878af1 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeBufferUtil.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeBufferUtil.cs @@ -4,13 +4,13 @@ using System; using System.Runtime.CompilerServices; using System.Threading; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.SafeHandles; #if !DOTNET5_4 using System.Runtime.ConstrainedExecution; #endif -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { internal unsafe static class UnsafeBufferUtil { diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeNativeMethods.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeNativeMethods.cs index 514b1fde51..1de8dbc200 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeNativeMethods.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/UnsafeNativeMethods.cs @@ -8,15 +8,15 @@ using System.Runtime.InteropServices; using System.Security; using System.Security.Cryptography; using System.Threading; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; using Microsoft.Win32.SafeHandles; #if !DOTNET5_4 using System.Runtime.ConstrainedExecution; #endif -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { #if !DOTNET5_4 [SuppressUnmanagedCodeSecurity] diff --git a/src/Microsoft.AspNetCore.Cryptography.Internal/WeakReferenceHelpers.cs b/src/Microsoft.AspNetCore.Cryptography.Internal/WeakReferenceHelpers.cs index 55769de2c4..71b77a58e5 100644 --- a/src/Microsoft.AspNetCore.Cryptography.Internal/WeakReferenceHelpers.cs +++ b/src/Microsoft.AspNetCore.Cryptography.Internal/WeakReferenceHelpers.cs @@ -5,7 +5,7 @@ using System; using System.Diagnostics; using System.Threading; -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { internal static class WeakReferenceHelpers { diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivation.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivation.cs index e5c6204cec..67ff1ca420 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivation.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivation.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2; +using Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2; -namespace Microsoft.AspNet.Cryptography.KeyDerivation +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation { /// /// Provides algorithms for performing key derivation. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivationPrf.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivationPrf.cs index 83ed7419e4..fdd2f4881c 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivationPrf.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/KeyDerivationPrf.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.KeyDerivation +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation { /// /// Specifies the PRF which should be used for the key derivation algorithm. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/IPbkdf2Provider.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/IPbkdf2Provider.cs index 9614a735f5..8be8a5e809 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/IPbkdf2Provider.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/IPbkdf2Provider.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2 +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2 { /// /// Internal interface used for abstracting away the PBKDF2 implementation since the implementation is OS-specific. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/ManagedPbkdf2Provider.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/ManagedPbkdf2Provider.cs index b7e6a21d41..bf81ae65c5 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/ManagedPbkdf2Provider.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/ManagedPbkdf2Provider.cs @@ -6,7 +6,7 @@ using System.Diagnostics; using System.Security.Cryptography; using System.Text; -namespace Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2 +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2 { /// /// A PBKDF2 provider which utilizes the managed hash algorithm classes as PRFs. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Pbkdf2Util.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Pbkdf2Util.cs index ffa721e1fd..dbe5a4120d 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Pbkdf2Util.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Pbkdf2Util.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.Cng; -namespace Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2 +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2 { /// /// Internal base class used for abstracting away the PBKDF2 implementation since the implementation is OS-specific. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win7Pbkdf2Provider.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win7Pbkdf2Provider.cs index 9219d1b509..4c359b80f4 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win7Pbkdf2Provider.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win7Pbkdf2Provider.cs @@ -4,10 +4,10 @@ using System; using System.Diagnostics; using System.Text; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2 +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2 { /// /// A PBKDF2 provider which utilizes the Win7 API BCryptDeriveKeyPBKDF2. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win8Pbkdf2Provider.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win8Pbkdf2Provider.cs index e00906ba22..296e85b7dd 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win8Pbkdf2Provider.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/PBKDF2/Win8Pbkdf2Provider.cs @@ -5,10 +5,10 @@ using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Text; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2 +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2 { /// /// A PBKDF2 provider which utilizes the Win8 API BCryptKeyDerivation. diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/Properties/AssemblyInfo.cs index 5a85d1db36..f23a5a16ff 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/Properties/AssemblyInfo.cs @@ -5,6 +5,6 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.Cryptography.KeyDerivation.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Cryptography.KeyDerivation.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json index 179a389151..e589a39619 100644 --- a/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json +++ b/src/Microsoft.AspNetCore.Cryptography.KeyDerivation/project.json @@ -6,7 +6,7 @@ "url": "git://github.com/aspnet/dataprotection" }, "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-*" + "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*" }, "frameworks": { "net451": {}, diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/CryptoUtil.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/CryptoUtil.cs index 80d51df898..e3e361a3a8 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/CryptoUtil.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/CryptoUtil.cs @@ -6,7 +6,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Security.Cryptography; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class CryptoUtil { diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/DataProtectionExtensions.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/DataProtectionExtensions.cs index 94f2e3abb1..6946dbeaaa 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/DataProtectionExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/DataProtectionExtensions.cs @@ -5,11 +5,11 @@ using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; -using Microsoft.AspNet.DataProtection.Infrastructure; -using Microsoft.AspNet.DataProtection.Abstractions; +using Microsoft.AspNetCore.DataProtection.Infrastructure; +using Microsoft.AspNetCore.DataProtection.Abstractions; using Microsoft.Extensions.PlatformAbstractions; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Helpful extension methods for data protection APIs. diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Error.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Error.cs index a72ace32ca..18b93c0ac7 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Error.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Error.cs @@ -3,9 +3,9 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.DataProtection.Abstractions; +using Microsoft.AspNetCore.DataProtection.Abstractions; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class Error { diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtectionProvider.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtectionProvider.cs index cb57593ada..603fad789f 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtectionProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtectionProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// An interface that can be used to create instances. diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtector.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtector.cs index 22b89cea49..2cea1c2732 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtector.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/IDataProtector.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// An interface that can provide data protection services. diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Infrastructure/IApplicationDiscriminator.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Infrastructure/IApplicationDiscriminator.cs index 09421199e2..d8c3af376f 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Infrastructure/IApplicationDiscriminator.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Infrastructure/IApplicationDiscriminator.cs @@ -4,7 +4,7 @@ using System; using System.ComponentModel; -namespace Microsoft.AspNet.DataProtection.Infrastructure +namespace Microsoft.AspNetCore.DataProtection.Infrastructure { /// /// Provides information used to discriminate applications. diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/AssemblyInfo.cs index 568d44be98..b90d989663 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/AssemblyInfo.cs @@ -6,6 +6,6 @@ using System.Resources; using System.Runtime.CompilerServices; // for unit testing -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection.Abstractions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection.Abstractions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/Resources.Designer.cs index c89ea1509b..b8bfe383ee 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.DataProtection.Abstractions +namespace Microsoft.AspNetCore.DataProtection.Abstractions { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.DataProtection.Abstractions internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.DataProtection.Abstractions.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.DataProtection.Abstractions.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// The payload was invalid. diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/WebEncoders.cs b/src/Microsoft.AspNetCore.DataProtection.Abstractions/WebEncoders.cs index 00d27cc48f..607fc7e35e 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/WebEncoders.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/WebEncoders.cs @@ -4,7 +4,7 @@ using System; using System.Diagnostics; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { // Internal copy of HttpAbstractions functionality. internal static class WebEncoders diff --git a/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json b/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json index f96c056086..9b3e55b1bd 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.Abstractions/project.json @@ -6,7 +6,7 @@ "url": "git://github.com/aspnet/dataprotection" }, "dependencies": { - "Microsoft.AspNet.DataProtection.Sources": { + "Microsoft.AspNetCore.DataProtection.Sources": { "type": "build", "version": "" }, diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/BitHelpers.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/BitHelpers.cs index 077df9cebd..eb2063fbd8 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/BitHelpers.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/BitHelpers.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class BitHelpers { diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionExtensions.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionExtensions.cs index 208153c820..85ae629d69 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public static class DataProtectionExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionProvider.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionProvider.cs index 43764a0274..0ccb6eb22d 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/DataProtectionProvider.cs @@ -5,7 +5,7 @@ using System; using System.IO; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// A simple implementation of an where keys are stored diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/ITimeLimitedDataProtector.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/ITimeLimitedDataProtector.cs index d211083729..fe8904be6f 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/ITimeLimitedDataProtector.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/ITimeLimitedDataProtector.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// An interface that can provide data protection services where payloads have diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/AssemblyInfo.cs index b14a9ed7cb..83dac2932b 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/AssemblyInfo.cs @@ -5,6 +5,6 @@ using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection.Extensions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection.Extensions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/Resources.Designer.cs index 76aaef653d..12a8e114f3 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.DataProtection.Extensions +namespace Microsoft.AspNetCore.DataProtection.Extensions { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.DataProtection.Extensions internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.DataProtection.Extensions.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.DataProtection.Extensions.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// An error occurred during a cryptographic operation. diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/TimeLimitedDataProtector.cs b/src/Microsoft.AspNetCore.DataProtection.Extensions/TimeLimitedDataProtector.cs index 76c72d0b6f..2037ce5f05 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/TimeLimitedDataProtector.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/TimeLimitedDataProtector.cs @@ -4,9 +4,9 @@ using System; using System.Security.Cryptography; using System.Threading; -using Microsoft.AspNet.DataProtection.Extensions; +using Microsoft.AspNetCore.DataProtection.Extensions; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Wraps an existing and appends a purpose that allows @@ -14,7 +14,7 @@ namespace Microsoft.AspNet.DataProtection /// internal sealed class TimeLimitedDataProtector : ITimeLimitedDataProtector { - private const string MyPurposeString = "Microsoft.AspNet.DataProtection.TimeLimitedDataProtector.v1"; + private const string MyPurposeString = "Microsoft.AspNetCore.DataProtection.TimeLimitedDataProtector.v1"; private readonly IDataProtector _innerProtector; private IDataProtector _innerProtectorWithTimeLimitedPurpose; // created on-demand diff --git a/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json b/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json index a77cbdb168..373bb0dd26 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.Extensions/project.json @@ -6,8 +6,8 @@ "url": "git://github.com/aspnet/dataprotection" }, "dependencies": { - "Microsoft.AspNet.DataProtection": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Sources": { + "Microsoft.AspNetCore.DataProtection": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Sources": { "type": "build", "version": "" }, diff --git a/src/Microsoft.AspNetCore.DataProtection.Sources/EncodingUtil.cs b/src/Microsoft.AspNetCore.DataProtection.Sources/EncodingUtil.cs index 060ab88b26..67b99eac3b 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Sources/EncodingUtil.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Sources/EncodingUtil.cs @@ -4,7 +4,7 @@ using System; using System.Text; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class EncodingUtil { diff --git a/src/Microsoft.AspNetCore.DataProtection.Sources/ExceptionExtensions.cs b/src/Microsoft.AspNetCore.DataProtection.Sources/ExceptionExtensions.cs index 44e7d05ede..f441935d13 100644 --- a/src/Microsoft.AspNetCore.DataProtection.Sources/ExceptionExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection.Sources/ExceptionExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Security.Cryptography; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class ExceptionExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/CompatibilityDataProtector.cs b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/CompatibilityDataProtector.cs index c352ad5eb0..f6d238152e 100644 --- a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/CompatibilityDataProtector.cs +++ b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/CompatibilityDataProtector.cs @@ -6,7 +6,7 @@ using System.ComponentModel; using System.Configuration; using System.Security.Cryptography; -namespace Microsoft.AspNet.DataProtection.SystemWeb +namespace Microsoft.AspNetCore.DataProtection.SystemWeb { /// /// A that can be used by ASP.NET 4.x to interact with ASP.NET 5's diff --git a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/DataProtectionStartup.cs b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/DataProtectionStartup.cs index e9300f13bf..80904b9b75 100644 --- a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/DataProtectionStartup.cs +++ b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/DataProtectionStartup.cs @@ -5,10 +5,10 @@ using System; using System.Configuration; using System.Web; using System.Web.Configuration; -using Microsoft.AspNet.DataProtection.Infrastructure; +using Microsoft.AspNetCore.DataProtection.Infrastructure; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.DataProtection.SystemWeb +namespace Microsoft.AspNetCore.DataProtection.SystemWeb { /// /// Allows controlling the configuration of the ASP.NET 5 Data Protection system. diff --git a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/Properties/Resources.Designer.cs index 2a33533a17..802e2366d7 100644 --- a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.DataProtection.SystemWeb +namespace Microsoft.AspNetCore.DataProtection.SystemWeb { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.DataProtection.SystemWeb internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.DataProtection.SystemWeb.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.DataProtection.SystemWeb.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// A call to Protect failed. This most likely means that the data protection system is misconfigured. See the inner exception for more information. diff --git a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json index a23a97b559..39b2a10314 100644 --- a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json +++ b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json @@ -8,7 +8,7 @@ "frameworks": { "net451": { "dependencies": { - "Microsoft.AspNet.DataProtection": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*" }, "frameworkAssemblies": { diff --git a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/web.config.transform b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/web.config.transform index 470f2ca79c..9ac2268152 100644 --- a/src/Microsoft.AspNetCore.DataProtection.SystemWeb/web.config.transform +++ b/src/Microsoft.AspNetCore.DataProtection.SystemWeb/web.config.transform @@ -1,14 +1,14 @@ - + - + diff --git a/src/Microsoft.AspNetCore.DataProtection/ActivatorExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/ActivatorExtensions.cs index 5004cd0745..3f1000ae2f 100644 --- a/src/Microsoft.AspNetCore.DataProtection/ActivatorExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/ActivatorExtensions.cs @@ -3,11 +3,11 @@ using System; using System.Reflection; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Internal; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Internal; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Extension methods for working with . diff --git a/src/Microsoft.AspNetCore.DataProtection/ApplyPolicyAttribute.cs b/src/Microsoft.AspNetCore.DataProtection/ApplyPolicyAttribute.cs index 1d237d124e..f73a745b1e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/ApplyPolicyAttribute.cs +++ b/src/Microsoft.AspNetCore.DataProtection/ApplyPolicyAttribute.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Signifies that the should bind this property from the registry. diff --git a/src/Microsoft.AspNetCore.DataProtection/ArraySegmentExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/ArraySegmentExtensions.cs index f4f0ccb0d2..6f3e5bb99c 100644 --- a/src/Microsoft.AspNetCore.DataProtection/ArraySegmentExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/ArraySegmentExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class ArraySegmentExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AlgorithmAssert.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AlgorithmAssert.cs index 0e92a60cf9..cd3dd8432e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AlgorithmAssert.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AlgorithmAssert.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { internal static class AlgorithmAssert { diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptionOptions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptionOptions.cs index 5692ed2488..994c54ca65 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptionOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptionOptions.cs @@ -3,12 +3,12 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Options for configuring authenticated encryption algorithms. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptorExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptorExtensions.cs index 5ffb4ec4a1..02de8effda 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptorExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/AuthenticatedEncryptorExtensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { internal static class AuthenticatedEncryptorExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptionOptions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptionOptions.cs index 985bdccdb2..53e5585992 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptionOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngCbcAuthenticatedEncryptionOptions.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Cng; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Options for configuring an authenticated encryption mechanism which uses diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptionOptions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptionOptions.cs index 4a20217bbe..c38097d011 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptionOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/CngGcmAuthenticatedEncryptionOptions.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Cng; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Options for configuring an authenticated encryption mechanism which uses diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorConfiguration.cs index 408ab869b4..0538419756 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorConfiguration.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// Represents a generalized authenticated encryption mechanism. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptor.cs index 7ff60f6985..381fd064ab 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptor.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A descriptor which can create an authenticated encryption system based upon the diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializer.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializer.cs index c636872214..02e982d5b4 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializer.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializer.cs @@ -5,7 +5,7 @@ using System; using System.Linq; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A class that can deserialize an that represents the serialized version diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfiguration.cs index 54fee95ae8..a8a809ca3e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfiguration.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// Represents a configured authenticated encryption mechanism which uses diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptor.cs index 349ec1777b..dee72f1e72 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptor.cs @@ -5,7 +5,7 @@ using System; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A descriptor which can create an authenticated encryption system based upon the diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs index 02972262da..a0169396cb 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A class that can deserialize an that represents the serialized version diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfiguration.cs index 1e587a0ffb..68663261e3 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfiguration.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// Represents a configured authenticated encryption mechanism which uses diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptor.cs index 27a7eacbdf..28c293bce6 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptor.cs @@ -5,7 +5,7 @@ using System; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A descriptor which can create an authenticated encryption system based upon the diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs index b7fc2630c8..270bd7908b 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A class that can deserialize an that represents the serialized version diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ConfigurationCommon.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ConfigurationCommon.cs index f43cba9103..359e0a19e4 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ConfigurationCommon.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ConfigurationCommon.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { internal static class ConfigurationCommon { diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorConfiguration.cs index e22e5974a0..0d863bf7ab 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorConfiguration.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// The basic configuration that serves as a factory for types related to authenticated encryption. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptor.cs index 7f46726652..f4c5128483 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptor.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A self-contained descriptor that wraps all information (including secret key diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptorDeserializer.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptorDeserializer.cs index c725f58675..c1db3bcc91 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptorDeserializer.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IAuthenticatedEncryptorDescriptorDeserializer.cs @@ -3,7 +3,7 @@ using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// The basic interface for deserializing an XML element into an . diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IInternalAuthenticatedEncryptorConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IInternalAuthenticatedEncryptorConfiguration.cs index 238214fde5..bd5ba204dd 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IInternalAuthenticatedEncryptorConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/IInternalAuthenticatedEncryptorConfiguration.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { // This type is not public because we don't want to lock ourselves into a contract stating // that a descriptor is simply a configuration plus a single serializable, reproducible secret. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfiguration.cs index 3b5bdd4545..94d53bb3f1 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfiguration.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// Represents a configured authenticated encryption mechanism which uses diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptor.cs index 41abf273c7..6913a7ac12 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptor.cs @@ -6,7 +6,7 @@ using System.Security.Cryptography; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A descriptor which can create an authenticated encryption system based upon the diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializer.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializer.cs index 824d6008e9..757af298b1 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializer.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializer.cs @@ -5,7 +5,7 @@ using System; using System.Security.Cryptography; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// A class that can deserialize an that represents the serialized version diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/SecretExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/SecretExtensions.cs index 19a08ed92b..c8d3364101 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/SecretExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/SecretExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { internal unsafe static class SecretExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlExtensions.cs index 858813161d..572a0cba59 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public static class XmlExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlSerializedDescriptorInfo.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlSerializedDescriptorInfo.cs index 31a770a0d8..1b935d8e15 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlSerializedDescriptorInfo.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ConfigurationModel/XmlSerializedDescriptorInfo.cs @@ -5,7 +5,7 @@ using System; using System.Reflection; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { /// /// Wraps an that contains the XML-serialized representation of an diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/EncryptionAlgorithm.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/EncryptionAlgorithm.cs index f1410fd162..20eec3eccd 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/EncryptionAlgorithm.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/EncryptionAlgorithm.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Specifies a symmetric encryption algorithm to use for providing confidentiality diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IAuthenticatedEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IAuthenticatedEncryptor.cs index c6f53788f5..5ec2fa8444 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IAuthenticatedEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IAuthenticatedEncryptor.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// The basic interface for providing an authenticated encryption and decryption routine. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IInternalAuthenticatedEncryptionOptions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IInternalAuthenticatedEncryptionOptions.cs index f89afefa78..ba9c7b25e8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IInternalAuthenticatedEncryptionOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IInternalAuthenticatedEncryptionOptions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Implemented by our options classes to generalize creating configuration objects. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IOptimizedAuthenticatedEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IOptimizedAuthenticatedEncryptor.cs index 6a57c66357..3cc0a7ca92 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IOptimizedAuthenticatedEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/IOptimizedAuthenticatedEncryptor.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// An optimized encryptor that can avoid buffer allocations in common code paths. diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptionOptions.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptionOptions.cs index 533f843420..038680fe6b 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptionOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ManagedAuthenticatedEncryptionOptions.cs @@ -3,12 +3,12 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Managed; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Managed; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Options for configuring an authenticated encryption mechanism which uses diff --git a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ValidationAlgorithm.cs b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ValidationAlgorithm.cs index 394e0a898d..520cb707a4 100644 --- a/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ValidationAlgorithm.cs +++ b/src/Microsoft.AspNetCore.DataProtection/AuthenticatedEncryption/ValidationAlgorithm.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption { /// /// Specifies a message authentication algorithm to use for providing tamper-proofing diff --git a/src/Microsoft.AspNetCore.DataProtection/BitHelpers.cs b/src/Microsoft.AspNetCore.DataProtection/BitHelpers.cs index 9356507d77..65e7415008 100644 --- a/src/Microsoft.AspNetCore.DataProtection/BitHelpers.cs +++ b/src/Microsoft.AspNetCore.DataProtection/BitHelpers.cs @@ -4,7 +4,7 @@ using System; using System.Runtime.CompilerServices; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal unsafe static class BitHelpers { diff --git a/src/Microsoft.AspNetCore.DataProtection/Cng/BCryptGenRandomImpl.cs b/src/Microsoft.AspNetCore.DataProtection/Cng/BCryptGenRandomImpl.cs index 73b0658d55..5bdceabb6d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Cng/BCryptGenRandomImpl.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Cng/BCryptGenRandomImpl.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.Cng; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { internal unsafe sealed class BCryptGenRandomImpl : IBCryptGenRandom { diff --git a/src/Microsoft.AspNetCore.DataProtection/Cng/CbcAuthenticatedEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/Cng/CbcAuthenticatedEncryptor.cs index f54d9f6eb2..f9648ed28a 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Cng/CbcAuthenticatedEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Cng/CbcAuthenticatedEncryptor.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.Cng.Internal; -using Microsoft.AspNet.DataProtection.SP800_108; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.Cng.Internal; +using Microsoft.AspNetCore.DataProtection.SP800_108; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { // An encryptor which does Encrypt(CBC) + HMAC using the Windows CNG (BCrypt*) APIs. // The payloads produced by this encryptor should be compatible with the payloads diff --git a/src/Microsoft.AspNetCore.DataProtection/Cng/DpapiSecretSerializerHelper.cs b/src/Microsoft.AspNetCore.DataProtection/Cng/DpapiSecretSerializerHelper.cs index 6fd62e9726..48e4ff4476 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Cng/DpapiSecretSerializerHelper.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Cng/DpapiSecretSerializerHelper.cs @@ -7,10 +7,10 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { internal unsafe static class DpapiSecretSerializerHelper { diff --git a/src/Microsoft.AspNetCore.DataProtection/Cng/GcmAuthenticatedEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/Cng/GcmAuthenticatedEncryptor.cs index 027f5c1da1..b751437f26 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Cng/GcmAuthenticatedEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Cng/GcmAuthenticatedEncryptor.cs @@ -2,14 +2,14 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.Cng.Internal; -using Microsoft.AspNet.DataProtection.SP800_108; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.Cng.Internal; +using Microsoft.AspNetCore.DataProtection.SP800_108; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { // GCM is defined in NIST SP 800-38D (http://csrc.nist.gov/publications/nistpubs/800-38D/SP-800-38D.pdf). // Heed closely the uniqueness requirements called out in Sec. 8: the probability that the GCM encryption diff --git a/src/Microsoft.AspNetCore.DataProtection/Cng/IBCryptGenRandom.cs b/src/Microsoft.AspNetCore.DataProtection/Cng/IBCryptGenRandom.cs index d46194422f..e1cf9b7dbe 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Cng/IBCryptGenRandom.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Cng/IBCryptGenRandom.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { internal unsafe interface IBCryptGenRandom { diff --git a/src/Microsoft.AspNetCore.DataProtection/Cng/Internal/CngAuthenticatedEncryptorBase.cs b/src/Microsoft.AspNetCore.DataProtection/Cng/Internal/CngAuthenticatedEncryptorBase.cs index 68f933fded..7b7e3e2d79 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Cng/Internal/CngAuthenticatedEncryptorBase.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Cng/Internal/CngAuthenticatedEncryptorBase.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; -namespace Microsoft.AspNet.DataProtection.Cng.Internal +namespace Microsoft.AspNetCore.DataProtection.Cng.Internal { /// /// Base class used for all CNG-related authentication encryption operations. diff --git a/src/Microsoft.AspNetCore.DataProtection/DataProtectionConfiguration.cs b/src/Microsoft.AspNetCore.DataProtection/DataProtectionConfiguration.cs index 4c4a8ae129..81541c22e4 100644 --- a/src/Microsoft.AspNetCore.DataProtection/DataProtectionConfiguration.cs +++ b/src/Microsoft.AspNetCore.DataProtection/DataProtectionConfiguration.cs @@ -4,9 +4,9 @@ using System; using System.ComponentModel; using System.IO; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Win32; @@ -15,7 +15,7 @@ using Microsoft.Win32; using System.Security.Cryptography.X509Certificates; #endif -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Provides access to configuration for the data protection system, which allows the diff --git a/src/Microsoft.AspNetCore.DataProtection/DataProtectionOptions.cs b/src/Microsoft.AspNetCore.DataProtection/DataProtectionOptions.cs index 10ecb56b40..c8707da1c3 100644 --- a/src/Microsoft.AspNetCore.DataProtection/DataProtectionOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/DataProtectionOptions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Provides global options for the Data Protection system. diff --git a/src/Microsoft.AspNetCore.DataProtection/DataProtectionProviderFactory.cs b/src/Microsoft.AspNetCore.DataProtection/DataProtectionProviderFactory.cs index 2beea59828..d9ec04dded 100644 --- a/src/Microsoft.AspNetCore.DataProtection/DataProtectionProviderFactory.cs +++ b/src/Microsoft.AspNetCore.DataProtection/DataProtectionProviderFactory.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.KeyManagement; +using Microsoft.AspNetCore.DataProtection.KeyManagement; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Contains static factory methods for creating instances. diff --git a/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceCollectionExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceCollectionExtensions.cs index cd6dbbd571..3e967c0397 100644 --- a/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceCollectionExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceCollectionExtensions.cs @@ -2,7 +2,7 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection; +using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInjection diff --git a/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceDescriptors.cs b/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceDescriptors.cs index 67cb036f1f..d21e1e095d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceDescriptors.cs +++ b/src/Microsoft.AspNetCore.DataProtection/DataProtectionServiceDescriptors.cs @@ -3,13 +3,13 @@ using System; using System.IO; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.KeyManagement; -using Microsoft.AspNet.DataProtection.Repositories; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.DataProtection.Repositories; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Microsoft.Extensions.Options; using Microsoft.Win32; diff --git a/src/Microsoft.AspNetCore.DataProtection/DataProtectionServices.cs b/src/Microsoft.AspNetCore.DataProtection/DataProtectionServices.cs index efef3fe5ca..a76e46dfd9 100644 --- a/src/Microsoft.AspNetCore.DataProtection/DataProtectionServices.cs +++ b/src/Microsoft.AspNetCore.DataProtection/DataProtectionServices.cs @@ -3,13 +3,13 @@ using System; using System.Collections.Generic; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.DataProtection; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Cng; -using Microsoft.AspNet.DataProtection.KeyManagement; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.DataProtection.Repositories; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Cng; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.Repositories; using Microsoft.Extensions.Logging; using Microsoft.Win32; diff --git a/src/Microsoft.AspNetCore.DataProtection/EphemeralDataProtectionProvider.cs b/src/Microsoft.AspNetCore.DataProtection/EphemeralDataProtectionProvider.cs index 4ad566865e..a7fd46f37d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/EphemeralDataProtectionProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/EphemeralDataProtectionProvider.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// An that is transient. diff --git a/src/Microsoft.AspNetCore.DataProtection/Error.cs b/src/Microsoft.AspNetCore.DataProtection/Error.cs index 846cb09bc0..740fb7c5d3 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Error.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Error.cs @@ -5,7 +5,7 @@ using System; using System.Globalization; using System.Security.Cryptography; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class Error { diff --git a/src/Microsoft.AspNetCore.DataProtection/IPersistedDataProtector.cs b/src/Microsoft.AspNetCore.DataProtection/IPersistedDataProtector.cs index 2004cef3d2..0e0310cd1d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/IPersistedDataProtector.cs +++ b/src/Microsoft.AspNetCore.DataProtection/IPersistedDataProtector.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// An interface that can provide data protection services for data which has been persisted diff --git a/src/Microsoft.AspNetCore.DataProtection/ISecret.cs b/src/Microsoft.AspNetCore.DataProtection/ISecret.cs index 6972dc72bf..4010bc6445 100644 --- a/src/Microsoft.AspNetCore.DataProtection/ISecret.cs +++ b/src/Microsoft.AspNetCore.DataProtection/ISecret.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Represents a secret value. diff --git a/src/Microsoft.AspNetCore.DataProtection/Internal/IActivator.cs b/src/Microsoft.AspNetCore.DataProtection/Internal/IActivator.cs index 2adb8efa37..189e2ab303 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Internal/IActivator.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Internal/IActivator.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.Internal +namespace Microsoft.AspNetCore.DataProtection.Internal { /// /// An interface into that also supports diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyResolver.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyResolver.cs index cd3945505d..687b1de048 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyResolver.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyResolver.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// Implements policy for resolving the default key from a candidate keyring. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyServices.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyServices.cs index 591c9bd68d..1fe5f0a5d3 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyServices.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DefaultKeyServices.cs @@ -2,13 +2,13 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.DataProtection.Repositories; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.Repositories; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { internal sealed class DefaultKeyServices : IDefaultKeyServices { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DeferredKey.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DeferredKey.cs index 18c795d165..36b7bb0d7d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DeferredKey.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/DeferredKey.cs @@ -3,12 +3,12 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// The basic implementation of , where the incoming XML element diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKey.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKey.cs index fd0f736ffb..f9ef009f7a 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKey.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKey.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// The basic interface for representing an authenticated encryption key. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyEscrowSink.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyEscrowSink.cs index 5ce6fbcbdb..64b94e844e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyEscrowSink.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyEscrowSink.cs @@ -3,9 +3,9 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.Repositories; +using Microsoft.AspNetCore.DataProtection.Repositories; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// The basic interface for implementing a key escrow sink. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyManager.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyManager.cs index 21ed28c40f..6debf4ac96 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyManager.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/IKeyManager.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Threading; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// The basic interface for performing key management operations. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/CacheableKeyRing.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/CacheableKeyRing.cs index 090c150949..58b31f61a8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/CacheableKeyRing.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/CacheableKeyRing.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Threading; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { /// /// Wraps both a keyring and its expiration policy. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/DefaultKeyResolution.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/DefaultKeyResolution.cs index 8a4a536665..f458092b5f 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/DefaultKeyResolution.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/DefaultKeyResolution.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { public struct DefaultKeyResolution { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/ICacheableKeyRingProvider.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/ICacheableKeyRingProvider.cs index 1b5feb6c7a..367080f2b8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/ICacheableKeyRingProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/ICacheableKeyRingProvider.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { public interface ICacheableKeyRingProvider { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyResolver.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyResolver.cs index 8c3e2381da..f891d0d4fb 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyResolver.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyResolver.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { /// /// Implements policy for resolving the default key from a candidate keyring. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyServices.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyServices.cs index dd5d9bb012..0552187f58 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyServices.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IDefaultKeyServices.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.Repositories; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.DataProtection.Repositories; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { /// /// Provides default implementations of the services required by an . diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IInternalXmlKeyManager.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IInternalXmlKeyManager.cs index 47f419f340..9ebaa4c63c 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IInternalXmlKeyManager.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IInternalXmlKeyManager.cs @@ -3,9 +3,9 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { public interface IInternalXmlKeyManager { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRing.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRing.cs index e5b144c9d8..60ff02f2ed 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRing.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRing.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { /// /// The basic interface for accessing a read-only keyring. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRingProvider.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRingProvider.cs index e532d024a8..3a507f1250 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRingProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Internal/IKeyRingProvider.cs @@ -1,7 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -namespace Microsoft.AspNet.DataProtection.KeyManagement.Internal +namespace Microsoft.AspNetCore.DataProtection.KeyManagement.Internal { public interface IKeyRingProvider { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Key.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Key.cs index 2bc5efc253..5e5b9766b0 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Key.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/Key.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// The basic implementation of , where the diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyBase.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyBase.cs index 9429573ade..1afc6237b3 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyBase.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyBase.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// The basic implementation of . diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyEscrowServiceProviderExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyEscrowServiceProviderExtensions.cs index e6431c50a4..85f1f62451 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyEscrowServiceProviderExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyEscrowServiceProviderExtensions.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Xml.Linq; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { internal static class KeyEscrowServiceProviderExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyExtensions.cs index 748c4f1185..5cd05bdb9b 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { internal static class KeyExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyManagementOptions.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyManagementOptions.cs index c78409a1be..65652ea0cb 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyManagementOptions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyManagementOptions.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// Options that control how an should behave. diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRing.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRing.cs index f8cc2d106d..8ebcdb8c45 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRing.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRing.cs @@ -4,10 +4,10 @@ using System; using System.Collections.Generic; using System.Threading; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// A basic implementation of . diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtectionProvider.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtectionProvider.cs index cecf9c1bfc..7ed4124f9f 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtectionProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtectionProvider.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { internal unsafe sealed class KeyRingBasedDataProtectionProvider : IDataProtectionProvider { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtector.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtector.cs index b14819ec80..59c48e75a9 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtector.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingBasedDataProtector.cs @@ -7,12 +7,12 @@ using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { internal unsafe sealed class KeyRingBasedDataProtector : IDataProtector, IPersistedDataProtector { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingProvider.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingProvider.cs index 0ac3579b2c..93a8a4b29b 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingProvider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/KeyRingProvider.cs @@ -5,12 +5,12 @@ using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { internal sealed class KeyRingProvider : ICacheableKeyRingProvider, IKeyRingProvider { diff --git a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/XmlKeyManager.cs b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/XmlKeyManager.cs index 0ced2fea20..43d8757b67 100644 --- a/src/Microsoft.AspNetCore.DataProtection/KeyManagement/XmlKeyManager.cs +++ b/src/Microsoft.AspNetCore.DataProtection/KeyManagement/XmlKeyManager.cs @@ -9,18 +9,18 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Xml; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Internal; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.DataProtection.Repositories; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Internal; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.Repositories; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using static System.FormattableString; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { /// /// A key manager backed by an . diff --git a/src/Microsoft.AspNetCore.DataProtection/Managed/HashAlgorithmExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/Managed/HashAlgorithmExtensions.cs index 43c2cd1448..af854158ec 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Managed/HashAlgorithmExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Managed/HashAlgorithmExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; -namespace Microsoft.AspNet.DataProtection.Managed +namespace Microsoft.AspNetCore.DataProtection.Managed { internal static class HashAlgorithmExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/Managed/IManagedGenRandom.cs b/src/Microsoft.AspNetCore.DataProtection/Managed/IManagedGenRandom.cs index a96511b94b..1d08f1e7d8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Managed/IManagedGenRandom.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Managed/IManagedGenRandom.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.Managed +namespace Microsoft.AspNetCore.DataProtection.Managed { internal interface IManagedGenRandom { diff --git a/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedAuthenticatedEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedAuthenticatedEncryptor.cs index 03841b485a..b381eb0ee4 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedAuthenticatedEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedAuthenticatedEncryptor.cs @@ -4,11 +4,11 @@ using System; using System.IO; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.SP800_108; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.SP800_108; -namespace Microsoft.AspNet.DataProtection.Managed +namespace Microsoft.AspNetCore.DataProtection.Managed { // An encryptor which does Encrypt(CBC) + HMAC using SymmetricAlgorithm and HashAlgorithm. // The payloads produced by this encryptor should be compatible with the payloads diff --git a/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedGenRandomImpl.cs b/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedGenRandomImpl.cs index 4b94c473dc..31100a0ef0 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedGenRandomImpl.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Managed/ManagedGenRandomImpl.cs @@ -4,7 +4,7 @@ using System; using System.Security.Cryptography; -namespace Microsoft.AspNet.DataProtection.Managed +namespace Microsoft.AspNetCore.DataProtection.Managed { internal unsafe sealed class ManagedGenRandomImpl : IManagedGenRandom { diff --git a/src/Microsoft.AspNetCore.DataProtection/Managed/SymmetricAlgorithmExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/Managed/SymmetricAlgorithmExtensions.cs index aa31f58288..d411ce26c0 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Managed/SymmetricAlgorithmExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Managed/SymmetricAlgorithmExtensions.cs @@ -3,9 +3,9 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; -namespace Microsoft.AspNet.DataProtection.Managed +namespace Microsoft.AspNetCore.DataProtection.Managed { internal static class SymmetricAlgorithmExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/MemoryProtection.cs b/src/Microsoft.AspNetCore.DataProtection/MemoryProtection.cs index 885b71f570..be87e3cde5 100644 --- a/src/Microsoft.AspNetCore.DataProtection/MemoryProtection.cs +++ b/src/Microsoft.AspNetCore.DataProtection/MemoryProtection.cs @@ -3,9 +3,9 @@ using System; using System.Runtime.InteropServices; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Wrappers around CryptProtectMemory / CryptUnprotectMemory. diff --git a/src/Microsoft.AspNetCore.DataProtection/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.DataProtection/Properties/AssemblyInfo.cs index 7467d96a44..441f834f11 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Properties/AssemblyInfo.cs @@ -6,7 +6,7 @@ using System.Resources; using System.Runtime.CompilerServices; // for unit testing -[assembly: InternalsVisibleTo("Microsoft.AspNet.DataProtection.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] +[assembly: InternalsVisibleTo("Microsoft.AspNetCore.DataProtection.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f33a29044fa9d740c9b3213a93e57c84b472c84e0b8a0e1ae48e67a9f8f6de9d5f7f3d52ac23e48ac51801f1dc950abe901da34d2a9e3baadb141a17c77ef3c565dd5ee5054b91cf63bb3c6ab83f72ab3aafe93d0fc3c2348b764fafb0b1c0733de51459aeab46580384bf9d74c4e28164b7cde247f891ba07891c9d872ad2bb")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.AspNetCore.DataProtection/Properties/Resources.Designer.cs b/src/Microsoft.AspNetCore.DataProtection/Properties/Resources.Designer.cs index 2d88c5206c..1b9830d44b 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Properties/Resources.Designer.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Properties/Resources.Designer.cs @@ -1,5 +1,5 @@ // -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { using System.Globalization; using System.Reflection; @@ -8,7 +8,7 @@ namespace Microsoft.AspNet.DataProtection internal static class Resources { private static readonly ResourceManager _resourceManager - = new ResourceManager("Microsoft.AspNet.DataProtection.Resources", typeof(Resources).GetTypeInfo().Assembly); + = new ResourceManager("Microsoft.AspNetCore.DataProtection.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// An error occurred during a cryptographic operation. diff --git a/src/Microsoft.AspNetCore.DataProtection/RegistryPolicyResolver.cs b/src/Microsoft.AspNetCore.DataProtection/RegistryPolicyResolver.cs index bd5447d172..5fd5188953 100644 --- a/src/Microsoft.AspNetCore.DataProtection/RegistryPolicyResolver.cs +++ b/src/Microsoft.AspNetCore.DataProtection/RegistryPolicyResolver.cs @@ -6,13 +6,13 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement; using Microsoft.Extensions.DependencyInjection; using Microsoft.Win32; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// A type which allows reading policy from the system registry. @@ -85,7 +85,7 @@ namespace Microsoft.AspNet.DataProtection /// public static ServiceDescriptor[] ResolveDefaultPolicy() { - RegistryKey subKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\DotNetPackages\Microsoft.AspNet.DataProtection"); + RegistryKey subKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\DotNetPackages\Microsoft.AspNetCore.DataProtection"); if (subKey != null) { using (subKey) diff --git a/src/Microsoft.AspNetCore.DataProtection/Repositories/EphemeralXmlRepository.cs b/src/Microsoft.AspNetCore.DataProtection/Repositories/EphemeralXmlRepository.cs index e277488ca0..35ebca2067 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Repositories/EphemeralXmlRepository.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Repositories/EphemeralXmlRepository.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { /// /// An ephemeral XML repository backed by process memory. This class must not be used for diff --git a/src/Microsoft.AspNetCore.DataProtection/Repositories/FileSystemXmlRepository.cs b/src/Microsoft.AspNetCore.DataProtection/Repositories/FileSystemXmlRepository.cs index a31038deab..6e2eb99992 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Repositories/FileSystemXmlRepository.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Repositories/FileSystemXmlRepository.cs @@ -9,7 +9,7 @@ using System.Linq; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { /// /// An XML repository backed by a file system. diff --git a/src/Microsoft.AspNetCore.DataProtection/Repositories/IXmlRepository.cs b/src/Microsoft.AspNetCore.DataProtection/Repositories/IXmlRepository.cs index fa8301e7e8..d62422d55e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Repositories/IXmlRepository.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Repositories/IXmlRepository.cs @@ -5,7 +5,7 @@ using System; using System.Collections.Generic; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { /// /// The basic interface for storing and retrieving XML elements. diff --git a/src/Microsoft.AspNetCore.DataProtection/Repositories/RegistryXmlRepository.cs b/src/Microsoft.AspNetCore.DataProtection/Repositories/RegistryXmlRepository.cs index c809cdce79..63263223e7 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Repositories/RegistryXmlRepository.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Repositories/RegistryXmlRepository.cs @@ -11,7 +11,7 @@ using Microsoft.Win32; using static System.FormattableString; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { /// /// An XML repository backed by the Windows registry. diff --git a/src/Microsoft.AspNetCore.DataProtection/SP800_108/ISP800_108_CTR_HMACSHA512Provider.cs b/src/Microsoft.AspNetCore.DataProtection/SP800_108/ISP800_108_CTR_HMACSHA512Provider.cs index bc4fc9f82a..f7e6aecdb1 100644 --- a/src/Microsoft.AspNetCore.DataProtection/SP800_108/ISP800_108_CTR_HMACSHA512Provider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/SP800_108/ISP800_108_CTR_HMACSHA512Provider.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { internal unsafe interface ISP800_108_CTR_HMACSHA512Provider : IDisposable { diff --git a/src/Microsoft.AspNetCore.DataProtection/SP800_108/ManagedSP800_108_CTR_HMACSHA512.cs b/src/Microsoft.AspNetCore.DataProtection/SP800_108/ManagedSP800_108_CTR_HMACSHA512.cs index 0e5ce8fb5f..4991121eb2 100644 --- a/src/Microsoft.AspNetCore.DataProtection/SP800_108/ManagedSP800_108_CTR_HMACSHA512.cs +++ b/src/Microsoft.AspNetCore.DataProtection/SP800_108/ManagedSP800_108_CTR_HMACSHA512.cs @@ -3,10 +3,10 @@ using System; using System.Security.Cryptography; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Managed; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Managed; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { internal static class ManagedSP800_108_CTR_HMACSHA512 { diff --git a/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Extensions.cs b/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Extensions.cs index 82bfa56efc..8900bed9ed 100644 --- a/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Extensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Extensions.cs @@ -2,9 +2,9 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { internal unsafe static class SP800_108_CTR_HMACSHA512Extensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Util.cs b/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Util.cs index 770fa36a28..b55d5cf9af 100644 --- a/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Util.cs +++ b/src/Microsoft.AspNetCore.DataProtection/SP800_108/SP800_108_CTR_HMACSHA512Util.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { /// /// Provides an implementation of the SP800-108-CTR-HMACSHA512 key derivation function. diff --git a/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs b/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs index 3df74326ca..063d3c8ad8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win7SP800_108_CTR_HMACSHA512Provider.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { internal unsafe sealed class Win7SP800_108_CTR_HMACSHA512Provider : ISP800_108_CTR_HMACSHA512Provider { diff --git a/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win8SP800_108_CTR_HMACSHA512Provider.cs b/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win8SP800_108_CTR_HMACSHA512Provider.cs index 846fb525f0..f57c5a7a27 100644 --- a/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win8SP800_108_CTR_HMACSHA512Provider.cs +++ b/src/Microsoft.AspNetCore.DataProtection/SP800_108/Win8SP800_108_CTR_HMACSHA512Provider.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { internal unsafe sealed class Win8SP800_108_CTR_HMACSHA512Provider : ISP800_108_CTR_HMACSHA512Provider { diff --git a/src/Microsoft.AspNetCore.DataProtection/Secret.cs b/src/Microsoft.AspNetCore.DataProtection/Secret.cs index 88a1bc3fda..15daf4fac5 100644 --- a/src/Microsoft.AspNetCore.DataProtection/Secret.cs +++ b/src/Microsoft.AspNetCore.DataProtection/Secret.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.Managed; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.Managed; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Represents a secret value stored in memory. diff --git a/src/Microsoft.AspNetCore.DataProtection/TypeExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/TypeExtensions.cs index 178df37159..0e35c06a6b 100644 --- a/src/Microsoft.AspNetCore.DataProtection/TypeExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/TypeExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Reflection; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Helpful extension methods on . diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlConstants.cs b/src/Microsoft.AspNetCore.DataProtection/XmlConstants.cs index 57a396903d..9908e8e138 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlConstants.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlConstants.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Contains XLinq constants. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateResolver.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateResolver.cs index 765e0d4e7f..00f19f090f 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateResolver.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateResolver.cs @@ -6,7 +6,7 @@ using System; using System.Security.Cryptography.X509Certificates; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// A default implementation of that looks in the current user diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateXmlEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateXmlEncryptor.cs index e38928dbbf..09c64ab976 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateXmlEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/CertificateXmlEncryptor.cs @@ -8,11 +8,11 @@ using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.Xml; using System.Xml; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that can perform XML encryption by using an X.509 certificate. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGProtectionDescriptorFlags.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGProtectionDescriptorFlags.cs index 1b2d523267..e0d3fafe62 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGProtectionDescriptorFlags.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGProtectionDescriptorFlags.cs @@ -3,7 +3,7 @@ using System; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// Flags used to control the creation of protection descriptors. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlDecryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlDecryptor.cs index 8062968e57..af35d69bd8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlDecryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlDecryptor.cs @@ -3,11 +3,11 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Cng; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that decrypts XML elements that were encrypted with . diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlEncryptor.cs index ec9eae530b..cc303bec31 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiNGXmlEncryptor.cs @@ -4,14 +4,14 @@ using System; using System.Security.Principal; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.Cng; using Microsoft.Extensions.Logging; using static System.FormattableString; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// A class that can encrypt XML elements using Windows DPAPI:NG. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlDecryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlDecryptor.cs index 0a65c22538..6b331f9626 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlDecryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlDecryptor.cs @@ -3,11 +3,11 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Cng; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that decrypts XML elements that were encrypted with . diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlEncryptor.cs index f99ee99c05..54d52c39aa 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/DpapiXmlEncryptor.cs @@ -4,11 +4,11 @@ using System; using System.Security.Principal; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Cng; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Cng; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that encrypts XML by using Windows DPAPI. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.core50.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.core50.cs index ce9c8ee9ff..ac3edc0e3c 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.core50.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.core50.cs @@ -11,7 +11,7 @@ using System; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { internal sealed class EncryptedXmlDecryptor : IXmlDecryptor { diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.cs index 713f85f06c..5690ca8569 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlDecryptor.cs @@ -9,7 +9,7 @@ using System.Xml; using System.Xml.Linq; using Microsoft.Extensions.DependencyInjection; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that decrypts XML elements by using the class. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlInfo.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlInfo.cs index e12016a4e1..17e2a01e4e 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlInfo.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/EncryptedXmlInfo.cs @@ -5,7 +5,7 @@ using System; using System.Reflection; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// Wraps an that contains a blob of encrypted XML diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/ICertificateResolver.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/ICertificateResolver.cs index 5a6f0b9f27..d87a1ec2dc 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/ICertificateResolver.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/ICertificateResolver.cs @@ -5,7 +5,7 @@ using System.Security.Cryptography.X509Certificates; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// Provides services for locating instances. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalCertificateXmlEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalCertificateXmlEncryptor.cs index ec30a73f44..5507b6856c 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalCertificateXmlEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalCertificateXmlEncryptor.cs @@ -7,7 +7,7 @@ using System; using System.Xml; using System.Security.Cryptography.Xml; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// Internal implementation details of for unit testing. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalEncryptedXmlDecryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalEncryptedXmlDecryptor.cs index afc9a2092c..b54bbcd8f8 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalEncryptedXmlDecryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IInternalEncryptedXmlDecryptor.cs @@ -6,7 +6,7 @@ using System; using System.Security.Cryptography.Xml; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// Internal implementation details of for unit testing. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlDecryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlDecryptor.cs index dac3935544..1ada323d21 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlDecryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlDecryptor.cs @@ -3,7 +3,7 @@ using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// The basic interface for decrypting an XML element. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlEncryptor.cs index aea3cbb051..40a87d1a8d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/IXmlEncryptor.cs @@ -3,7 +3,7 @@ using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// The basic interface for encrypting XML elements. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlDecryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlDecryptor.cs index f5d8fe1cb5..f8de45f23d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlDecryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlDecryptor.cs @@ -5,7 +5,7 @@ using System; using System.Linq; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that decrypts XML elements with a null decryptor. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlEncryptor.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlEncryptor.cs index c110ed2d4c..0f3100b859 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlEncryptor.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/NullXmlEncryptor.cs @@ -5,7 +5,7 @@ using System; using System.Xml.Linq; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { /// /// An that encrypts XML elements with a null encryptor. diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/XmlEncryptionExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/XmlEncryptionExtensions.cs index 44ec3abe0c..6505412959 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/XmlEncryptionExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlEncryption/XmlEncryptionExtensions.cs @@ -7,11 +7,11 @@ using System.Diagnostics; using System.IO; using System.Linq; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Internal; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Internal; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { internal unsafe static class XmlEncryptionExtensions { diff --git a/src/Microsoft.AspNetCore.DataProtection/XmlExtensions.cs b/src/Microsoft.AspNetCore.DataProtection/XmlExtensions.cs index 7340baf281..bc08eb2b3d 100644 --- a/src/Microsoft.AspNetCore.DataProtection/XmlExtensions.cs +++ b/src/Microsoft.AspNetCore.DataProtection/XmlExtensions.cs @@ -4,7 +4,7 @@ using System; using System.Xml.Linq; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Contains helpers to work with XElement objects. diff --git a/src/Microsoft.AspNetCore.DataProtection/project.json b/src/Microsoft.AspNetCore.DataProtection/project.json index 5ef1f6ead8..5964da758c 100644 --- a/src/Microsoft.AspNetCore.DataProtection/project.json +++ b/src/Microsoft.AspNetCore.DataProtection/project.json @@ -6,9 +6,9 @@ "url": "git://github.com/aspnet/dataprotection" }, "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Abstractions": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Sources": { + "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Sources": { "type": "build", "version": "" }, diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_Tests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_Tests.cs index fec6abeaee..a455fd571f 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_Tests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_Tests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { public unsafe class BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_Tests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_KEY_LENGTHS_STRUCT_Tests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_KEY_LENGTHS_STRUCT_Tests.cs index a678158a0e..34192eb758 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_KEY_LENGTHS_STRUCT_Tests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCRYPT_KEY_LENGTHS_STRUCT_Tests.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.Internal; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Cryptography.Internal; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { public class BCRYPT_KEY_LENGTHS_STRUCT_Tests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCryptUtilTests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCryptUtilTests.cs index c33dfede4c..286bca18f4 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCryptUtilTests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/BCryptUtilTests.cs @@ -3,11 +3,11 @@ using System; using System.Linq; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { public unsafe class BCryptUtilTests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/CachedAlgorithmHandlesTests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/CachedAlgorithmHandlesTests.cs index 0fb5f0d6cb..de601a12d5 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/CachedAlgorithmHandlesTests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/Cng/CachedAlgorithmHandlesTests.cs @@ -3,12 +3,12 @@ using System; using System.Text; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Cryptography.Cng +namespace Microsoft.AspNetCore.Cryptography.Cng { // This class tests both the properties and the output of hash algorithms. // It only tests the properties of the encryption algorithms. diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/CryptoUtilTests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/CryptoUtilTests.cs index 7ce884177f..b911ab065a 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/CryptoUtilTests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/CryptoUtilTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { public unsafe class CryptoUtilTests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/SafeHandles/SecureLocalAllocHandleTests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/SafeHandles/SecureLocalAllocHandleTests.cs index 068f729806..cf5b8f9384 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/SafeHandles/SecureLocalAllocHandleTests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/SafeHandles/SecureLocalAllocHandleTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Cryptography.SafeHandles +namespace Microsoft.AspNetCore.Cryptography.SafeHandles { public unsafe class SecureLocalAllocHandleTests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/UnsafeBufferUtilTests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/UnsafeBufferUtilTests.cs index 845922bc6c..359835db7e 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/UnsafeBufferUtilTests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/UnsafeBufferUtilTests.cs @@ -4,10 +4,10 @@ using System; using System.Reflection; using System.Runtime.InteropServices; -using Microsoft.AspNet.Cryptography.SafeHandles; +using Microsoft.AspNetCore.Cryptography.SafeHandles; using Xunit; -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { public unsafe class UnsafeBufferUtilTests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/WeakReferenceHelpersTests.cs b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/WeakReferenceHelpersTests.cs index 288cbd6f51..8bdfddc030 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/WeakReferenceHelpersTests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/WeakReferenceHelpersTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.Cryptography +namespace Microsoft.AspNetCore.Cryptography { public class WeakReferenceHelpersTests { diff --git a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json index 96f149e31c..afc7c45f3f 100644 --- a/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json +++ b/test/Microsoft.AspNetCore.Cryptography.Internal.Test/project.json @@ -1,11 +1,11 @@ { "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Test.Shared": { + "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Test.Shared": { "type": "build", "version": "" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit": "2.1.0" }, "frameworks": { diff --git a/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/Pbkdf2Tests.cs b/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/Pbkdf2Tests.cs index c2209dd6af..2ded2300ab 100644 --- a/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/Pbkdf2Tests.cs +++ b/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/Pbkdf2Tests.cs @@ -3,12 +3,12 @@ using System; using System.Text; -using Microsoft.AspNet.Cryptography.KeyDerivation.PBKDF2; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.KeyDerivation.PBKDF2; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.Cryptography.KeyDerivation +namespace Microsoft.AspNetCore.Cryptography.KeyDerivation { public class Pbkdf2Tests { diff --git a/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json b/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json index 61c2870baf..8ea16005b1 100644 --- a/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json +++ b/test/Microsoft.AspNetCore.Cryptography.KeyDerivation.Test/project.json @@ -1,9 +1,9 @@ { "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-*", - "Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Test.Shared": "", - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", + "Microsoft.AspNetCore.Cryptography.KeyDerivation": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Test.Shared": "", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit": "2.1.0" }, "frameworks": { diff --git a/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/DataProtectionExtensionsTests.cs b/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/DataProtectionExtensionsTests.cs index 3687981ecd..ab4294c607 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/DataProtectionExtensionsTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/DataProtectionExtensionsTests.cs @@ -5,14 +5,14 @@ using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; -using Microsoft.AspNet.DataProtection.Infrastructure; -using Microsoft.AspNet.DataProtection.Abstractions; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.DataProtection.Infrastructure; +using Microsoft.AspNetCore.DataProtection.Abstractions; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.PlatformAbstractions; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class DataProtectionExtensionsTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json b/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json index 793a08beeb..ab59434a25 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json +++ b/test/Microsoft.AspNetCore.DataProtection.Abstractions.Test/project.json @@ -1,8 +1,8 @@ { "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Abstractions": "1.0.0-*", - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Cryptography.Internal": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit": "2.1.0" }, "frameworks": { diff --git a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionExtensionsTests.cs b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionExtensionsTests.cs index 80866a6bf7..b4eafed6fe 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionExtensionsTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionExtensionsTests.cs @@ -7,7 +7,7 @@ using System.Text; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class DataProtectionExtensionsTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionProviderTests.cs b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionProviderTests.cs index 0724799fa8..3bac377de8 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionProviderTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/DataProtectionProviderTests.cs @@ -3,11 +3,11 @@ using System; using System.IO; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class DataProtectionProviderTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/TimeLimitedDataProtectorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/TimeLimitedDataProtectorTests.cs index 5a54b3c7f9..be9b19c27a 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/TimeLimitedDataProtectorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/TimeLimitedDataProtectorTests.cs @@ -4,15 +4,15 @@ using System; using System.Globalization; using System.Security.Cryptography; -using Microsoft.AspNet.DataProtection.Extensions; +using Microsoft.AspNetCore.DataProtection.Extensions; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class TimeLimitedDataProtectorTests { - private const string TimeLimitedPurposeString = "Microsoft.AspNet.DataProtection.TimeLimitedDataProtector.v1"; + private const string TimeLimitedPurposeString = "Microsoft.AspNetCore.DataProtection.TimeLimitedDataProtector.v1"; [Fact] public void Protect_LifetimeSpecified() diff --git a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json index d0159eb435..2a36563fc5 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json +++ b/test/Microsoft.AspNetCore.DataProtection.Extensions.Test/project.json @@ -1,12 +1,12 @@ { "dependencies": { - "Microsoft.AspNet.DataProtection.Abstractions": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Extensions": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Test.Shared": { + "Microsoft.AspNetCore.DataProtection.Abstractions": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Extensions": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Test.Shared": { "type": "build", "version": "" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "xunit": "2.1.0" }, "frameworks": { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindows8OrLaterAttribute.cs b/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindows8OrLaterAttribute.cs index 1799324f80..d5ef4730f6 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindows8OrLaterAttribute.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindows8OrLaterAttribute.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Testing.xunit; -namespace Microsoft.AspNet.DataProtection.Test.Shared +namespace Microsoft.AspNetCore.DataProtection.Test.Shared { public class ConditionalRunTestOnlyOnWindows8OrLaterAttribute : Attribute, ITestCondition { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindowsAttribute.cs b/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindowsAttribute.cs index 5071921f05..5033b3e38e 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindowsAttribute.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ConditionalRunTestOnlyWindowsAttribute.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Testing.xunit; -namespace Microsoft.AspNet.DataProtection.Test.Shared +namespace Microsoft.AspNetCore.DataProtection.Test.Shared { public class ConditionalRunTestOnlyOnWindowsAttribute : Attribute, ITestCondition { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ExceptionAssert2.cs b/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ExceptionAssert2.cs index cf365f42a4..36eab6e08d 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ExceptionAssert2.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test.Shared/ExceptionAssert2.cs @@ -5,7 +5,7 @@ using System; using System.Security.Cryptography; using Xunit; -namespace Microsoft.AspNet.Testing +namespace Microsoft.AspNetCore.Testing { internal static class ExceptionAssert2 { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/ActivatorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/ActivatorTests.cs index d5b96c0f17..a249162706 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/ActivatorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/ActivatorTests.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.Internal; +using Microsoft.AspNetCore.DataProtection.Internal; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class ActivatorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AnonymousImpersonation.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AnonymousImpersonation.cs index cd76849191..25d983c6fd 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AnonymousImpersonation.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AnonymousImpersonation.cs @@ -5,10 +5,10 @@ using System; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; -using Microsoft.AspNet.Cryptography; +using Microsoft.AspNetCore.Cryptography; using Microsoft.Win32.SafeHandles; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Helpers for working with the anonymous Windows identity. diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializerTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializerTests.cs index a808113e78..59beb7da02 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializerTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorDeserializerTests.cs @@ -5,7 +5,7 @@ using System; using System.Xml.Linq; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class AuthenticatedEncryptorDescriptorDeserializerTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorTests.cs index 183af245a7..82acb2f0af 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/AuthenticatedEncryptorDescriptorTests.cs @@ -5,15 +5,15 @@ using System; using System.Globalization; using System.Security.Cryptography; using System.Text.RegularExpressions; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.Cryptography.SafeHandles; -using Microsoft.AspNet.DataProtection.Cng; -using Microsoft.AspNet.DataProtection.Managed; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.Cryptography.SafeHandles; +using Microsoft.AspNetCore.DataProtection.Cng; +using Microsoft.AspNetCore.DataProtection.Managed; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class AuthenticatedEncryptorDescriptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfigurationTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfigurationTests.cs index 815658f4bf..daf29693f6 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfigurationTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorConfigurationTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class CngCbcAuthenticatedEncryptorConfigurationTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs index 317758dfef..3f7814d65e 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorDeserializerTests.cs @@ -3,12 +3,12 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class CngCbcAuthenticatedEncryptorDescriptorDeserializerTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorTests.cs index a20da3b086..50a20bd522 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngCbcAuthenticatedEncryptorDescriptorTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class CngCbcAuthenticatedEncryptorDescriptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfigurationTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfigurationTests.cs index 348eb3d0a5..f38edc6040 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfigurationTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorConfigurationTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class CngGcmAuthenticatedEncryptorConfigurationTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs index c07cd32029..13dc84ba7d 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorDeserializerTests.cs @@ -3,12 +3,12 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.Cryptography; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class CngGcmAuthenticatedEncryptorDescriptorDeserializerTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorTests.cs index 3d6b98f0d5..678855b7bd 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/CngGcmAuthenticatedEncryptorDescriptorTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class CngGcmAuthenticatedEncryptorDescriptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfigurationTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfigurationTests.cs index d6aca0f4dc..ca18f1f172 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfigurationTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorConfigurationTests.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class ManagedAuthenticatedEncryptorConfigurationTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs index 270ed2dcfb..e405ca94c5 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs @@ -6,7 +6,7 @@ using System.Security.Cryptography; using System.Xml.Linq; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class ManagedAuthenticatedEncryptorDescriptorDeserializerTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorTests.cs index 04882ffabd..8a207ffa5e 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/AuthenticatedEncryption/ConfigurationModel/ManagedAuthenticatedEncryptorDescriptorTests.cs @@ -5,7 +5,7 @@ using System; using System.Security.Cryptography; using Xunit; -namespace Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel +namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel { public class ManagedAuthenticatedEncryptorDescriptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CbcAuthenticatedEncryptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CbcAuthenticatedEncryptorTests.cs index 1ca46ab2b2..97e7d7a96d 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CbcAuthenticatedEncryptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CbcAuthenticatedEncryptorTests.cs @@ -5,12 +5,12 @@ using System; using System.Linq; using System.Security.Cryptography; using System.Text; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { public class CbcAuthenticatedEncryptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CngAuthenticatedEncryptorBaseTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CngAuthenticatedEncryptorBaseTests.cs index db24e9b387..a67d410f4f 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CngAuthenticatedEncryptorBaseTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Cng/CngAuthenticatedEncryptorBaseTests.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.Cng.Internal +namespace Microsoft.AspNetCore.DataProtection.Cng.Internal { public unsafe class CngAuthenticatedEncryptorBaseTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Cng/GcmAuthenticatedEncryptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Cng/GcmAuthenticatedEncryptorTests.cs index b94041b79f..b01058e5b4 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Cng/GcmAuthenticatedEncryptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Cng/GcmAuthenticatedEncryptorTests.cs @@ -5,12 +5,12 @@ using System; using System.Linq; using System.Security.Cryptography; using System.Text; -using Microsoft.AspNet.Cryptography.Cng; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Cryptography.Cng; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.Cng +namespace Microsoft.AspNetCore.DataProtection.Cng { public class GcmAuthenticatedEncryptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/EphemeralDataProtectionProviderTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/EphemeralDataProtectionProviderTests.cs index e0c856cf26..45a51e2224 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/EphemeralDataProtectionProviderTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/EphemeralDataProtectionProviderTests.cs @@ -6,7 +6,7 @@ using System.Security.Cryptography; using System.Text; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class EphemeralDataProtectionProviderTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/CacheableKeyRingTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/CacheableKeyRingTests.cs index 8d8c81a510..27eaa3bf31 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/CacheableKeyRingTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/CacheableKeyRingTests.cs @@ -3,11 +3,11 @@ using System; using System.Threading; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class CacheableKeyRingTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DefaultKeyResolverTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DefaultKeyResolverTests.cs index 38eb189734..dec696bfcc 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DefaultKeyResolverTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DefaultKeyResolverTests.cs @@ -4,12 +4,12 @@ using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class DefaultKeyResolverTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DeferredKeyTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DeferredKeyTests.cs index 5dd7f0437a..53ec59402c 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DeferredKeyTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/DeferredKeyTests.cs @@ -3,14 +3,14 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class DeferredKeyTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyEscrowServiceProviderExtensionsTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyEscrowServiceProviderExtensionsTests.cs index 989b7aafd5..bd90f3740f 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyEscrowServiceProviderExtensionsTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyEscrowServiceProviderExtensionsTests.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class KeyEscrowServiceProviderExtensionsTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingBasedDataProtectorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingBasedDataProtectorTests.cs index 8c03d91c5f..c2b54f30de 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingBasedDataProtectorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingBasedDataProtectorTests.cs @@ -7,14 +7,14 @@ using System.Linq; using System.Net; using System.Reflection; using System.Text; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Testing; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class KeyRingBasedDataProtectorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingProviderTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingProviderTests.cs index f3be5939ff..2f7517c86b 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingProviderTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingProviderTests.cs @@ -6,16 +6,16 @@ using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.Testing; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; using static System.FormattableString; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class KeyRingProviderTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingTests.cs index df03475f7a..f973af9c42 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyRingTests.cs @@ -2,11 +2,11 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class KeyRingTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyTests.cs index 6514a61293..e42632dd1d 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/KeyTests.cs @@ -2,12 +2,12 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class KeyTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/XmlKeyManagerTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/XmlKeyManagerTests.cs index 1e15316555..ff991bf34e 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/XmlKeyManagerTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/KeyManagement/XmlKeyManagerTests.cs @@ -6,18 +6,18 @@ using System.Collections.Generic; using System.Linq; using System.Xml; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Internal; -using Microsoft.AspNet.DataProtection.KeyManagement.Internal; -using Microsoft.AspNet.DataProtection.Repositories; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Internal; +using Microsoft.AspNetCore.DataProtection.KeyManagement.Internal; +using Microsoft.AspNetCore.DataProtection.Repositories; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.KeyManagement +namespace Microsoft.AspNetCore.DataProtection.KeyManagement { public class XmlKeyManagerTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Managed/ManagedAuthenticatedEncryptorTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Managed/ManagedAuthenticatedEncryptorTests.cs index 8fb3dc0d5d..4e5f67fc65 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Managed/ManagedAuthenticatedEncryptorTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Managed/ManagedAuthenticatedEncryptorTests.cs @@ -5,11 +5,11 @@ using System; using System.Linq; using System.Security.Cryptography; using System.Text; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.Managed +namespace Microsoft.AspNetCore.DataProtection.Managed { public class ManagedAuthenticatedEncryptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/MockExtensions.cs b/test/Microsoft.AspNetCore.DataProtection.Test/MockExtensions.cs index ff4646a2ae..40a34afca6 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/MockExtensions.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/MockExtensions.cs @@ -3,13 +3,13 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.Internal; -using Microsoft.AspNet.DataProtection.XmlEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.Internal; +using Microsoft.AspNetCore.DataProtection.XmlEncryption; using Moq; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal static class MockExtensions { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/RegistryPolicyResolverTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/RegistryPolicyResolverTests.cs index 5513d6c7f0..f2ec6310e0 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/RegistryPolicyResolverTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/RegistryPolicyResolverTests.cs @@ -6,10 +6,10 @@ using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption; -using Microsoft.AspNet.DataProtection.AuthenticatedEncryption.ConfigurationModel; -using Microsoft.AspNet.DataProtection.KeyManagement; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption; +using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; @@ -17,7 +17,7 @@ using Microsoft.Extensions.PlatformAbstractions; using Microsoft.Win32; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public class RegistryPolicyResolverTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/EphemeralXmlRepositoryTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/EphemeralXmlRepositoryTests.cs index dadcfbbf42..2690da8254 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/EphemeralXmlRepositoryTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/EphemeralXmlRepositoryTests.cs @@ -5,7 +5,7 @@ using System; using System.Xml.Linq; using Xunit; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { public class EphemeralXmlRepositoryTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/FileSystemXmlRepositoryTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/FileSystemXmlRepositoryTests.cs index f175b00283..236f98cff0 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/FileSystemXmlRepositoryTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/FileSystemXmlRepositoryTests.cs @@ -5,10 +5,10 @@ using System; using System.IO; using System.Linq; using System.Xml.Linq; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { public class FileSystemXmlRepositoryTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/RegistryXmlRepositoryTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/RegistryXmlRepositoryTests.cs index 3e5cfae000..e7d7e62a86 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/RegistryXmlRepositoryTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/Repositories/RegistryXmlRepositoryTests.cs @@ -4,12 +4,12 @@ using System; using System.Linq; using System.Xml.Linq; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.Testing.xunit; using Microsoft.Extensions.PlatformAbstractions; using Microsoft.Win32; using Xunit; -namespace Microsoft.AspNet.DataProtection.Repositories +namespace Microsoft.AspNetCore.DataProtection.Repositories { public class RegistryXmlRepositoryTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/SP800_108/SP800_108Tests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/SP800_108/SP800_108Tests.cs index e8751c0cea..871ca83f5b 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/SP800_108/SP800_108Tests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/SP800_108/SP800_108Tests.cs @@ -4,11 +4,11 @@ using System; using System.Security.Cryptography; using System.Text; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.SP800_108 +namespace Microsoft.AspNetCore.DataProtection.SP800_108 { public unsafe class SP800_108Tests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/SecretAssert.cs b/test/Microsoft.AspNetCore.DataProtection.Test/SecretAssert.cs index 2f92d1c33f..d3fb1cbc70 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/SecretAssert.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/SecretAssert.cs @@ -4,7 +4,7 @@ using System; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Helpful ISecret-based assertions. diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/SecretTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/SecretTests.cs index a1dd672cff..0d3ab20696 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/SecretTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/SecretTests.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.Testing; +using Microsoft.AspNetCore.Testing; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { public unsafe class SecretTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/SequentialGenRandom.cs b/test/Microsoft.AspNetCore.DataProtection.Test/SequentialGenRandom.cs index a86ea44d75..c37462ef97 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/SequentialGenRandom.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/SequentialGenRandom.cs @@ -2,10 +2,10 @@ // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; -using Microsoft.AspNet.DataProtection.Cng; -using Microsoft.AspNet.DataProtection.Managed; +using Microsoft.AspNetCore.DataProtection.Cng; +using Microsoft.AspNetCore.DataProtection.Managed; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal unsafe class SequentialGenRandom : IBCryptGenRandom, IManagedGenRandom { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs b/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs index ef97826d13..c15cc1ac9d 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs @@ -6,7 +6,7 @@ using System.Globalization; using System.Text; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { internal sealed class StringLoggerFactory : ILoggerFactory { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/XmlAssert.cs b/test/Microsoft.AspNetCore.DataProtection.Test/XmlAssert.cs index a0481a3f29..e33bc0d84c 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/XmlAssert.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/XmlAssert.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Xml.Linq; using Xunit; -namespace Microsoft.AspNet.DataProtection +namespace Microsoft.AspNetCore.DataProtection { /// /// Helpful XML-based assertions. diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/CertificateXmlEncryptionTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/CertificateXmlEncryptionTests.cs index 7e013de0c0..79e2b2d664 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/CertificateXmlEncryptionTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/CertificateXmlEncryptionTests.cs @@ -11,7 +11,7 @@ using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { public class CertificateXmlEncryptorTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiNGXmlEncryptionTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiNGXmlEncryptionTests.cs index cc717c62d9..2a4f19dfab 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiNGXmlEncryptionTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiNGXmlEncryptionTests.cs @@ -3,11 +3,11 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { public class DpapiNGXmlEncryptionTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiXmlEncryptionTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiXmlEncryptionTests.cs index 3a0f6e520c..8929ae9d3f 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiXmlEncryptionTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/DpapiXmlEncryptionTests.cs @@ -3,12 +3,12 @@ using System; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.Test.Shared; -using Microsoft.AspNet.Testing; -using Microsoft.AspNet.Testing.xunit; +using Microsoft.AspNetCore.DataProtection.Test.Shared; +using Microsoft.AspNetCore.Testing; +using Microsoft.AspNetCore.Testing.xunit; using Xunit; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { public class DpapiXmlEncryptionTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/NullXmlEncryptionTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/NullXmlEncryptionTests.cs index 238b78bd6c..8f4433d78c 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/NullXmlEncryptionTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/NullXmlEncryptionTests.cs @@ -5,7 +5,7 @@ using System; using System.Xml.Linq; using Xunit; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { public class NullXmlEncryptionTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/XmlEncryptionExtensionsTests.cs b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/XmlEncryptionExtensionsTests.cs index 7364fdad4e..d03fee0c09 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/XmlEncryptionExtensionsTests.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/XmlEncryption/XmlEncryptionExtensionsTests.cs @@ -4,12 +4,12 @@ using System; using System.Linq; using System.Xml.Linq; -using Microsoft.AspNet.DataProtection.Internal; +using Microsoft.AspNetCore.DataProtection.Internal; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; -namespace Microsoft.AspNet.DataProtection.XmlEncryption +namespace Microsoft.AspNetCore.DataProtection.XmlEncryption { public class XmlEncryptionExtensionsTests { diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/project.json b/test/Microsoft.AspNetCore.DataProtection.Test/project.json index 4d06843dbb..e20687b0a4 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/project.json +++ b/test/Microsoft.AspNetCore.DataProtection.Test/project.json @@ -1,11 +1,11 @@ { "dependencies": { - "Microsoft.AspNet.DataProtection": "1.0.0-*", - "Microsoft.AspNet.DataProtection.Test.Shared": { + "Microsoft.AspNetCore.DataProtection": "1.0.0-*", + "Microsoft.AspNetCore.DataProtection.Test.Shared": { "type": "build", "version": "" }, - "Microsoft.AspNet.Testing": "1.0.0-*", + "Microsoft.AspNetCore.Testing": "1.0.0-*", "Microsoft.Extensions.DependencyInjection": "1.0.0-*", "xunit": "2.1.0" },