You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@ -1,7 +1,6 @@
|
||||

|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.23107.0
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Security.Cryptography.Algorithms.Tests", "tests\System.Security.Cryptography.Algorithms.Tests.csproj", "{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
@ -9,173 +8,43 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Security.Cryptograph
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Security.Cryptography.Algorithms", "src\System.Security.Cryptography.Algorithms.csproj", "{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F} = {102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Security.Cryptography.Algorithms", "ref\System.Security.Cryptography.Algorithms.csproj", "{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1A2F9F4A-A032-433E-B914-ADD5992BB178}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E107E9C1-E893-4E87-987E-04EF0DCEAEFD}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{2E666815-2EDB-464B-9DF6-380BF4789AD4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU = DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU = ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU
|
||||
DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU = DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU = ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = net463-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnet463-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = net463-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Unix-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Unixnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Unix-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-OSX-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-OSXnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-OSX-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Unix|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.DebugNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.ReleaseNETCoreAppnetcoreapp-Windows_NTnetcoreapp-Windows_NT|AnyCPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.Debug|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.Debug|Any CPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.Release|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7}.Release|Any CPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.Debug|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.Debug|Any CPU.Build.0 = netcoreapp-Windows_NT-Debug|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.Release|Any CPU.ActiveCfg = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}.Release|Any CPU.Build.0 = netcoreapp-Windows_NT-Release|Any CPU
|
||||
{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU
|
||||
{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU
|
||||
{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU
|
||||
{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{508A7D81-6462-459C-9F8F-B58FCCCFC8E7} = {1A2F9F4A-A032-433E-B914-ADD5992BB178}
|
||||
{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9} = {E107E9C1-E893-4E87-987E-04EF0DCEAEFD}
|
||||
{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F} = {2E666815-2EDB-464B-9DF6-380BF4789AD4}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
@ -4,5 +4,6 @@
|
||||
<PropertyGroup>
|
||||
<AssemblyVersion>4.3.0.0</AssemblyVersion>
|
||||
<IsNETCoreApp>true</IsNETCoreApp>
|
||||
<IsUAP>true</IsUAP>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -374,10 +374,14 @@ namespace System.Security.Cryptography
|
||||
public partial class Rfc2898DeriveBytes : System.Security.Cryptography.DeriveBytes
|
||||
{
|
||||
public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations) { }
|
||||
public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm) { }
|
||||
public Rfc2898DeriveBytes(string password, byte[] salt) { }
|
||||
public Rfc2898DeriveBytes(string password, byte[] salt, int iterations) { }
|
||||
public Rfc2898DeriveBytes(string password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm) { }
|
||||
public Rfc2898DeriveBytes(string password, int saltSize) { }
|
||||
public Rfc2898DeriveBytes(string password, int saltSize, int iterations) { }
|
||||
public Rfc2898DeriveBytes(string password, int saltSize, int iterations, HashAlgorithmName hashAlgorithm) { }
|
||||
public HashAlgorithmName HashAlgorithm { get { throw null; } }
|
||||
public int IterationCount { get { throw null; } set { } }
|
||||
public byte[] Salt { get { throw null; } set { } }
|
||||
public byte[] CryptDeriveKey(string algname, string alghashname, int keySize, byte[] rgbIV) { throw null; }
|
||||
|
@ -1,6 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{102247C1-3DB9-4DB5-80B3-EE9F80DD4E8F}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" />
|
||||
|
3
external/corefx/src/System.Security.Cryptography.Algorithms/src/ApiCompatBaseline.uap.txt
vendored
Normal file
3
external/corefx/src/System.Security.Cryptography.Algorithms/src/ApiCompatBaseline.uap.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
Compat issues with assembly System.Security.Cryptography.Algorithms:
|
||||
MembersMustExist : Member 'System.Security.Cryptography.ECDsa.Create(System.Security.Cryptography.ECCurve)' does not exist in the implementation but it does exist in the contract.
|
||||
Total Issues: 1
|
@ -2,10 +2,10 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
net463-Windows_NT;
|
||||
netcoreapp-Unix;
|
||||
netcoreapp-OSX;
|
||||
netcoreapp-Windows_NT;
|
||||
uap-Windows_NT;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -77,7 +77,7 @@ namespace Internal.Cryptography
|
||||
int ret;
|
||||
int errorCode;
|
||||
|
||||
fixed (byte* outputStart = output)
|
||||
fixed (byte* outputStart = &output[0])
|
||||
{
|
||||
byte* outputCurrent = outputStart + outputBytes;
|
||||
int bytesWritten;
|
||||
|
@ -1,64 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
@ -144,9 +85,18 @@
|
||||
<data name="Cryptography_CSP_NoPrivateKey" xml:space="preserve">
|
||||
<value>Object contains only the public half of a key pair. A private key must also be provided.</value>
|
||||
</data>
|
||||
<data name="Cryptography_Der_Invalid_Encoding" xml:space="preserve">
|
||||
<value>ASN1 corrupted data.</value>
|
||||
</data>
|
||||
<data name="Cryptography_DSA_KeyGenNotSupported" xml:space="preserve">
|
||||
<value>DSA keys can be imported, but new key generation is not supported on this platform.</value>
|
||||
</data>
|
||||
<data name="Cryptography_ECXmlSerializationFormatRequired" xml:space="preserve">
|
||||
<value>XML serialization of an elliptic curve key requires using an overload which specifies the XML format to be used.</value>
|
||||
</data>
|
||||
<data name="Cryptography_ECC_NamedCurvesOnly" xml:space="preserve">
|
||||
<value>Only named curves are supported on this platform.</value>
|
||||
</data>
|
||||
<data name="Cryptography_HashAlgorithmNameNullOrEmpty" xml:space="preserve">
|
||||
<value>The hash algorithm name cannot be null or empty.</value>
|
||||
</data>
|
||||
@ -246,12 +196,6 @@
|
||||
<data name="Cryptography_PasswordDerivedBytes_FewBytesSalt" xml:space="preserve">
|
||||
<value>Salt is not at least eight bytes.</value>
|
||||
</data>
|
||||
<data name="Cryptography_PasswordDerivedBytes_InvalidAlgorithm" xml:space="preserve">
|
||||
<value>Algorithm is unavailable or is not supported for this operation.</value>
|
||||
</data>
|
||||
<data name="Cryptography_PasswordDerivedBytes_InvalidIV" xml:space="preserve">
|
||||
<value>The Initialization vector should have the same length as the algorithm block size in bytes.</value>
|
||||
</data>
|
||||
<data name="Cryptography_RC2_EKS40" xml:space="preserve">
|
||||
<value>EffectiveKeySize value must be at least 40 bits.</value>
|
||||
</data>
|
||||
|
@ -5,21 +5,20 @@
|
||||
<ProjectGuid>{81A05E2E-E3AE-4246-B4E6-DD5F31FB71F9}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AssemblyName>System.Security.Cryptography.Algorithms</AssemblyName>
|
||||
<IsPartialFacadeAssembly Condition="'$(TargetGroup)'=='net463'">true</IsPartialFacadeAssembly>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DefineConstants>INTERNAL_ASYMMETRIC_IMPLEMENTATIONS</DefineConstants>
|
||||
<NoWarn>CA5351;$(NoWarn)</NoWarn>
|
||||
<GenFacadesArgs Condition="'$(TargetGroup)'=='net463'">$(GenFacadesArgs) -ignoreMissingTypes</GenFacadesArgs>
|
||||
<DefineConstants Condition="'$(TargetGroup)' == 'uap'">$(DefineConstants);uap</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='net463-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='net463-Windows_NT-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Unix-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Unix-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-OSX-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-OSX-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='netcoreapp-Windows_NT-Release|AnyCPU'" />
|
||||
<ItemGroup Condition="'$(IsPartialFacadeAssembly)' != 'true'">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-OSX-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-OSX-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Windows_NT-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Windows_NT-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Windows_NT-Release|AnyCPU'" />
|
||||
<ItemGroup>
|
||||
<Compile Include="Internal\Cryptography\AesImplementation.cs" />
|
||||
<Compile Include="Internal\Cryptography\DesImplementation.cs" />
|
||||
<Compile Include="Internal\Cryptography\Helpers.cs" />
|
||||
@ -104,7 +103,7 @@
|
||||
<Link>Internal\Cryptography\UniversalCryptoDecryptor.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetsWindows)' == 'true' AND '$(IsPartialFacadeAssembly)' != 'true' ">
|
||||
<ItemGroup Condition=" '$(TargetsWindows)' == 'true'">
|
||||
<Compile Include="System\Security\Cryptography\CngKeyLite.cs" />
|
||||
<Compile Include="System\Security\Cryptography\DSACng.cs" />
|
||||
<Compile Include="System\Security\Cryptography\ECDsaCng.cs" />
|
||||
@ -280,67 +279,6 @@
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetsUnix)' == 'true' AND '$(TargetsOSX)' != 'true' ">
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.Cipher.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.Cipher.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.Hmac.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.Hmac.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeEvpCipherCtxHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeEvpCipherCtxHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeEvpMdCtxHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeEvpMdCtxHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeHmacCtxHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeHmacCtxHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Internal\Cryptography\AesImplementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\DesImplementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\HashProviderDispenser.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\OpenSslCipher.cs" />
|
||||
<Compile Include="Internal\Cryptography\RandomNumberGeneratorImplementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\RC2Implementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\TripleDesImplementation.Unix.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetsOSX)' == 'true' ">
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.Libraries.cs">
|
||||
<Link>Common\Interop\OSX\Interop.Libraries.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Digest.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Digest.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Err.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Err.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Hmac.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Hmac.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.PAL_HashAlgorithm.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.PAL_HashAlgorithm.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Random.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Random.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Symmetric.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Symmetric.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Internal\Cryptography\AesImplementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\AppleCCCryptor.cs" />
|
||||
<Compile Include="Internal\Cryptography\DesImplementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\HashProviderDispenser.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\RandomNumberGeneratorImplementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\RC2Implementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\TripleDesImplementation.OSX.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetsUnix)' == 'true' ">
|
||||
<Compile Include="System\Security\Cryptography\ECDsaOpenSsl.cs" />
|
||||
<Compile Include="$(CommonPath)\Internal\Cryptography\OpenSslAsymmetricAlgorithmCore.cs">
|
||||
<Link>Common\Internal\Cryptography\OpenSslAsymmetricAlgorithmCore.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\Interop.Libraries.cs">
|
||||
<Link>Common\Interop\Unix\Interop.Libraries.cs</Link>
|
||||
</Compile>
|
||||
@ -368,6 +306,15 @@
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.ERR.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.Cipher.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.Cipher.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.Hmac.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.Hmac.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\Unix\System.Security.Cryptography.Native\Interop.Initialization.cs">
|
||||
<Link>Common\Interop\Unix\System.Security.Cryptography.Native\Interop.Initialization.cs</Link>
|
||||
</Compile>
|
||||
@ -386,21 +333,24 @@
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeDsaHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeDsaHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeEcKeyHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeEcKeyHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeEvpCipherCtxHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeEvpCipherCtxHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeEvpMdCtxHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeEvpMdCtxHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeHmacCtxHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeHmacCtxHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeInteriorHandle.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeRsaHandle.Unix.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeRsaHandle.Unix.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\DerEncoder.cs">
|
||||
<Link>Common\System\Security\Cryptography\DerEncoder.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\DerSequenceReader.cs">
|
||||
<Link>Common\System\Security\Cryptography\DerSequenceReader.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\DSAOpenSsl.cs">
|
||||
<Link>Common\System\Security\Cryptography\DSAOpenSsl.cs</Link>
|
||||
</Compile>
|
||||
@ -413,12 +363,112 @@
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\RSAOpenSsl.cs">
|
||||
<Link>Common\System\Security\Cryptography\RSAOpenSsl.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Internal\Cryptography\AesImplementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\DesImplementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\HashProviderDispenser.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\OpenSslCipher.cs" />
|
||||
<Compile Include="Internal\Cryptography\RandomNumberGeneratorImplementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\RC2Implementation.Unix.cs" />
|
||||
<Compile Include="Internal\Cryptography\TripleDesImplementation.Unix.cs" />
|
||||
<Compile Include="System\Security\Cryptography\ECDsaOpenSsl.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(IsPartialFacadeAssembly)'=='true'">
|
||||
<TargetingPackReference Include="mscorlib" />
|
||||
<TargetingPackReference Include="System" />
|
||||
<TargetingPackReference Include="System.Core" />
|
||||
<Compile Include="System\Security\Cryptography\IncrementalHash.net46.cs" />
|
||||
<ItemGroup Condition=" '$(TargetsOSX)' == 'true' ">
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.CoreFoundation.cs">
|
||||
<Link>Common\Interop\OSX\Interop.CoreFoundation.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.CoreFoundation.CFArray.cs">
|
||||
<Link>Common\Interop\OSX\Interop.CoreFoundation.CFArray.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.CoreFoundation.CFData.cs">
|
||||
<Link>Common\Interop\OSX\Interop.CoreFoundation.CFData.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.CoreFoundation.CFError.cs">
|
||||
<Link>Common\Interop\OSX\Interop.CoreFoundation.CFError.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.CoreFoundation.CFString.cs">
|
||||
<Link>Common\Interop\OSX\Interop.CoreFoundation.CFString.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\Interop.Libraries.cs">
|
||||
<Link>Common\Interop\OSX\Interop.Libraries.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Digest.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Digest.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Ecc.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Ecc.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Err.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Err.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Hmac.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Hmac.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Keychain.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Keychain.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.PAL_HashAlgorithm.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.PAL_HashAlgorithm.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Random.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Random.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.RSA.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.RSA.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecErr.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecErr.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecErrMessage.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecErrMessage.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecKeyRef.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecKeyRef.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecKeyRef.Export.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.SecKeyRef.Export.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Symmetric.cs">
|
||||
<Link>Common\Interop\OSX\System.Security.Cryptography.Native.Apple\Interop.Symmetric.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeCreateHandle.OSX.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeCreateHandle.OSX.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\SafeHandleCache.cs">
|
||||
<Link>Common\Microsoft\Win32\SafeHandles\SafeHandleCache.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\DSASecurityTransforms.cs">
|
||||
<Link>Common\System\Security\Cryptography\DSASecurityTransforms.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\ECDsaSecurityTransforms.cs">
|
||||
<Link>Common\System\Security\Cryptography\ECDsaSecurityTransforms.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\KeyBlobHelpers.cs">
|
||||
<Link>Common\System\Security\Cryptography\KeyBlobHelpers.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\RSASecurityTransforms.cs">
|
||||
<Link>Common\System\Security\Cryptography\RSASecurityTransforms.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\SecKeyPair.cs">
|
||||
<Link>Common\System\Security\Cryptography\SecKeyPair.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Internal\Cryptography\AesImplementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\AppleCCCryptor.cs" />
|
||||
<Compile Include="Internal\Cryptography\DesImplementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\HashProviderDispenser.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\RandomNumberGeneratorImplementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\RC2Implementation.OSX.cs" />
|
||||
<Compile Include="Internal\Cryptography\TripleDesImplementation.OSX.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetsUnix)' == 'true'">
|
||||
<Compile Include="$(CommonPath)\Internal\Cryptography\AsymmetricAlgorithmHelpers.cs">
|
||||
<Link>Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\DerEncoder.cs">
|
||||
<Link>Common\System\Security\Cryptography\DerEncoder.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="$(CommonPath)\System\Security\Cryptography\DerSequenceReader.cs">
|
||||
<Link>Common\System\Security\Cryptography\DerSequenceReader.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System.Collections" />
|
||||
@ -435,6 +485,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetsUnix)' == 'true'">
|
||||
<Reference Include="System.Runtime.Numerics" />
|
||||
<Reference Include="System.Threading" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
|
@ -338,7 +338,7 @@ namespace System.Security.Cryptography
|
||||
|
||||
unsafe
|
||||
{
|
||||
fixed (byte* pValue = value)
|
||||
fixed (byte* pValue = &value[0])
|
||||
{
|
||||
string valueAsString = Marshal.PtrToStringUni((IntPtr)pValue);
|
||||
return valueAsString;
|
||||
|
@ -277,30 +277,6 @@ namespace System.Security.Cryptography
|
||||
// string SHA384CryptoSerivceProviderType = "System.Security.Cryptography.SHA384CryptoServiceProvider, " + AssemblyName_Csp;
|
||||
// string SHA512CryptoServiceProviderType = "System.Security.Cryptography.SHA512CryptoServiceProvider, " + AssemblyName_Csp;
|
||||
// string DpapiDataProtectorType = "System.Security.Cryptography.DpapiDataProtector, " + AssemblyRef.SystemSecurity;
|
||||
// Xml Dsig Transforms
|
||||
// First arg must match the constants defined in System.Security.Cryptography.Xml.SignedXml
|
||||
// ht.Add("http://www.w3.org/TR/2001/REC-xml-c14n-20010315", "System.Security.Cryptography.Xml.XmlDsigC14NTransform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments", "System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2001/10/xml-exc-c14n#", "System.Security.Cryptography.Xml.XmlDsigExcC14NTransform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2001/10/xml-exc-c14n#WithComments", "System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig#base64", "System.Security.Cryptography.Xml.XmlDsigBase64Transform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/TR/1999/REC-xpath-19991116", "System.Security.Cryptography.Xml.XmlDsigXPathTransform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/TR/1999/REC-xslt-19991116", "System.Security.Cryptography.Xml.XmlDsigXsltTransform, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig#enveloped-signature", "System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform, " + AssemblyRef.SystemSecurity);
|
||||
// the decryption transform
|
||||
// ht.Add("http://www.w3.org/2002/07/decrypt#XML", "System.Security.Cryptography.Xml.XmlDecryptionTransform, " + AssemblyRef.SystemSecurity);
|
||||
// Xml licence transform.
|
||||
// ht.Add("urn:mpeg:mpeg21:2003:01-REL-R-NS:licenseTransform", "System.Security.Cryptography.Xml.XmlLicenseTransform, " + AssemblyRef.SystemSecurity);
|
||||
// Xml Dsig KeyInfo
|
||||
// First arg (the key) is formed as elem.NamespaceURI + " " + elem.LocalName
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig# X509Data", "System.Security.Cryptography.Xml.KeyInfoX509Data, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig# KeyName", "System.Security.Cryptography.Xml.KeyInfoName, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig# KeyValue/DSAKeyValue", "System.Security.Cryptography.Xml.DSAKeyValue, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig# KeyValue/RSAKeyValue", "System.Security.Cryptography.Xml.RSAKeyValue, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2000/09/xmldsig# RetrievalMethod", "System.Security.Cryptography.Xml.KeyInfoRetrievalMethod, " + AssemblyRef.SystemSecurity);
|
||||
// Xml EncryptedKey
|
||||
// ht.Add("http://www.w3.org/2001/04/xmlenc# EncryptedKey", "System.Security.Cryptography.Xml.KeyInfoEncryptedKey, " + AssemblyRef.SystemSecurity);
|
||||
// ht.Add("http://www.w3.org/2001/04/xmldsig-more#hmac-ripemd160", HMACRIPEMD160Type);
|
||||
}
|
||||
}
|
||||
|
||||
@ -396,7 +372,7 @@ namespace System.Security.Cryptography
|
||||
null,
|
||||
out state) as ConstructorInfo;
|
||||
|
||||
// Check for ctor we don't like (non-existant, delegate or decorated with declarative linktime demand).
|
||||
// Check for ctor we don't like (non-existent, delegate or decorated with declarative linktime demand).
|
||||
if (rci == null || typeof(Delegate).IsAssignableFrom(rci.DeclaringType))
|
||||
{
|
||||
return null;
|
||||
@ -452,14 +428,14 @@ namespace System.Security.Cryptography
|
||||
uint[] oidNums = new uint[oidString.Length];
|
||||
for (int i = 0; i < oidString.Length; i++)
|
||||
{
|
||||
oidNums[i] = (uint)int.Parse(oidString[i], CultureInfo.InvariantCulture);
|
||||
oidNums[i] = unchecked((uint)int.Parse(oidString[i], CultureInfo.InvariantCulture));
|
||||
}
|
||||
|
||||
// Handle the first two oidNums special
|
||||
if (oidNums.Length < 2)
|
||||
throw new CryptographicUnexpectedOperationException(SR.Cryptography_InvalidOID);
|
||||
|
||||
uint firstTwoOidNums = (oidNums[0] * 40) + oidNums[1];
|
||||
uint firstTwoOidNums = unchecked((oidNums[0] * 40) + oidNums[1]);
|
||||
|
||||
// Determine length of output array
|
||||
int encodedOidNumsLength = 2; // Reserve first two bytes for later
|
||||
@ -500,7 +476,7 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
if (destination != null)
|
||||
{
|
||||
destination[index++] = (byte)value;
|
||||
destination[index++] = unchecked((byte)value);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -523,9 +499,12 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
if (destination != null)
|
||||
{
|
||||
destination[index++] = (byte)((value >> 14) | 0x80);
|
||||
destination[index++] = (byte)((value >> 7) | 0x80);
|
||||
destination[index++] = (byte)(value & 0x7f);
|
||||
unchecked
|
||||
{
|
||||
destination[index++] = (byte)((value >> 14) | 0x80);
|
||||
destination[index++] = (byte)((value >> 7) | 0x80);
|
||||
destination[index++] = (byte)(value & 0x7f);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -536,10 +515,13 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
if (destination != null)
|
||||
{
|
||||
destination[index++] = (byte)((value >> 21) | 0x80);
|
||||
destination[index++] = (byte)((value >> 14) | 0x80);
|
||||
destination[index++] = (byte)((value >> 7) | 0x80);
|
||||
destination[index++] = (byte)(value & 0x7f);
|
||||
unchecked
|
||||
{
|
||||
destination[index++] = (byte)((value >> 21) | 0x80);
|
||||
destination[index++] = (byte)((value >> 14) | 0x80);
|
||||
destination[index++] = (byte)((value >> 7) | 0x80);
|
||||
destination[index++] = (byte)(value & 0x7f);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -550,11 +532,14 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
if (destination != null)
|
||||
{
|
||||
destination[index++] = (byte)((value >> 28) | 0x80);
|
||||
destination[index++] = (byte)((value >> 21) | 0x80);
|
||||
destination[index++] = (byte)((value >> 14) | 0x80);
|
||||
destination[index++] = (byte)((value >> 7) | 0x80);
|
||||
destination[index++] = (byte)(value & 0x7f);
|
||||
unchecked
|
||||
{
|
||||
destination[index++] = (byte)((value >> 28) | 0x80);
|
||||
destination[index++] = (byte)((value >> 21) | 0x80);
|
||||
destination[index++] = (byte)((value >> 14) | 0x80);
|
||||
destination[index++] = (byte)((value >> 7) | 0x80);
|
||||
destination[index++] = (byte)(value & 0x7f);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -19,6 +19,7 @@ namespace System.Security.Cryptography
|
||||
return new ECDsaImplementation.ECDsaCng();
|
||||
}
|
||||
|
||||
#if !uap
|
||||
/// <summary>
|
||||
/// Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
|
||||
/// </summary>
|
||||
@ -29,6 +30,7 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
return new ECDsaImplementation.ECDsaCng(curve);
|
||||
}
|
||||
#endif // uap
|
||||
|
||||
/// <summary>
|
||||
/// Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
|
||||
|
@ -11,8 +11,27 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
public class Rfc2898DeriveBytes : DeriveBytes
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA5350", Justification = "HMACSHA1 is needed for compat. (https://github.com/dotnet/corefx/issues/9438)")]
|
||||
private const int MinimumSaltSize = 8;
|
||||
|
||||
private readonly byte[] _password;
|
||||
private byte[] _salt;
|
||||
private uint _iterations;
|
||||
private HMAC _hmac;
|
||||
private int _blockSize;
|
||||
|
||||
private byte[] _buffer;
|
||||
private uint _block;
|
||||
private int _startIndex;
|
||||
private int _endIndex;
|
||||
|
||||
public HashAlgorithmName HashAlgorithm { get; }
|
||||
|
||||
public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations)
|
||||
: this(password, salt, iterations, HashAlgorithmName.SHA1)
|
||||
{
|
||||
}
|
||||
|
||||
public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm)
|
||||
{
|
||||
if (salt == null)
|
||||
throw new ArgumentNullException(nameof(salt));
|
||||
@ -26,7 +45,10 @@ namespace System.Security.Cryptography
|
||||
_salt = salt.CloneByteArray();
|
||||
_iterations = (uint)iterations;
|
||||
_password = password.CloneByteArray();
|
||||
_hmacSha1 = new HMACSHA1(_password);
|
||||
HashAlgorithm = hashAlgorithm;
|
||||
_hmac = OpenHmac();
|
||||
// _blockSize is in bytes, HashSize is in bits.
|
||||
_blockSize = _hmac.HashSize >> 3;
|
||||
|
||||
Initialize();
|
||||
}
|
||||
@ -37,7 +59,12 @@ namespace System.Security.Cryptography
|
||||
}
|
||||
|
||||
public Rfc2898DeriveBytes(string password, byte[] salt, int iterations)
|
||||
: this(Encoding.UTF8.GetBytes(password), salt, iterations)
|
||||
: this(password, salt, iterations, HashAlgorithmName.SHA1)
|
||||
{
|
||||
}
|
||||
|
||||
public Rfc2898DeriveBytes(string password, byte[] salt, int iterations, HashAlgorithmName hashAlgorithm)
|
||||
: this(Encoding.UTF8.GetBytes(password), salt, iterations, hashAlgorithm)
|
||||
{
|
||||
}
|
||||
|
||||
@ -46,8 +73,12 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
}
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA5350", Justification = "HMACSHA1 is needed for compat. (https://github.com/dotnet/corefx/issues/9438)")]
|
||||
public Rfc2898DeriveBytes(string password, int saltSize, int iterations)
|
||||
: this(password, saltSize, iterations, HashAlgorithmName.SHA1)
|
||||
{
|
||||
}
|
||||
|
||||
public Rfc2898DeriveBytes(string password, int saltSize, int iterations, HashAlgorithmName hashAlgorithm)
|
||||
{
|
||||
if (saltSize < 0)
|
||||
throw new ArgumentOutOfRangeException(nameof(saltSize), SR.ArgumentOutOfRange_NeedNonNegNum);
|
||||
@ -59,7 +90,10 @@ namespace System.Security.Cryptography
|
||||
_salt = Helpers.GenerateRandom(saltSize);
|
||||
_iterations = (uint)iterations;
|
||||
_password = Encoding.UTF8.GetBytes(password);
|
||||
_hmacSha1 = new HMACSHA1(_password);
|
||||
HashAlgorithm = hashAlgorithm;
|
||||
_hmac = OpenHmac();
|
||||
// _blockSize is in bytes, HashSize is in bits.
|
||||
_blockSize = _hmac.HashSize >> 3;
|
||||
|
||||
Initialize();
|
||||
}
|
||||
@ -102,9 +136,12 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
if (_hmacSha1 != null)
|
||||
_hmacSha1.Dispose();
|
||||
_hmacSha1 = null;
|
||||
if (_hmac != null)
|
||||
{
|
||||
_hmac.Dispose();
|
||||
_hmac = null;
|
||||
}
|
||||
|
||||
if (_buffer != null)
|
||||
Array.Clear(_buffer, 0, _buffer.Length);
|
||||
if (_password != null)
|
||||
@ -117,6 +154,8 @@ namespace System.Security.Cryptography
|
||||
|
||||
public override byte[] GetBytes(int cb)
|
||||
{
|
||||
Debug.Assert(_blockSize > 0);
|
||||
|
||||
if (cb <= 0)
|
||||
throw new ArgumentOutOfRangeException(nameof(cb), SR.ArgumentOutOfRange_NeedPosNum);
|
||||
byte[] password = new byte[cb];
|
||||
@ -145,17 +184,17 @@ namespace System.Security.Cryptography
|
||||
{
|
||||
byte[] T_block = Func();
|
||||
int remainder = cb - offset;
|
||||
if (remainder > BlockSize)
|
||||
if (remainder > _blockSize)
|
||||
{
|
||||
Buffer.BlockCopy(T_block, 0, password, offset, BlockSize);
|
||||
offset += BlockSize;
|
||||
Buffer.BlockCopy(T_block, 0, password, offset, _blockSize);
|
||||
offset += _blockSize;
|
||||
}
|
||||
else
|
||||
{
|
||||
Buffer.BlockCopy(T_block, 0, password, offset, remainder);
|
||||
offset += remainder;
|
||||
Buffer.BlockCopy(T_block, remainder, _buffer, _startIndex, BlockSize - remainder);
|
||||
_endIndex += (BlockSize - remainder);
|
||||
Buffer.BlockCopy(T_block, remainder, _buffer, _startIndex, _blockSize - remainder);
|
||||
_endIndex += (_blockSize - remainder);
|
||||
return password;
|
||||
}
|
||||
}
|
||||
@ -178,11 +217,33 @@ namespace System.Security.Cryptography
|
||||
Initialize();
|
||||
}
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA5350", Justification = "HMACSHA1 is needed for compat. (https://github.com/dotnet/corefx/issues/9438)")]
|
||||
private HMAC OpenHmac()
|
||||
{
|
||||
Debug.Assert(_password != null);
|
||||
|
||||
HashAlgorithmName hashAlgorithm = HashAlgorithm;
|
||||
|
||||
if (string.IsNullOrEmpty(hashAlgorithm.Name))
|
||||
throw new CryptographicException(SR.Cryptography_HashAlgorithmNameNullOrEmpty);
|
||||
|
||||
if (hashAlgorithm == HashAlgorithmName.SHA1)
|
||||
return new HMACSHA1(_password);
|
||||
if (hashAlgorithm == HashAlgorithmName.SHA256)
|
||||
return new HMACSHA256(_password);
|
||||
if (hashAlgorithm == HashAlgorithmName.SHA384)
|
||||
return new HMACSHA384(_password);
|
||||
if (hashAlgorithm == HashAlgorithmName.SHA512)
|
||||
return new HMACSHA512(_password);
|
||||
|
||||
throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name));
|
||||
}
|
||||
|
||||
private void Initialize()
|
||||
{
|
||||
if (_buffer != null)
|
||||
Array.Clear(_buffer, 0, _buffer.Length);
|
||||
_buffer = new byte[BlockSize];
|
||||
_buffer = new byte[_blockSize];
|
||||
_block = 1;
|
||||
_startIndex = _endIndex = 0;
|
||||
}
|
||||
@ -196,14 +257,14 @@ namespace System.Security.Cryptography
|
||||
Buffer.BlockCopy(_salt, 0, temp, 0, _salt.Length);
|
||||
Helpers.WriteInt(_block, temp, _salt.Length);
|
||||
|
||||
temp = _hmacSha1.ComputeHash(temp);
|
||||
temp = _hmac.ComputeHash(temp);
|
||||
|
||||
byte[] ret = temp;
|
||||
for (int i = 2; i <= _iterations; i++)
|
||||
{
|
||||
temp = _hmacSha1.ComputeHash(temp);
|
||||
temp = _hmac.ComputeHash(temp);
|
||||
|
||||
for (int j = 0; j < BlockSize; j++)
|
||||
for (int j = 0; j < _blockSize; j++)
|
||||
{
|
||||
ret[j] ^= temp[j];
|
||||
}
|
||||
@ -213,18 +274,5 @@ namespace System.Security.Cryptography
|
||||
_block++;
|
||||
return ret;
|
||||
}
|
||||
|
||||
private readonly byte[] _password;
|
||||
private byte[] _salt;
|
||||
private uint _iterations;
|
||||
private HMACSHA1 _hmacSha1;
|
||||
|
||||
private byte[] _buffer;
|
||||
private uint _block;
|
||||
private int _startIndex;
|
||||
private int _endIndex;
|
||||
|
||||
private const int BlockSize = 20;
|
||||
private const int MinimumSaltSize = 8;
|
||||
}
|
||||
}
|
||||
|
@ -2,10 +2,10 @@
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netstandard1.6-Unix;
|
||||
netstandard1.6-Windows_NT;
|
||||
netstandard-Unix;
|
||||
netstandard-Windows_NT;
|
||||
netcoreapp-Windows_NT;
|
||||
netcoreapp-Unix;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -22,9 +22,11 @@ namespace System.Security.Cryptography.Dsa.Tests
|
||||
{
|
||||
get
|
||||
{
|
||||
return (!PlatformDetection.IsWindows7);
|
||||
return !(PlatformDetection.IsWindows7 || PlatformDetection.IsOSX);
|
||||
}
|
||||
}
|
||||
|
||||
public bool SupportsKeyGeneration => !PlatformDetection.IsOSX;
|
||||
}
|
||||
|
||||
public partial class DSAFactory
|
||||
|
@ -32,6 +32,10 @@ namespace System.Security.Cryptography.EcDsa.Tests
|
||||
// Friendly name required for windows
|
||||
return NativeOidFriendlyNameExists(oid.FriendlyName);
|
||||
}
|
||||
if (PlatformDetection.IsOSX)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(oid.Value))
|
||||
{
|
||||
// Value is passed before FriendlyName
|
||||
@ -48,6 +52,12 @@ namespace System.Security.Cryptography.EcDsa.Tests
|
||||
{
|
||||
return PlatformDetection.WindowsVersion >= 10;
|
||||
}
|
||||
|
||||
if (PlatformDetection.IsOSX)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
Assert.Equal(expected, actual);
|
||||
}
|
||||
|
||||
#if netstandard17
|
||||
private void VerifyICryptoTransformStream(Stream input, string output)
|
||||
{
|
||||
byte[] expected = ByteUtils.HexToByteArray(output);
|
||||
@ -53,11 +52,9 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
|
||||
Assert.Equal(expected, actual);
|
||||
}
|
||||
#endif
|
||||
|
||||
protected void VerifyMultiBlock(string block1, string block2, string expectedHash, string emptyHash)
|
||||
{
|
||||
#if netstandard17
|
||||
byte[] block1_bytes = ByteUtils.AsciiBytes(block1);
|
||||
byte[] block2_bytes = ByteUtils.AsciiBytes(block2);
|
||||
byte[] expected_bytes = ByteUtils.HexToByteArray(expectedHash);
|
||||
@ -66,10 +63,8 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
VerifyTransformBlockOutput(block1_bytes, block2_bytes);
|
||||
VerifyTransformBlockHash(block1_bytes, block2_bytes, expected_bytes, emptyHash_bytes);
|
||||
VerifyTransformBlockComputeHashInteraction(block1_bytes, block2_bytes, expected_bytes, emptyHash_bytes);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if netstandard17
|
||||
private void VerifyTransformBlockOutput(byte[] block1, byte[] block2)
|
||||
{
|
||||
using (HashAlgorithm hash = Create())
|
||||
@ -195,7 +190,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
Assert.Throws<ArgumentException>(null, () => hash.TransformFinalBlock(Array.Empty<byte>(), 0, 1));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
protected void Verify(byte[] input, string output)
|
||||
{
|
||||
@ -209,10 +203,8 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
|
||||
Assert.Equal(expected, actual);
|
||||
|
||||
#if netstandard17
|
||||
actual = hash.Hash;
|
||||
Assert.Equal(expected, actual);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -223,12 +215,10 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
VerifyComputeHashStream(stream, output);
|
||||
}
|
||||
|
||||
#if netstandard17
|
||||
using (Stream stream = new DataRepeatingStream(input, repeatCount))
|
||||
{
|
||||
VerifyICryptoTransformStream(stream, output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -47,7 +47,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
using (HMACSHA1 h1 = new HMACSHA1(key))
|
||||
{
|
||||
VerifyHmac_KeyAlreadySet(h1, 1, digest);
|
||||
#if netstandard17
|
||||
using (HMACSHA1 h2 = new HMACSHA1(key, true))
|
||||
{
|
||||
VerifyHmac_KeyAlreadySet(h2, 1, digest);
|
||||
@ -58,7 +57,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
VerifyHmac_KeyAlreadySet(h1, 1, digest);
|
||||
Assert.Equal(h1.Key, h2.Key);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
|
||||
protected override int BlockSize { get { return 128; } }
|
||||
|
||||
#if netstandard17
|
||||
[Fact]
|
||||
public void ProduceLegacyHmacValues()
|
||||
{
|
||||
@ -31,7 +30,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
Assert.Throws<PlatformNotSupportedException>(() => h.ProduceLegacyHmacValues = true);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[Fact]
|
||||
public void HmacSha384_Rfc4231_1()
|
||||
|
@ -20,7 +20,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
|
||||
protected override int BlockSize { get { return 128; } }
|
||||
|
||||
#if netstandard17
|
||||
[Fact]
|
||||
public void ProduceLegacyHmacValues()
|
||||
{
|
||||
@ -31,7 +30,6 @@ namespace System.Security.Cryptography.Hashing.Algorithms.Tests
|
||||
Assert.Throws<PlatformNotSupportedException>(() => h.ProduceLegacyHmacValues = true);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[Fact]
|
||||
public void HmacSha512_Rfc4231_1()
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user