From 078e68880f6ea34e3831156cef57f05059d13aac Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Thu, 10 Jul 2025 18:37:45 +0900 Subject: [PATCH 01/12] 1st commit in dotnet10 branch. --- .../Business/Business_netcore100.csproj | 91 +++++++++++++++ .../Business.RichClient_netcore100.csproj | 66 +++++++++++ ...CustomControl.RichClient_netcore100.csproj | 54 +++++++++ .../Framework/Framework_netcore100.csproj | 67 +++++++++++ .../Framework.RichClient_netcore100.csproj | 44 +++++++ .../DamManagedOdp_netcore100.csproj | 41 +++++++ .../Db/DamMySQL/DamMySQL_netcore100.csproj | 41 +++++++ .../Db/DamPstGrS/DamPstGrS_netcore100.csproj | 41 +++++++ .../Public/Public_netcore100.csproj | 108 ++++++++++++++++++ .../Public.Security_netcore100.csproj | 56 +++++++++ 10 files changed, 609 insertions(+) create mode 100644 root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj create mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj new file mode 100644 index 000000000..a9967dfbf --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj @@ -0,0 +1,91 @@ + + + + net8.0 + Touryo.Infrastructure.Business + OpenTouryo.Business + true + + + + TRACE;DEBUG;NETCOREAPP + ..\Build_netcore80\ + ..\Build_netcore80\net8.0\OpenTouryo.Business.xml + full + true + 1701;1702;NU1701 + + + + TRACE;NETCOREAPP + ..\Build_netcore80\ + ..\Build_netcore80\net8.0\OpenTouryo.Business.xml + portable + true + 1701;1702;NU1701 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + + + ..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + + + ..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + + + ..\Build_netcore80\net8.0\OpenTouryo.Framework.dll + + + ..\Build_netcore80\net8.0\OpenTouryo.Public.dll + + + ..\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + + + + diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj new file mode 100644 index 000000000..ad1a73ea3 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj @@ -0,0 +1,66 @@ + + + + Library + net8.0-windows7.0 + true + true + OpenTouryo.Business.RichClient + Touryo.Infrastructure.Business.RichClient + + + + TRACE;NETCOREAPP + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.xml + full + true + 1701;1702;NU1701 + + + + TRACE;NETCOREAPP + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.xml + portable + true + 1701;1702;NU1701 + + + + + + + + + ..\..\Build_netcore80\net8.0\OpenTouryo.Business.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.Framework.dll + + + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.Public.dll + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj new file mode 100644 index 000000000..3588dc555 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj @@ -0,0 +1,54 @@ + + + + Library + net8.0-windows7.0 + true + true + OpenTouryo.CustomControl.RichClient + Touryo.Infrastructure.CustomControl.RichClient + + + + TRACE;NETCOREAPP + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml + full + true + 1701;1702;NU1701 + + + + TRACE;NETCOREAPP + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml + portable + true + 1701;1702;NU1701 + + + + + + + + + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.Framework.dll + + + ..\..\Build_netcore80\net8.0\OpenTouryo.Public.dll + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj new file mode 100644 index 000000000..95b73674b --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj @@ -0,0 +1,67 @@ + + + + net8.0 + Touryo.Infrastructure.Framework + OpenTouryo.Framework + 3.0.0.0 + Hitachi Solutions + + + + TRACE;DEBUG; + ..\Build_netcore80\ + ..\Build_netcore80\net8.0\OpenTouryo.Framework.xml + full + true + + + + TRACE;NETSTD + ..\Build_netcore80\ + ..\Build_netcore80\net8.0\OpenTouryo.Framework.xml + portable + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj new file mode 100644 index 000000000..dcefa514b --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj @@ -0,0 +1,44 @@ + + + + Library + net8.0-windows7.0 + true + true + + + Touryo.Infrastructure.Framework.RichClient + OpenTouryo.Framework.RichClient + 3.0.0.0 + + + + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.xml + full + true + TRACE;NETCOREAPP + + + + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.xml + portable + true + TRACE;NETCOREAPP + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj new file mode 100644 index 000000000..16c4e202b --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj @@ -0,0 +1,41 @@ + + + net8.0 + OpenTouryo.DamManagedOdp + Touryo.Infrastructure.Public.Db + 3.0.0.0 + Hitachi Solutions + + + + TRACE;DEBUG;NETSTD + ..\..\..\Build_netcore80\ + ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.xml + full + true + + + + TRACE;NETSTD + ..\..\..\Build_netcore80\ + ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.xml + portable + true + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj new file mode 100644 index 000000000..be58442b5 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj @@ -0,0 +1,41 @@ + + + net8.0 + OpenTouryo.DamMySQL + Touryo.Infrastructure.Public.Db + 3.0.0.0 + Hitachi Solutions + + + + TRACE;DEBUG;NETSTD + ..\..\..\Build_netcore80\ + ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.xml + full + true + + + + TRACE;NETSTD + ..\..\..\Build_netcore80\ + ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.xml + portable + true + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj new file mode 100644 index 000000000..d571c7d62 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj @@ -0,0 +1,41 @@ + + + net8.0 + OpenTouryo.DamPstGrS + Touryo.Infrastructure.Public.Db + 3.0.0.0 + Hitachi Solutions + + + + TRACE;DEBUG;NETSTD + ..\..\..\Build_netcore80\ + ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.xml + full + true + + + + TRACE;NETSTD + ..\..\..\Build_netcore80\ + ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.xml + portable + true + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj new file mode 100644 index 000000000..57ae6897d --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj @@ -0,0 +1,108 @@ + + + + net8.0 + OpenTouryo.Public + Touryo.Infrastructure.Public + 3.0.0.0 + Hitachi Solutions + + + + $(DefineConstants);NETCOREAPP + ..\Build_netcore80\ + ..\Build_netcore80\net8.0\OpenTouryo.Public.xml + full + true + + + + TRACE;NETCOREAPP + ..\Build_netcore80\ + ..\Build_netcore80\net8.0\OpenTouryo.Public.xml + portable + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj new file mode 100644 index 000000000..e507eb928 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj @@ -0,0 +1,56 @@ + + + + net8.0 + OpenTouryo.Public.Security + Touryo.Infrastructure.Public.Security + 3.0.0.0 + Hitachi Solutions + + + + TRACE;DEBUG;NETSTD + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0\OpenTouryo.Public.Security.xml + full + true + + + + TRACE;NETSTD + ..\..\Build_netcore80\ + ..\..\Build_netcore80\net8.0\OpenTouryo.Public.Security.xml + portable + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From bd85b3c0f0079afce527fe34fe4023b88d22d23e Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Fri, 11 Jul 2025 11:50:54 +0900 Subject: [PATCH 02/12] 2nd commit in dotnet10 branch. --- .../programs/CS/2_Build_NuGet_nettcore100.bat | 30 ++++++++++ .../3_Build_BusinessRichClient_netcore100.bat | 27 +++++++++ .../CS/3_Build_Business_netcore100.bat | 27 +++++++++ .../Business/Business_netcore100.csproj | 22 ++++---- .../Business.RichClient_netcore100.csproj | 24 ++++---- .../BusinessRichClient_netcore100.sln | 31 +++++++++++ .../Infrastructure/Business_netcore100.sln | 25 +++++++++ ...CustomControl.RichClient_netcore100.csproj | 16 +++--- .../Framework/Framework_netcore100.csproj | 14 ++--- .../Framework.RichClient_netcore100.csproj | 14 ++--- .../Nuget_RichClient_netcore100.sln | 37 +++++++++++++ .../Infrastructure/Nuget_netcore100.sln | 55 +++++++++++++++++++ .../DamManagedOdp_netcore100.csproj | 12 ++-- .../Db/DamMySQL/DamMySQL_netcore100.csproj | 12 ++-- .../Db/DamPstGrS/DamPstGrS_netcore100.csproj | 12 ++-- .../Public/Public_netcore100.csproj | 10 ++-- .../Public.Security_netcore100.csproj | 12 ++-- 17 files changed, 306 insertions(+), 74 deletions(-) create mode 100644 root/programs/CS/2_Build_NuGet_nettcore100.bat create mode 100644 root/programs/CS/3_Build_BusinessRichClient_netcore100.bat create mode 100644 root/programs/CS/3_Build_Business_netcore100.bat create mode 100644 root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln create mode 100644 root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln create mode 100644 root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln create mode 100644 root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln diff --git a/root/programs/CS/2_Build_NuGet_nettcore100.bat b/root/programs/CS/2_Build_NuGet_nettcore100.bat new file mode 100644 index 000000000..09511489a --- /dev/null +++ b/root/programs/CS/2_Build_NuGet_nettcore100.bat @@ -0,0 +1,30 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Build the batch Infrastructure +rem -------------------------------------------------- +call dotnet restore "Frameworks\Infrastructure\Nuget_netcore100.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Nuget_netcore100.sln" + +call dotnet restore "Frameworks\Infrastructure\Nuget_RichClient_netcore100.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Nuget_RichClient_netcore100.sln" + +pause + +rem ------------------------------------------------------- +endlocal \ No newline at end of file diff --git a/root/programs/CS/3_Build_BusinessRichClient_netcore100.bat b/root/programs/CS/3_Build_BusinessRichClient_netcore100.bat new file mode 100644 index 000000000..ceee461c5 --- /dev/null +++ b/root/programs/CS/3_Build_BusinessRichClient_netcore100.bat @@ -0,0 +1,27 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Build the batch Infrastructure +rem -------------------------------------------------- +call dotnet restore "Frameworks\Infrastructure\BusinessRichClient_netcore100.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\BusinessRichClient_netcore100.sln" + +pause + +rem ------------------------------------------------------- +endlocal \ No newline at end of file diff --git a/root/programs/CS/3_Build_Business_netcore100.bat b/root/programs/CS/3_Build_Business_netcore100.bat new file mode 100644 index 000000000..02a4e126d --- /dev/null +++ b/root/programs/CS/3_Build_Business_netcore100.bat @@ -0,0 +1,27 @@ +setlocal + +@rem -------------------------------------------------- +@rem Turn off the echo function. +@rem -------------------------------------------------- +@echo off + +@rem -------------------------------------------------- +@rem Get the path to the executable file. +@rem -------------------------------------------------- +set CURRENT_DIR="%~dp0" + +@rem -------------------------------------------------- +@rem Execution of the common processing. +@rem -------------------------------------------------- +call %CURRENT_DIR%z_Common.bat + +rem -------------------------------------------------- +rem Build the batch Infrastructure +rem -------------------------------------------------- +call dotnet restore "Frameworks\Infrastructure\Business_netcore100.sln" +call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Business_netcore100.sln" + +pause + +rem ------------------------------------------------------- +endlocal \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj index a9967dfbf..436310300 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore100.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 Touryo.Infrastructure.Business OpenTouryo.Business true @@ -9,8 +9,8 @@ TRACE;DEBUG;NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Business.xml + ..\Build_netcore100\ + ..\Build_netcore100\net10.0\OpenTouryo.Business.xml full true 1701;1702;NU1701 @@ -18,8 +18,8 @@ TRACE;NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Business.xml + ..\Build_netcore100\ + ..\Build_netcore100\net10.0\OpenTouryo.Business.xml portable true 1701;1702;NU1701 @@ -69,22 +69,22 @@ - ..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\Build_netcore100\net10.0\OpenTouryo.Public.dll - ..\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + ..\Build_netcore100\net10.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj index ad1a73ea3..4bb7b8abd 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj @@ -2,7 +2,7 @@ Library - net8.0-windows7.0 + net10.0-windows7.0 true true OpenTouryo.Business.RichClient @@ -11,8 +11,8 @@ TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.xml full true 1701;1702;NU1701 @@ -20,8 +20,8 @@ TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.xml portable true 1701;1702;NU1701 @@ -33,25 +33,25 @@ - ..\..\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln new file mode 100644 index 000000000..e9c23c6a2 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business.RichClient_netcore100", "Business\RichClient\Business.RichClient_netcore100.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomControl.RichClient_netcore100", "CustomControl\RichClient\CustomControl.RichClient_netcore100.csproj", "{7F43B77D-7B02-4C18-94CC-4B1348CDEB57}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.Build.0 = Release|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F8E24A69-525F-46B8-B01A-3223411B148E} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln new file mode 100644 index 000000000..3a48ed0fb --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business_netcore100", "Business\Business_netcore100.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {87C03805-26A4-452B-97C7-2C8598722DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {87C03805-26A4-452B-97C7-2C8598722DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {87C03805-26A4-452B-97C7-2C8598722DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {87C03805-26A4-452B-97C7-2C8598722DDE}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2FF75561-B8E7-4F22-A5F7-E967511FD51B} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj index 3588dc555..b5c493d2e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj @@ -2,7 +2,7 @@ Library - net8.0-windows7.0 + net10.0-windows7.0 true true OpenTouryo.CustomControl.RichClient @@ -11,8 +11,8 @@ TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml full true 1701;1702;NU1701 @@ -20,8 +20,8 @@ TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml portable true 1701;1702;NU1701 @@ -33,13 +33,13 @@ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj index 95b73674b..341329c45 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 Touryo.Infrastructure.Framework OpenTouryo.Framework 3.0.0.0 @@ -10,16 +10,16 @@ TRACE;DEBUG; - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Framework.xml + ..\Build_netcore100\ + ..\Build_netcore100\net10.0\OpenTouryo.Framework.xml full true TRACE;NETSTD - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Framework.xml + ..\Build_netcore100\ + ..\Build_netcore100\net10.0\OpenTouryo.Framework.xml portable true @@ -60,8 +60,8 @@ - - + + diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj index dcefa514b..727448c34 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore100.csproj @@ -2,7 +2,7 @@ Library - net8.0-windows7.0 + net10.0-windows7.0 true true @@ -13,16 +13,16 @@ - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.xml full true TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.xml portable true TRACE;NETCOREAPP @@ -37,8 +37,8 @@ - - + + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln new file mode 100644 index 000000000..5b2d02c40 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32126.317 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework.RichClient_netcore100", "Framework\RichClient\Framework.RichClient_netcore100.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Public_netcore100", "Public\Public_netcore100.csproj", "{B7B97B7C-B8A2-44CC-AB00-107D634A45E7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework_netcore100", "Framework\Framework_netcore100.csproj", "{D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.Build.0 = Release|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Release|Any CPU.Build.0 = Release|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F8E24A69-525F-46B8-B01A-3223411B148E} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln new file mode 100644 index 000000000..96ab2adc3 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln @@ -0,0 +1,55 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.13.35931.197 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Public_netcore100", "Public\Public_netcore100.csproj", "{603EB991-F629-4207-A45C-A7979F0B27F8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Public.Security_netcore100", "Public\Security\Public.Security_netcore100.csproj", "{140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework_netcore100", "Framework\Framework_netcore100.csproj", "{FA092A28-3954-D33E-69C3-EDFD83BECB3D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamManagedOdp_netcore100", "Public\Db\DamManagedOdp\DamManagedOdp_netcore100.csproj", "{91F656A8-2AC1-291F-38C1-E4D63B55A2E7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamMySQL_netcore100", "Public\Db\DamMySQL\DamMySQL_netcore100.csproj", "{C8D6A524-2855-3573-005C-7C1BC95A758E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamPstGrS_netcore100", "Public\Db\DamPstGrS\DamPstGrS_netcore100.csproj", "{00EB689D-08F5-6996-C459-F81B654229AF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {603EB991-F629-4207-A45C-A7979F0B27F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {603EB991-F629-4207-A45C-A7979F0B27F8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {603EB991-F629-4207-A45C-A7979F0B27F8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {603EB991-F629-4207-A45C-A7979F0B27F8}.Release|Any CPU.Build.0 = Release|Any CPU + {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Release|Any CPU.Build.0 = Release|Any CPU + {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Release|Any CPU.Build.0 = Release|Any CPU + {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Release|Any CPU.Build.0 = Release|Any CPU + {C8D6A524-2855-3573-005C-7C1BC95A758E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C8D6A524-2855-3573-005C-7C1BC95A758E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C8D6A524-2855-3573-005C-7C1BC95A758E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C8D6A524-2855-3573-005C-7C1BC95A758E}.Release|Any CPU.Build.0 = Release|Any CPU + {00EB689D-08F5-6996-C459-F81B654229AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00EB689D-08F5-6996-C459-F81B654229AF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00EB689D-08F5-6996-C459-F81B654229AF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00EB689D-08F5-6996-C459-F81B654229AF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2FF75561-B8E7-4F22-A5F7-E967511FD51B} + EndGlobalSection +EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj index 16c4e202b..0b0636512 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore100.csproj @@ -1,6 +1,6 @@  - net8.0 + net10.0 OpenTouryo.DamManagedOdp Touryo.Infrastructure.Public.Db 3.0.0.0 @@ -9,16 +9,16 @@ TRACE;DEBUG;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.xml + ..\..\..\Build_netcore100\ + ..\..\..\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.xml full true TRACE;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.xml + ..\..\..\Build_netcore100\ + ..\..\..\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.xml portable true @@ -36,6 +36,6 @@ - + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj index be58442b5..30379dd39 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore100.csproj @@ -1,6 +1,6 @@  - net8.0 + net10.0 OpenTouryo.DamMySQL Touryo.Infrastructure.Public.Db 3.0.0.0 @@ -9,16 +9,16 @@ TRACE;DEBUG;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.xml + ..\..\..\Build_netcore100\ + ..\..\..\Build_netcore100\net10.0\OpenTouryo.DamMySQL.xml full true TRACE;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.xml + ..\..\..\Build_netcore100\ + ..\..\..\Build_netcore100\net10.0\OpenTouryo.DamMySQL.xml portable true @@ -33,7 +33,7 @@ - + diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj index d571c7d62..fbb9b1028 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore100.csproj @@ -1,6 +1,6 @@  - net8.0 + net10.0 OpenTouryo.DamPstGrS Touryo.Infrastructure.Public.Db 3.0.0.0 @@ -9,16 +9,16 @@ TRACE;DEBUG;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.xml + ..\..\..\Build_netcore100\ + ..\..\..\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.xml full true TRACE;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.xml + ..\..\..\Build_netcore100\ + ..\..\..\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.xml portable true @@ -33,7 +33,7 @@ - + diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj index 57ae6897d..b427dae5d 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 OpenTouryo.Public Touryo.Infrastructure.Public 3.0.0.0 @@ -10,16 +10,16 @@ $(DefineConstants);NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Public.xml + ..\Build_netcore100\ + ..\Build_netcore100\net10.0\OpenTouryo.Public.xml full true TRACE;NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Public.xml + ..\Build_netcore100\ + ..\Build_netcore100\net10.0\OpenTouryo.Public.xml portable true diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj index e507eb928..ea764230d 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 OpenTouryo.Public.Security Touryo.Infrastructure.Public.Security 3.0.0.0 @@ -10,16 +10,16 @@ TRACE;DEBUG;NETSTD - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.Security.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0\OpenTouryo.Public.Security.xml full true TRACE;NETSTD - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.Security.xml + ..\..\Build_netcore100\ + ..\..\Build_netcore100\net10.0\OpenTouryo.Public.Security.xml portable true @@ -50,7 +50,7 @@ - + From 47f3f56f7f8fa0f6c2f5da533e2cb70788477296 Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Fri, 1 Aug 2025 17:54:47 +0900 Subject: [PATCH 03/12] 3rd commit for crypt of sec in dotnet10 branch. --- .../Framework/Authentication/IdToken.cs | 2 +- .../Authentication/OAuth2AndOIDCClient.cs | 2 +- .../Infrastructure/Public/Db/BaseDam.cs | 6 +- .../Public/Diagnostics/MyDebug.cs | 175 --------- .../Security/AsymmetricAlgorithmCmnFunc.cs | 94 ++++- .../Public/Security/DigitalSignX509.cs | 44 +-- .../Security/EnumDigitalSignAlgorithm.cs | 22 +- .../Public/Security/EnumHashAlgorithm.cs | 20 +- .../Public/Security/EnumSymmetricAlgorithm.cs | 17 +- .../Public/Security/HashAlgorithmCmnFunc.cs | 80 ++-- .../Public/Security/Jwt/EccKeyConverter.cs | 16 +- .../Security/Jwt/EccPublicKeyConverter.cs | 2 +- .../Public/Security/Jwt/JWS_ES256_Param.cs | 8 +- .../Public/Security/Jwt/JWS_ES384_Param.cs | 6 +- .../Public/Security/Jwt/JWS_ES512_Param.cs | 7 +- .../Public/Security/Jwt/JWS_RS256.cs | 6 +- .../Public/Security/Jwt/JWS_RS384.cs | 6 +- .../Public/Security/Jwt/JWS_RS512.cs | 5 +- .../Public/Security/Jwt/RsaKeyConverter.cs | 8 +- .../Public/Security/KeyExg/RsaBob.cs | 4 +- .../Public/Security/KeyExg/RsaOaepAlice.cs | 2 +- .../Public/Security/KeyExg/RsaOaepBob.cs | 2 +- .../Public/Security/KeyExg/RsaPkcs1Alice.cs | 2 +- .../Public/Security/KeyExg/RsaPkcs1Bob.cs | 2 +- .../Infrastructure/Public/Security/MyDebug.cs | 216 +++++++++++ .../Security/Public.Security_net48.csproj | 1 + .../Public/Security/Pwd/GetPassword.cs | 28 +- .../Public/Security/Pwd/GetPasswordHashV1.cs | 149 +++++--- .../Public/Security/Pwd/GetPasswordHashV2.cs | 73 +++- .../Public/Security/SymmetricCryptography.cs | 59 ++- .../Public/Util/RandomValueGenerator.cs | 6 + .../Frameworks/Tests/EncAndDecUtil/Form1.cs | 20 +- .../Tests/EncAndDecUtilCUI/Program.cs | 269 +++++++------ .../Tests/EncAndDecUtilCUI/Result48.txt | 329 ++++++++-------- .../Tests/EncAndDecUtilCUI/ResultCore80.txt | 361 +++++++++--------- .../Tests/TestBatch/ResultSimpleBatch48.txt | 6 +- .../TestBatch/ResultSimpleBatchCore80.txt | 6 +- .../CS/Frameworks/Tests/TestCode/Result48.txt | 10 +- .../Tests/TestCode/ResultCore80.txt | 10 +- 39 files changed, 1182 insertions(+), 899 deletions(-) create mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Security/MyDebug.cs diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs index ab18c24cf..3e6c10e30 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs @@ -222,7 +222,7 @@ public static string CreateHash(string input) // input(access_token や code) のASCII オクテット列からハッシュ値を求め、 byte[] bytes = GetHash.GetHashBytes( CustomEncode.StringToByte(input, CustomEncode.us_ascii), - EnumHashAlgorithm.SHA256_M); + EnumHashAlgorithm.SHA256); // 左半分を base64url エンコードした値。 return CustomEncode.ToBase64UrlString( diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/OAuth2AndOIDCClient.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/OAuth2AndOIDCClient.cs index 12704f617..ce7dc074a 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/OAuth2AndOIDCClient.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/OAuth2AndOIDCClient.cs @@ -405,7 +405,7 @@ public static async Task GetUserInfoAsync(Uri userInfoEndpointUri, strin public static string PKCE_S256_CodeChallengeMethod(string code_verifier) { return CustomEncode.ToBase64UrlString(GetHash.GetHashBytes(CustomEncode.StringToByte( - code_verifier, CustomEncode.us_ascii), EnumHashAlgorithm.SHA256_M)); + code_verifier, CustomEncode.us_ascii), EnumHashAlgorithm.SHA256)); } #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/BaseDam.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Db/BaseDam.cs index 0b233d510..c3b8b2f7e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/BaseDam.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Db/BaseDam.cs @@ -2739,8 +2739,10 @@ private void StringToParameter(string paramString, DataTable dt) //Int32と同じサイズのバイト配列にランダムな値を設定する //byte[] bs = new byte[sizeof(int)]; byte[] bs = new byte[4]; - RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); - rng.GetBytes(bs); + + //RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); + //rng.GetBytes(bs); + RandomNumberGenerator.Create().GetBytes(bs); //Int32に変換する if (BitConverter.ToInt32(bs, 0) % 2 == 0) diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Diagnostics/MyDebug.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Diagnostics/MyDebug.cs index 62fdf40f9..8839c69ec 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Diagnostics/MyDebug.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Diagnostics/MyDebug.cs @@ -34,186 +34,12 @@ using System; using System.Diagnostics; -using System.Security.Cryptography.X509Certificates; - -using Touryo.Infrastructure.Public.Str; namespace Touryo.Infrastructure.Public.Diagnostics { /// MyDebugクラス public class MyDebug { - #region Security - - #region JWT - - /// InspectJwt - /// string - /// string - public static void InspectJwt(string testLabel, string jwt) - { - string[] aryStr = jwt.Split('.'); - - if (aryStr.Length == 3) - { - MyDebug.InspectJws(testLabel, aryStr); - } - else if (aryStr.Length == 5) - { - MyDebug.InspectJwe(testLabel, aryStr); - } - else { } - } - - #region JWS - - /// InspectJws - /// string - /// string[] - public static void InspectJws(string testLabel, string[] jws) - { - MyDebug.OutputDebugAndConsole(testLabel, "JWS Header: " + - CustomEncode.ByteToString(CustomEncode.FromBase64UrlString(jws[0]), CustomEncode.UTF_8)); - - MyDebug.OutputDebugAndConsole(testLabel, "JWS Payload: " + - CustomEncode.ByteToString(CustomEncode.FromBase64UrlString(jws[1]), CustomEncode.UTF_8)); - - MyDebug.OutputDebugAndConsole(testLabel, "JWS Signature: " + jws[2]); - } - - #endregion - - #region JWE - - /// InspectJwe - /// string - /// string[] - public static void InspectJwe(string testLabel, string[] jwe) - { - MyDebug.OutputDebugAndConsole(testLabel, "JWE Header: " + - CustomEncode.ByteToString(CustomEncode.FromBase64UrlString(jwe[0]), CustomEncode.UTF_8)); - - MyDebug.OutputDebugAndConsole(testLabel, "JWE Encrypted Key: " + jwe[1]); - MyDebug.OutputDebugAndConsole(testLabel, "JWE Initialization Vector: " + jwe[2]); - MyDebug.OutputDebugAndConsole(testLabel, "JWE Ciphertext: " + jwe[3]); - MyDebug.OutputDebugAndConsole(testLabel, "JWE Authentication Tag: " + jwe[4]); - } - - #endregion - - #endregion - - #region X.509 - - /// InspectPrivateX509Key - /// string - /// X509Certificate2 - public static void InspectPrivateX509Key(string testLabel, X509Certificate2 privateX509Key) - { - // X509Certificate2.PrivateKey - MyDebug.OutputDebugAndConsole( - testLabel, "X509Certificate2.PrivateKey: " - + (privateX509Key == null ? "is null" : "is not null")); - - if (privateX509Key == null) - { - return; - } - - // SignatureAlgorithm.FriendlyName - try - { - MyDebug.OutputDebugAndConsole( - testLabel, "SignatureAlgorithm.FriendlyName: " - + privateX509Key.SignatureAlgorithm.FriendlyName); - } - catch (Exception ex) - { - MyDebug.OutputDebugAndConsole( - testLabel, "SignatureAlgorithm.FriendlyName: " - + ex.GetType().ToString() + ", " + ex.Message); - } - - // PrivateKey.ToString() - try - { - if (privateX509Key.HasPrivateKey) - { - MyDebug.OutputDebugAndConsole( - testLabel, "PrivateKey.ToString(): " - + (privateX509Key.PrivateKey == null ? "is null" : "is " - + privateX509Key.PrivateKey.ToString())); - } - } - catch (Exception ex) - { - MyDebug.OutputDebugAndConsole( - testLabel, "PrivateKey.ToString(): " - + ex.GetType().ToString() + ", " + ex.Message); - } - } - - /// InspectPublicX509Key - /// string - /// X509Certificate2 - public static void InspectPublicX509Key(string testLabel, X509Certificate2 publicX509Key) - { - // X509Certificate2.PublicKey - MyDebug.OutputDebugAndConsole( - testLabel, "publicX509Key: " - + (publicX509Key == null ? "is null" : "is not null")); - if (publicX509Key == null) - { - return; - } - - // SignatureAlgorithm.FriendlyName - try - { - MyDebug.OutputDebugAndConsole( - testLabel, "SignatureAlgorithm.FriendlyName: " - + publicX509Key.SignatureAlgorithm.FriendlyName); - } - catch (Exception ex) - { - MyDebug.OutputDebugAndConsole( - testLabel, "SignatureAlgorithm.FriendlyName: " - + ex.GetType().ToString() + ", " + ex.Message); - } - - // PublicKey.ToString() - if (publicX509Key.PublicKey != null) - { - MyDebug.OutputDebugAndConsole( - testLabel, "PublicKey.ToString(): " - + (publicX509Key.PublicKey == null ? "is null" : "is " - + publicX509Key.PublicKey.ToString())); - - // PublicKey.Key.ToString() - try - { - if (publicX509Key.PublicKey.Key != null) - { - MyDebug.OutputDebugAndConsole( - testLabel, "PublicKey.Key.ToString(): " - + (publicX509Key.PublicKey.Key == null ? "is null" : "is " - + publicX509Key.PublicKey.Key.ToString())); - } - } - catch (Exception ex) - { - MyDebug.OutputDebugAndConsole( - testLabel, "PublicKey.Key.ToString(): " - + ex.GetType().ToString() + ", " + ex.Message); - } - } - } - - #endregion - - #endregion - - #region OutputDebugAndConsole /// OutputDebugAndConsole /// string /// string @@ -235,6 +61,5 @@ public static void OutputDebugAndConsole(string s) if (MyDebug.CanOutputToConsole) Console.WriteLine(s); if (MyDebug.CanOutputToDebug) Debug.WriteLine(s); } - #endregion } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs index 8ca648c6e..c38dd48cd 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs @@ -50,6 +50,69 @@ namespace Touryo.Infrastructure.Public.Security /// public class AsymmetricAlgorithmCmnFunc { + #region GetKey + + /// GetPublicKey + /// X509Certificate2 + /// PublicKey + /// + public static AsymmetricAlgorithm GetPublicKey(X509Certificate2 x509Key) + { + switch (x509Key.PublicKey.Oid.FriendlyName.ToUpper()) + { + case "RSA": + return x509Key.GetRSAPublicKey(); + + case "DSA": + return x509Key.GetDSAPublicKey(); + + case "ECC": + case "ECDSA": + return x509Key.GetECDsaPublicKey(); +#if NETSTD + case "ECDH": + return x509Key.GetECDiffieHellmanPublicKey(); +#endif + default: + return null; + } + } + + /// GetPrivateKey + /// X509Certificate2 + /// PrivateKey + /// + public static AsymmetricAlgorithm GetPrivateKey(X509Certificate2 x509Key) + { + if (x509Key.HasPrivateKey) + { + switch (x509Key.PublicKey.Oid.FriendlyName.ToUpper()) + { + case "RSA": + return x509Key.GetRSAPrivateKey(); + + case "DSA": + return x509Key.GetDSAPrivateKey(); + + case "ECC": + case "ECDSA": + return x509Key.GetECDsaPrivateKey(); +#if NETSTD + case "ECDH": + return x509Key.GetECDiffieHellmanPrivateKey(); +#endif + default: + return null; + } + } + else + { + return null; + } + } + +#endregion + #region Simple factories /// RsaFactory /// RSA @@ -100,12 +163,14 @@ public static AsymmetricAlgorithm CreateCryptographySP( if (string.IsNullOrEmpty(password)) { - asa = x509Key.PublicKey.Key; + //asa = x509Key.PublicKey.Key; + asa = AsymmetricAlgorithmCmnFunc.GetPublicKey(x509Key); } else { - asa = x509Key.PrivateKey; - } + //asa = x509Key.PrivateKey; + asa = AsymmetricAlgorithmCmnFunc.GetPrivateKey(x509Key); + } } else { @@ -153,35 +218,36 @@ public static void CreateDigitalSignSP( ha = null; // 公開鍵・暗号化サービスプロバイダ - if (eaa == EnumDigitalSignAlgorithm.RsaCSP_MD5 - || eaa == EnumDigitalSignAlgorithm.RsaCSP_SHA1 - || eaa == EnumDigitalSignAlgorithm.RsaCSP_SHA256 - || eaa == EnumDigitalSignAlgorithm.RsaCSP_SHA384 - || eaa == EnumDigitalSignAlgorithm.RsaCSP_SHA512) + if (eaa == EnumDigitalSignAlgorithm.Rsa_MD5 + || eaa == EnumDigitalSignAlgorithm.Rsa_SHA1 + || eaa == EnumDigitalSignAlgorithm.Rsa_SHA256 + || eaa == EnumDigitalSignAlgorithm.Rsa_SHA384 + || eaa == EnumDigitalSignAlgorithm.Rsa_SHA512) { // RSACryptoServiceProviderサービスプロバイダ aa = new RSACryptoServiceProvider(); switch (eaa) { - case EnumDigitalSignAlgorithm.RsaCSP_MD5: + case EnumDigitalSignAlgorithm.Rsa_MD5: ha = MD5.Create(); break; - case EnumDigitalSignAlgorithm.RsaCSP_SHA1: + case EnumDigitalSignAlgorithm.Rsa_SHA1: ha = SHA1.Create(); break; - case EnumDigitalSignAlgorithm.RsaCSP_SHA256: + case EnumDigitalSignAlgorithm.Rsa_SHA256: ha = SHA256.Create(); break; - case EnumDigitalSignAlgorithm.RsaCSP_SHA384: + case EnumDigitalSignAlgorithm.Rsa_SHA384: ha = SHA384.Create(); break; - case EnumDigitalSignAlgorithm.RsaCSP_SHA512: + case EnumDigitalSignAlgorithm.Rsa_SHA512: ha = SHA512.Create(); break; } } #if NETSTD + /* else if (eaa == EnumDigitalSignAlgorithm.RsaOpenSsl_MD5 || eaa == EnumDigitalSignAlgorithm.RsaOpenSsl_SHA1 || eaa == EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256 @@ -210,6 +276,7 @@ public static void CreateDigitalSignSP( break; } } + */ #endif else if (eaa == EnumDigitalSignAlgorithm.DsaCSP_SHA1) { @@ -217,6 +284,7 @@ public static void CreateDigitalSignSP( aa = new DSACryptoServiceProvider(); ha = SHA1.Create(); } + #if NETSTD else if (eaa == EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1) { diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs index 863c29560..a26ffd196 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs @@ -66,7 +66,8 @@ public AsymmetricAlgorithm PrivateKey { get { - return this.X509Certificate.PrivateKey; + //return this.X509Certificate.PrivateKey; + return this.GetPrivateKey(); } } @@ -75,7 +76,8 @@ public AsymmetricAlgorithm PublicKey { get { - return this.X509Certificate.PublicKey.Key; + //return this.X509Certificate.PublicKey.Key; + return this.GetPublicKey(); } } @@ -178,7 +180,7 @@ private void Prepare() { AsymmetricAlgorithm aa = null; - if (this.X509Certificate.PrivateKey == null) + if (this.X509Certificate.HasPrivateKey == false)//.PrivateKey == null) { // *.cer aa = this.GetPublicKey(); @@ -219,46 +221,14 @@ private void Prepare() /// AsymmetricAlgorithm private AsymmetricAlgorithm GetPrivateKey() { - AsymmetricAlgorithm aa = null; - -#if NET45 || NET46 || NETSTD - aa = this.X509Certificate.PrivateKey; -#else - if (this.X509Certificate.PublicKey.Oid.FriendlyName.ToUpper() == "DSA") - { - // DSA - aa = this.X509Certificate.GetDSAPrivateKey(); - } - else - { - // RSA - aa = this.X509Certificate.PrivateKey; - } -#endif - return aa; + return AsymmetricAlgorithmCmnFunc.GetPrivateKey(this.X509Certificate); } /// GetPublicKey /// AsymmetricAlgorithm private AsymmetricAlgorithm GetPublicKey() { - AsymmetricAlgorithm aa = null; - -#if NET45 || NET46 || NETSTD - aa = this.X509Certificate.PublicKey.Key; -#else - if (this.X509Certificate.PublicKey.Oid.FriendlyName.ToUpper() == "DSA") - { - // DSA - aa = this.X509Certificate.GetDSAPublicKey(); - } - else - { - // RSA - aa = this.X509Certificate.PublicKey.Key; - } -#endif - return aa; + return AsymmetricAlgorithmCmnFunc.GetPublicKey(this.X509Certificate); } #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs index c2d04afd7..01b4d5a0d 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs @@ -38,6 +38,22 @@ namespace Touryo.Infrastructure.Public.Security /// コンストラクタで使用している。 public enum EnumDigitalSignAlgorithm { + /// RSA:MD5 + Rsa_MD5, + + /// RSA:SHA1 + Rsa_SHA1, + + /// RSA:SHA256 + Rsa_SHA256, + + /// RSA:SHA384 + Rsa_SHA384, + + /// RSA:SHA512 + Rsa_SHA512, + + /* /// RSACryptoServiceProvider:MD5 RsaCSP_MD5, @@ -52,10 +68,11 @@ public enum EnumDigitalSignAlgorithm /// RSACryptoServiceProvider:SHA512 RsaCSP_SHA512, + */ /// DSACryptoServiceProvider:SHA1 DsaCSP_SHA1, - + /// ECDsaCng:P256 ECDsaCng_P256, @@ -66,6 +83,7 @@ public enum EnumDigitalSignAlgorithm ECDsaCng_P521, #if NETSTD + /* /// RSAOpenSsl:MD5 RsaOpenSsl_MD5, @@ -80,6 +98,7 @@ public enum EnumDigitalSignAlgorithm /// RSAOpenSsl:SHA512 RsaOpenSsl_SHA512, + */ /// DSAOpenSsl:SHA1 DsaOpenSsl_SHA1, @@ -93,6 +112,5 @@ public enum EnumDigitalSignAlgorithm /// ECDsaOpenSsl:P521 ECDsaOpenSsl_P521 #endif - }; } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumHashAlgorithm.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumHashAlgorithm.cs index 9ed815135..3cc6626f2 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumHashAlgorithm.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumHashAlgorithm.cs @@ -41,8 +41,24 @@ public enum EnumHashAlgorithm /// Default Default, + /// MD5 + MD5, + + /// SHA1 + SHA1, + + /// SHA256 + SHA256, + + /// SHA384 + SHA384, + + /// SHA512 + SHA512, + #region CSP (CryptoServiceProvider) + /* /// MD5CryptoServiceProvider MD5_CSP, @@ -57,6 +73,7 @@ public enum EnumHashAlgorithm /// SHA512CryptoServiceProvider SHA512_CSP, + */ #endregion @@ -86,7 +103,7 @@ public enum EnumHashAlgorithm /// RIPEMD160Managed RIPEMD160_M, - + /* /// SHA1Managed SHA1_M, @@ -98,6 +115,7 @@ public enum EnumHashAlgorithm /// SHA512Managed SHA512_M, + */ #endregion }; diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumSymmetricAlgorithm.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumSymmetricAlgorithm.cs index 6f69d25b5..763772a15 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumSymmetricAlgorithm.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumSymmetricAlgorithm.cs @@ -40,8 +40,17 @@ namespace Touryo.Infrastructure.Public.Security [Flags] public enum EnumSymmetricAlgorithm { - #region CSP (CryptoServiceProvider) + /// AES + AES = 1, + /// DES + DES = 1 << 1, + /// RC2 + RC2 = 1 << 2, + /// TripleDES + TDES = 1 << 3, + #region CSP (CryptoServiceProvider) + /* /// AesCryptoServiceProvider AES_CSP = 1, /// DESCryptoServiceProvider @@ -50,7 +59,7 @@ public enum EnumSymmetricAlgorithm RC2_CSP = 1 << 2, /// TripleDESCryptoServiceProvider TDES_CSP = 1 << 3, - + */ #endregion #region CNG (CryptographyNextGeneration) @@ -63,12 +72,12 @@ public enum EnumSymmetricAlgorithm #endregion #region Managed - + /* /// AesManaged AES_M = 1 << 6, /// RijndaelManaged Rijndael_M = 1 << 7, - + */ #endregion #region CipherMode, PaddingMode指定 diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/HashAlgorithmCmnFunc.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/HashAlgorithmCmnFunc.cs index af8538929..eeb3a2d4b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/HashAlgorithmCmnFunc.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/HashAlgorithmCmnFunc.cs @@ -129,16 +129,16 @@ public static HashAlgorithm CreateHashAlgorithmSP(EnumHashAlgorithm eha) } #region MD5 - else if (eha == EnumHashAlgorithm.MD5_CSP) + else if (eha == EnumHashAlgorithm.MD5)//_CSP) { - // MD5CryptoServiceProviderサービスプロバイダ - ha = MD5CryptoServiceProvider.Create(); // devps(1703) + // MD5 + ha = MD5.Create();//MD5CryptoServiceProvider.Create(); // devps(1703) } #if NETSTD #else else if (eha == EnumHashAlgorithm.MD5_CNG) { - // MD5Cngサービスプロバイダ + // MD5Cng ha = MD5Cng.Create(); // devps(1703) } #endif @@ -150,93 +150,93 @@ public static HashAlgorithm CreateHashAlgorithmSP(EnumHashAlgorithm eha) #if NETSTD ha = null; // BouncyCastleを使用する。 #else - // RIPEMD160Managedサービスプロバイダ + // RIPEMD160Managed ha = RIPEMD160Managed.Create(); // devps(1703) #endif } #endregion #region SHA1 - else if (eha == EnumHashAlgorithm.SHA1_CSP) + else if (eha == EnumHashAlgorithm.SHA1)//_CSP) { - // SHA1CryptoServiceProviderサービスプロバイダ - ha = SHA1CryptoServiceProvider.Create(); // devps(1703) + // SHA1 + ha = SHA1.Create();//SHA1CryptoServiceProvider.Create(); // devps(1703) } #if NETSTD #else else if (eha == EnumHashAlgorithm.SHA1_CNG) { - // SHA1Cngサービスプロバイダ + // SHA1Cng ha = SHA1Cng.Create(); // devps(1703) } #endif - else if (eha == EnumHashAlgorithm.SHA1_M) + /*else if (eha == EnumHashAlgorithm.SHA1_M) { - // SHA1Managedサービスプロバイダ + // SHA1Managed ha = SHA1Managed.Create(); // devps(1703) - } + }*/ #endregion #region SHA256 - else if (eha == EnumHashAlgorithm.SHA256_CSP) + else if (eha == EnumHashAlgorithm.SHA256)//_CSP) { - // SHA256CryptoServiceProviderサービスプロバイダ - ha = SHA256CryptoServiceProvider.Create(); // devps(1703) + // SHA256 + ha = SHA256.Create(); //SHA256CryptoServiceProvider.Create(); // devps(1703) } #if NETSTD #else else if (eha == EnumHashAlgorithm.SHA256_CNG) { - // SHA256Cngサービスプロバイダ + // SHA256Cng ha = SHA256Cng.Create(); // devps(1703) } #endif - else if (eha == EnumHashAlgorithm.SHA256_M) + /*else if (eha == EnumHashAlgorithm.SHA256_M) { - // SHA256Managedサービスプロバイダ + // SHA256Managed ha = SHA256Managed.Create(); // devps(1703) - } + }*/ #endregion #region SHA384 - else if (eha == EnumHashAlgorithm.SHA384_CSP) + else if (eha == EnumHashAlgorithm.SHA384)//_CSP) { - // SHA384CryptoServiceProviderサービスプロバイダ - ha = SHA384CryptoServiceProvider.Create(); // devps(1703) + // SHA384 + ha = SHA384.Create(); //SHA384CryptoServiceProvider.Create(); // devps(1703) } #if NETSTD #else else if (eha == EnumHashAlgorithm.SHA384_CNG) { - // SHA384Cngサービスプロバイダ + // SHA384Cng ha = SHA384Cng.Create(); // devps(1703) } #endif - else if (eha == EnumHashAlgorithm.SHA384_M) + else if (eha == EnumHashAlgorithm.SHA384)//_M) { - // SHA384Managedサービスプロバイダ - ha = SHA384Managed.Create(); // devps(1703) + // SHA384 + ha = SHA384.Create(); //SHA384Managed.Create(); // devps(1703) } #endregion #region SHA512 - else if (eha == EnumHashAlgorithm.SHA512_CSP) + else if (eha == EnumHashAlgorithm.SHA512)//_CSP) { - // SHA512CryptoServiceProviderサービスプロバイダ - ha = SHA512CryptoServiceProvider.Create(); // devps(1703) + // SHA512 + ha = SHA512.Create(); // SHA512CryptoServiceProvider.Create(); // devps(1703) } #if NETSTD #else else if (eha == EnumHashAlgorithm.SHA512_CNG) { - // SHA512Cngサービスプロバイダ + // SHA512Cng ha = SHA512Cng.Create(); // devps(1703) } #endif - else if (eha == EnumHashAlgorithm.SHA512_M) + else if (eha == EnumHashAlgorithm.SHA512)//_M) { - // SHA512Managedサービスプロバイダ - ha = SHA512Managed.Create(); // devps(1703) + // SHA512 + ha = SHA512.Create(); // SHA512Managed.Create(); // devps(1703) } #endregion @@ -269,13 +269,13 @@ public static KeyedHashAlgorithm CreateKeyedHashAlgorithmSP(EnumKeyedHashAlgorit else if (ekha == EnumKeyedHashAlgorithm.HMACSHA1) { - // HMACSHA1サービスプロバイダ + // HMACSHA1 kha = new HMACSHA1(key); // devps(1703) } // -- ▼追加▼ -- else if (ekha == EnumKeyedHashAlgorithm.HMACMD5) { - // HMACMD5サービスプロバイダ + // HMACMD5 kha = new HMACMD5(key); } else if (ekha == EnumKeyedHashAlgorithm.HMACRIPEMD160) @@ -283,23 +283,23 @@ public static KeyedHashAlgorithm CreateKeyedHashAlgorithmSP(EnumKeyedHashAlgorit #if NETSTD kha = null; // BouncyCastleを使用する。 #else - // HMACRIPEMD160サービスプロバイダ + // HMACRIPEMD160 kha = new HMACRIPEMD160(key); #endif } else if (ekha == EnumKeyedHashAlgorithm.HMACSHA256) { - // HMACSHA256サービスプロバイダ + // HMACSHA256 kha = new HMACSHA256(key); } else if (ekha == EnumKeyedHashAlgorithm.HMACSHA384) { - // HMACSHA384サービスプロバイダ + // HMACSHA384 kha = new HMACSHA384(key); } else if (ekha == EnumKeyedHashAlgorithm.HMACSHA512) { - // HMACSHA512サービスプロバイダ + // HMACSHA512 kha = new HMACSHA512(key); } // -- ▲追加▲ -- @@ -308,7 +308,7 @@ public static KeyedHashAlgorithm CreateKeyedHashAlgorithmSP(EnumKeyedHashAlgorit #if NETSTD kha = null; // BouncyCastleを使用する。 #else - // MACTripleDESサービスプロバイダ + // MACTripleDES kha = new MACTripleDES(key); // devps(1703) #endif } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccKeyConverter.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccKeyConverter.cs index 02a8f3e08..10caf5fd2 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccKeyConverter.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccKeyConverter.cs @@ -50,9 +50,9 @@ public abstract class EccKeyConverter /// アルゴリズム protected string JwtConstESnnn = JwtConst.ES256; /// アルゴリズム - protected HashAlgorithmName _hashAlgorithmName = HashAlgorithmName.SHA256; + protected HashAlgorithmName HashAlgorithmName = HashAlgorithmName.SHA256; /// アルゴリズム - protected EnumHashAlgorithm HashAlgorithm = EnumHashAlgorithm.SHA256_M; + protected EnumHashAlgorithm HashAlgorithm = EnumHashAlgorithm.SHA256; /// ECCurveDic protected Dictionary ECCurveDic = new Dictionary() @@ -74,20 +74,20 @@ public EccKeyConverter(JWS_ECDSA.ES esNNN) { case JWS_ECDSA.ES._256: this.JwtConstESnnn = JwtConst.ES256; - this._hashAlgorithmName = HashAlgorithmName.SHA256; - this.HashAlgorithm = EnumHashAlgorithm.SHA256_M; + this.HashAlgorithmName = HashAlgorithmName.SHA256; + this.HashAlgorithm = EnumHashAlgorithm.SHA256; break; case JWS_ECDSA.ES._384: this.JwtConstESnnn = JwtConst.ES384; - this._hashAlgorithmName = HashAlgorithmName.SHA384; - this.HashAlgorithm = EnumHashAlgorithm.SHA384_M; + this.HashAlgorithmName = HashAlgorithmName.SHA384; + this.HashAlgorithm = EnumHashAlgorithm.SHA384; break; case JWS_ECDSA.ES._512: this.JwtConstESnnn = JwtConst.ES512; - this._hashAlgorithmName = HashAlgorithmName.SHA512; - this.HashAlgorithm = EnumHashAlgorithm.SHA512_M; + this.HashAlgorithmName = HashAlgorithmName.SHA512; + this.HashAlgorithm = EnumHashAlgorithm.SHA512; break; } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs index 8f207738f..c18a89698 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs @@ -116,7 +116,7 @@ public ECDsa X509CerToProvider( // PublicKey を取り出すため Exportableは不要 // ASP.NET(サーバ)からの実行を想定しないため、MachineKeySetは不要 DigitalSignECDsaX509 dsX509 = new DigitalSignECDsaX509( - certificateFilePath, "", this._hashAlgorithmName, flg); + certificateFilePath, "", this.HashAlgorithmName, flg); AsymmetricAlgorithm aa = dsX509.PublicKey; if (aa is ECDsa) diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs index 15252928d..39d822d59 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs @@ -108,9 +108,7 @@ public JWS_ES256_Param() else { #if NETSTD - this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - JWS_ES256.DigitalSignAlgorithm, SHA256CryptoServiceProvider.Create()); - //HashAlgorithmCmnFunc.CreateHashAlgorithmSP(EnumHashAlgorithm.SHA256_M)); + this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(JWS_ES256.DigitalSignAlgorithm, SHA256.Create()); #else throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif @@ -130,9 +128,7 @@ public JWS_ES256_Param(ECParameters param, bool isPrivate) else { #if NETSTD - this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - param, SHA256CryptoServiceProvider.Create()); - //HashAlgorithmCmnFunc.CreateHashAlgorithmSP(EnumHashAlgorithm.SHA256_M)); + this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(param, SHA256.Create()); #else throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs index da156da2e..f84e2aac7 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs @@ -108,7 +108,7 @@ public JWS_ES384_Param() { #if NETSTD this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - JWS_ES384.DigitalSignAlgorithm, SHA384CryptoServiceProvider.Create()); + JWS_ES384.DigitalSignAlgorithm, SHA384.Create()); //HashAlgorithmCmnFunc.CreateHashAlgorithmSP(EnumHashAlgorithm.SHA384_M)); #else throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); @@ -129,9 +129,7 @@ public JWS_ES384_Param(ECParameters param, bool isPrivate) else { #if NETSTD - this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - param, SHA384CryptoServiceProvider.Create()); - //HashAlgorithmCmnFunc.CreateHashAlgorithmSP(EnumHashAlgorithm.SHA384_M)); + this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(param, SHA384.Create()); #else throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs index 924afc9c7..bc06462fe 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs @@ -107,9 +107,7 @@ public JWS_ES512_Param() else { #if NETSTD - this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - JWS_ES512.DigitalSignAlgorithm, SHA512CryptoServiceProvider.Create()); - //HashAlgorithmCmnFunc.CreateHashAlgorithmSP(EnumHashAlgorithm.SHA512_M)); + this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(JWS_ES512.DigitalSignAlgorithm, SHA512.Create()); #else throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif @@ -129,8 +127,7 @@ public JWS_ES512_Param(ECParameters param, bool isPrivate) else { #if NETSTD - this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - param, SHA512CryptoServiceProvider.Create()); + this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(param, SHA512.Create()); //HashAlgorithmCmnFunc.CreateHashAlgorithmSP(EnumHashAlgorithm.SHA512_M)); #else throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS256.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS256.cs index 625d7df97..825b2e956 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS256.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS256.cs @@ -58,7 +58,10 @@ public static EnumDigitalSignAlgorithm DigitalSignAlgorithm { get { + return EnumDigitalSignAlgorithm.Rsa_SHA256; + #if NETSTD + /* if (Environment.OSVersion.Platform == PlatformID.Win32NT) { return EnumDigitalSignAlgorithm.RsaCSP_SHA256; @@ -67,8 +70,9 @@ public static EnumDigitalSignAlgorithm DigitalSignAlgorithm { return EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256; } + */ #else - return EnumDigitalSignAlgorithm.RsaCSP_SHA256; + //return EnumDigitalSignAlgorithm.RsaCSP_SHA256; #endif } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS384.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS384.cs index 0fdfdbc7a..daee962f6 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS384.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS384.cs @@ -53,7 +53,10 @@ public static EnumDigitalSignAlgorithm DigitalSignAlgorithm { get { + return EnumDigitalSignAlgorithm.Rsa_SHA384; + #if NETSTD + /* if (Environment.OSVersion.Platform == PlatformID.Win32NT) { return EnumDigitalSignAlgorithm.RsaCSP_SHA384; @@ -62,8 +65,9 @@ public static EnumDigitalSignAlgorithm DigitalSignAlgorithm { return EnumDigitalSignAlgorithm.RsaOpenSsl_SHA384; } + */ #else - return EnumDigitalSignAlgorithm.RsaCSP_SHA384; + //return EnumDigitalSignAlgorithm.RsaCSP_SHA384; #endif } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS512.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS512.cs index 999773468..8346b1ed4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS512.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_RS512.cs @@ -53,7 +53,9 @@ public static EnumDigitalSignAlgorithm DigitalSignAlgorithm { get { + return EnumDigitalSignAlgorithm.Rsa_SHA512; #if NETSTD + /* if (Environment.OSVersion.Platform == PlatformID.Win32NT) { return EnumDigitalSignAlgorithm.RsaCSP_SHA512; @@ -62,8 +64,9 @@ public static EnumDigitalSignAlgorithm DigitalSignAlgorithm { return EnumDigitalSignAlgorithm.RsaOpenSsl_SHA512; } + */ #else - return EnumDigitalSignAlgorithm.RsaCSP_SHA512; + //return EnumDigitalSignAlgorithm.RsaCSP_SHA512; #endif } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/RsaKeyConverter.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/RsaKeyConverter.cs index 4c6e9e95b..2310283bd 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/RsaKeyConverter.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/RsaKeyConverter.cs @@ -43,7 +43,7 @@ public abstract class RsaKeyConverter /// アルゴリズム protected string HashName = HashNameConst.SHA256; /// アルゴリズム - protected EnumHashAlgorithm HashAlgorithm = EnumHashAlgorithm.SHA256_M; + protected EnumHashAlgorithm HashAlgorithm = EnumHashAlgorithm.SHA256; #endregion #region constructor @@ -58,19 +58,19 @@ public RsaKeyConverter(JWS_RSA.RS rsNNN) case JWS_RSA.RS._256: this.JwtConstRSnnn = JwtConst.RS256; this.HashName = HashNameConst.SHA256; - this.HashAlgorithm = EnumHashAlgorithm.SHA256_M; + this.HashAlgorithm = EnumHashAlgorithm.SHA256; break; case JWS_RSA.RS._384: this.JwtConstRSnnn = JwtConst.RS384; this.HashName = HashNameConst.SHA384; - this.HashAlgorithm = EnumHashAlgorithm.SHA384_M; + this.HashAlgorithm = EnumHashAlgorithm.SHA384; break; case JWS_RSA.RS._512: this.JwtConstRSnnn = JwtConst.RS512; this.HashName = HashNameConst.SHA512; - this.HashAlgorithm = EnumHashAlgorithm.SHA512_M; + this.HashAlgorithm = EnumHashAlgorithm.SHA512; break; } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs index b9db717d3..716bfa7d2 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs @@ -65,10 +65,10 @@ protected RsaBob(string rsaPfxFilePath, string password) : protected RsaBob(string rsaPfxFilePath, string password, X509KeyStorageFlags flag) { X509Certificate2 x509Certificate = new X509Certificate2(rsaPfxFilePath, password, flag); - + // RSA // *.pfxの場合、ExportParameters(true)して生成し直している。 - AsymmetricAlgorithm aa = x509Certificate.PrivateKey; + AsymmetricAlgorithm aa = AsymmetricAlgorithmCmnFunc.GetPrivateKey(x509Certificate); RSA rsa = (RSA)AsymmetricAlgorithmCmnFunc.CreateSameKeySizeSP(aa); rsa.ImportParameters(((RSA)(aa)).ExportParameters(true)); diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepAlice.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepAlice.cs index fddcfbf0a..a49ab197e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepAlice.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepAlice.cs @@ -53,7 +53,7 @@ public RsaOaepAlice(RSAParameters rsaParams) : base(rsaParams) { } protected override void CreateKeys() { RSA rsa = (RSA)this._asa; - this._aes = new AesCryptoServiceProvider(); // 秘密鍵 + this._aes = Aes.Create(); // 秘密鍵 RSAOAEPKeyExchangeFormatter keyExchangeFormatter = new RSAOAEPKeyExchangeFormatter(rsa); this._exchangeKey = keyExchangeFormatter.CreateKeyExchange(this._aes.Key, typeof(Aes)); // 交換鍵 } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepBob.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepBob.cs index af9acbba7..1cc6b6a24 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepBob.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaOaepBob.cs @@ -61,7 +61,7 @@ public RsaOaepBob(string rsaPfxFilePath, string password, X509KeyStorageFlags fl /// 初期化ベクター public void GeneratePrivateKey(byte[] exchangeKeyOfAlice, byte[] iv) { - this._aes = new AesCryptoServiceProvider(); + this._aes = Aes.Create(); RSAOAEPKeyExchangeDeformatter keyExchangeDeformatter = new RSAOAEPKeyExchangeDeformatter(this._asa); this._aes.Key = keyExchangeDeformatter.DecryptKeyExchange(exchangeKeyOfAlice); diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Alice.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Alice.cs index a21ef7ddb..54ef5b5ac 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Alice.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Alice.cs @@ -53,7 +53,7 @@ public RsaPkcs1Alice(RSAParameters rsaParams) : base(rsaParams) { } protected override void CreateKeys() { RSA rsa = (RSA)this._asa; - this._aes = new AesCryptoServiceProvider(); // 秘密鍵 + this._aes = Aes.Create(); // 秘密鍵 RSAPKCS1KeyExchangeFormatter keyExchangeFormatter = new RSAPKCS1KeyExchangeFormatter(rsa); this._exchangeKey = keyExchangeFormatter.CreateKeyExchange(this._aes.Key, typeof(Aes)); // 交換鍵 } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Bob.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Bob.cs index 636f95132..7b633ef40 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Bob.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaPkcs1Bob.cs @@ -61,7 +61,7 @@ public RsaPkcs1Bob(string rsaPfxFilePath, string password, X509KeyStorageFlags f /// 初期化ベクター public void GeneratePrivateKey(byte[] exchangeKeyOfAlice, byte[] iv) { - this._aes = new AesCryptoServiceProvider(); + this._aes = Aes.Create();//new AesCryptoServiceProvider(); RSAPKCS1KeyExchangeDeformatter keyExchangeDeformatter = new RSAPKCS1KeyExchangeDeformatter(this._asa); this._aes.Key = keyExchangeDeformatter.DecryptKeyExchange(exchangeKeyOfAlice); diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/MyDebug.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/MyDebug.cs new file mode 100644 index 000000000..1cb446576 --- /dev/null +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/MyDebug.cs @@ -0,0 +1,216 @@ +//********************************************************************************** +//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. +//********************************************************************************** + +#region Apache License +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +#endregion + +//********************************************************************************** +//* クラス名 :MyDebug +//* クラス日本語名 :MyDebugクラス +//* +//* 作成者 :生技 西野 +//* 更新履歴 : +//* +//* 日時 更新者 内容 +//* ---------- ---------------- ------------------------------------------------- +//* 2018/11/12 西野 大介 新規作成(X PlatformのDebugで利用拡大? +//* 2018/11/29 西野 大介 ASP.NET Coreの出力で2つ出力されるので... +//* 2019/03/20 西野 大介 リネーム(名前空間、クラス名、メソッド名) +//********************************************************************************** + +using System; +using System.Security.Cryptography.X509Certificates; + +using Touryo.Infrastructure.Public.Str; + +namespace Touryo.Infrastructure.Public.Security +{ + /// MyDebugクラス + public class MyDebug : Touryo.Infrastructure.Public.Diagnostics.MyDebug + { + #region JWT + + /// InspectJwt + /// string + /// string + public static void InspectJwt(string testLabel, string jwt) + { + string[] aryStr = jwt.Split('.'); + + if (aryStr.Length == 3) + { + MyDebug.InspectJws(testLabel, aryStr); + } + else if (aryStr.Length == 5) + { + MyDebug.InspectJwe(testLabel, aryStr); + } + else { } + } + + #region JWS + + /// InspectJws + /// string + /// string[] + public static void InspectJws(string testLabel, string[] jws) + { + MyDebug.OutputDebugAndConsole(testLabel, "JWS Header: " + + CustomEncode.ByteToString(CustomEncode.FromBase64UrlString(jws[0]), CustomEncode.UTF_8)); + + MyDebug.OutputDebugAndConsole(testLabel, "JWS Payload: " + + CustomEncode.ByteToString(CustomEncode.FromBase64UrlString(jws[1]), CustomEncode.UTF_8)); + + MyDebug.OutputDebugAndConsole(testLabel, "JWS Signature: " + jws[2]); + } + + #endregion + + #region JWE + + /// InspectJwe + /// string + /// string[] + public static void InspectJwe(string testLabel, string[] jwe) + { + MyDebug.OutputDebugAndConsole(testLabel, "JWE Header: " + + CustomEncode.ByteToString(CustomEncode.FromBase64UrlString(jwe[0]), CustomEncode.UTF_8)); + + MyDebug.OutputDebugAndConsole(testLabel, "JWE Encrypted Key: " + jwe[1]); + MyDebug.OutputDebugAndConsole(testLabel, "JWE Initialization Vector: " + jwe[2]); + MyDebug.OutputDebugAndConsole(testLabel, "JWE Ciphertext: " + jwe[3]); + MyDebug.OutputDebugAndConsole(testLabel, "JWE Authentication Tag: " + jwe[4]); + } + + #endregion + + #endregion + + #region X.509 + + /// InspectPrivateX509Key + /// string + /// X509Certificate2 + public static void InspectPrivateX509Key(string testLabel, X509Certificate2 privateX509Key) + { + // X509Certificate2.PrivateKey + MyDebug.OutputDebugAndConsole( + testLabel, "X509Certificate2.PrivateKey: " + + (privateX509Key == null ? "is null" : "is not null")); + + if (privateX509Key == null) + { + return; + } + + // SignatureAlgorithm.FriendlyName + try + { + MyDebug.OutputDebugAndConsole( + testLabel, "SignatureAlgorithm.FriendlyName: " + + privateX509Key.SignatureAlgorithm.FriendlyName); + } + catch (Exception ex) + { + MyDebug.OutputDebugAndConsole( + testLabel, "SignatureAlgorithm.FriendlyName: " + + ex.GetType().ToString() + ", " + ex.Message); + } + + // PrivateKey.ToString() + try + { + if (privateX509Key.HasPrivateKey) + { + MyDebug.OutputDebugAndConsole( + testLabel, "PrivateKey.ToString(): " + //+ (privateX509Key.PrivateKey == null ? "is null" : "is " + //+ privateX509Key.PrivateKey.ToString())); + + (AsymmetricAlgorithmCmnFunc.GetPrivateKey(privateX509Key) == null ? "is null" : "is " + + AsymmetricAlgorithmCmnFunc.GetPrivateKey(privateX509Key).ToString())); + } + } + catch (Exception ex) + { + MyDebug.OutputDebugAndConsole( + testLabel, "PrivateKey.ToString(): " + + ex.GetType().ToString() + ", " + ex.Message); + } + } + + /// InspectPublicX509Key + /// string + /// X509Certificate2 + public static void InspectPublicX509Key(string testLabel, X509Certificate2 publicX509Key) + { + // X509Certificate2.PublicKey + MyDebug.OutputDebugAndConsole( + testLabel, "publicX509Key: " + + (publicX509Key == null ? "is null" : "is not null")); + if (publicX509Key == null) + { + return; + } + + // SignatureAlgorithm.FriendlyName + try + { + MyDebug.OutputDebugAndConsole( + testLabel, "SignatureAlgorithm.FriendlyName: " + + publicX509Key.SignatureAlgorithm.FriendlyName); + } + catch (Exception ex) + { + MyDebug.OutputDebugAndConsole( + testLabel, "SignatureAlgorithm.FriendlyName: " + + ex.GetType().ToString() + ", " + ex.Message); + } + + // PublicKey.ToString() + if (publicX509Key.PublicKey != null) + { + MyDebug.OutputDebugAndConsole( + testLabel, "PublicKey.ToString(): " + + (publicX509Key.PublicKey == null ? "is null" : "is " + + publicX509Key.PublicKey.ToString())); + + // PublicKey.Key.ToString() + try + { + //if (publicX509Key.PublicKey.Key != null) + //{ + + MyDebug.OutputDebugAndConsole( + testLabel, "PublicKey.Key.ToString(): " + //+ (publicX509Key.PublicKey.Key == null ? "is null" : "is " + //+ publicX509Key.PublicKey.Key.ToString())); + + (AsymmetricAlgorithmCmnFunc.GetPublicKey(publicX509Key) == null ? "is null" : "is " + + (AsymmetricAlgorithmCmnFunc.GetPublicKey(publicX509Key).ToString()))); + //} + } + catch (Exception ex) + { + MyDebug.OutputDebugAndConsole( + testLabel, "PublicKey.Key.ToString(): " + + ex.GetType().ToString() + ", " + ex.Message); + } + } + } + + #endregion + } +} diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_net48.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_net48.csproj index 3fe983aa8..4cbe5694a 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_net48.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_net48.csproj @@ -76,6 +76,7 @@ + diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPassword.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPassword.cs index 9e1f15a28..5e89f8759 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPassword.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPassword.cs @@ -64,7 +64,11 @@ public static string Base64UrlSecret(int byteSize) public static byte[] RandomByte(int byteSize) { byte[] data = new byte[byteSize]; +#if NETSTD + RandomNumberGenerator.Fill(data); +#else RNGCryptoServiceProvider.Create().GetBytes(data); +#endif return data; } @@ -78,8 +82,6 @@ public static string Generate(int length, int numberOfNonAlphanumericCharacters) // ASP.NETを使ってランダムなパスワードを生成する - インターネットコム // https://internetcom.jp/developer/20060131/26.html - RNGCryptoServiceProvider rng = null; - if ((length < 1) || (length > 128)) { throw new ArgumentException("Password length is incorrect."); @@ -101,9 +103,13 @@ public static string Generate(int length, int numberOfNonAlphanumericCharacters) char[] chPunctuations = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~".ToCharArray(); //"!@@$%^^*()_-+=[{]};:>|./?".ToCharArray(); // Get a cryptographically strong series of bytes +#if NETSTD + RandomNumberGenerator.Fill(bufferPwd); +#else + RNGCryptoServiceProvider rng = null; rng = new RNGCryptoServiceProvider(); rng.GetBytes(bufferPwd); - +#endif // C# ASCII Table - Dot Net Perls // https://www.dotnetperls.com/ascii-table @@ -136,11 +142,21 @@ public static string Generate(int length, int numberOfNonAlphanumericCharacters) // 0-lengthの位置に、適当なNAC文字を入れる。 // Get a cryptographically strong series of bytes + + // index選択用 +#if NETSTD + RandomNumberGenerator.Fill(bufferSelectIdx); +#else rng = new RNGCryptoServiceProvider(); - rng.GetBytes(bufferSelectIdx); // index選択用 + rng.GetBytes(bufferSelectIdx); +#endif + // char選択用 +#if NETSTD + RandomNumberGenerator.Fill(bufferSelectChar); +#else rng = new RNGCryptoServiceProvider(); - rng.GetBytes(bufferSelectChar); // char選択用 - + rng.GetBytes(bufferSelectChar); +#endif List list = new List(); list.AddRange(chPunctuations); // .Contains() を使いたい。 diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV1.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV1.cs index bd4619028..873183a65 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV1.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV1.cs @@ -20,7 +20,7 @@ //********************************************************************************** //* クラス名 :GetPasswordHashV1(旧 GetKeyedHashクラスの実装を内包) -//* クラス日本語名 :Passwordハッシュを取得するクラス(v1 +//* クラス日本語名 :Password Hashを取得するクラス(v1 //* //* 作成者 :生技 西野 //* 更新履歴 : @@ -30,7 +30,7 @@ //* 2013/02/15 西野 大介 新規作成 //* 2014/03/13 西野 大介 devps(1703):Createメソッドを使用してcryptoオブジェクトを作成します。 //* 2014/03/13 西野 大介 devps(1725):暗号クラスの使用終了時にデータをクリアする。 -//* 2017/01/10 西野 大介 ストレッチ回数とsaltのpublic property procedureを追加 +//* 2017/01/10 西野 大介 Stretch回数とsaltのpublic property procedureを追加 //* 2017/01/10 西野 大介 HMAC(HMACMD5、HMACRIPEMD160、HMACSHA256、HMACSHA384、HMACSHA512)を追加 //* 2017/01/10 西野 大介 全てHMACSHA1になる問題があったため、KeyedHashAlgorithm生成方法を変更。 //* 2017/01/10 西野 大介 GetSaltedPasswordとEqualSaltedPasswordを追加。 @@ -50,26 +50,26 @@ namespace Touryo.Infrastructure.Public.Security.Pwd { - /// Passwordハッシュを取得するクラス(v1 + /// Password Hashを取得するクラス(v1 [Obsolete("GetPasswordHashV1 is deprecated, please use GetPasswordHashV2 instead.")] public class GetPasswordHashV1 { #region mem & prop - /// ソルト + /// salt private static string _salt = "Touryo.Infrastructure.Public.Util.GetKeyedHash.Salt"; - /// ソルト + /// salt public static string Salt { get { return GetPasswordHashV1._salt; } set { GetPasswordHashV1._salt = value; } } - /// ストレッチ回数 + /// Stretch回数 private static int _stretchCount = 0; - /// ストレッチ回数 + /// Stretch回数 public static int StretchCount { get { return GetPasswordHashV1._stretchCount; } @@ -85,8 +85,8 @@ public static int StretchCount /// Salted and hashed passwordとして保存する必要がある。 /// /// >Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 - /// ソルトの文字列長 + /// Hashアルゴリズム列挙型 + /// saltの文字列長 /// Salted and hashed password. /// public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha, int saltLength) @@ -100,13 +100,13 @@ public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha /// Salted and hashed passwordとして保存する必要がある。 /// /// >Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 - /// ソルトの文字列長 - /// ストレッチ回数 + /// Hashアルゴリズム列挙型 + /// saltの文字列長 + /// Stretch回数 /// Salted and hashed password. public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha, int saltLength, int stretchCount) { - // ランダム・ソルト文字列を生成(区切り記号は含まなくても良い) + // ランダムsalt文字列を生成(区切り記号は含まなくても良い) string salt = GetPassword.Generate(saltLength, 0); //Membership.GeneratePassword(saltLength, 0); // Salted and hashed password(文字列)を生成して返す。 @@ -119,14 +119,14 @@ public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha /// パスワードを比較して認証する。 /// Password entered by the user. /// Salted and hashed password. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 /// /// true:パスワードは一致した。 /// false:パスワードは一致しない。 /// public static bool EqualSaltedPassword(string rawPassword, string saltedPassword, EnumHashAlgorithm eha) { - // ソルト部分を取得 + // salt部分を取得 string[] temp = saltedPassword.Split('.'); string salt = CustomEncode.ByteToString(CustomEncode.FromBase64String(temp[0]), CustomEncode.UTF_8); int stretchCount = int.Parse(CustomEncode.ByteToString(CustomEncode.FromBase64String(temp[1]), CustomEncode.UTF_8)); @@ -154,9 +154,9 @@ public static bool EqualSaltedPassword(string rawPassword, string saltedPassword /// Salted and hashed passwordとして保存する必要がある。 /// /// Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 /// キー(システム共通) - /// ソルトの文字列長 + /// saltの文字列長 /// Salted and hashed password. /// public static string GetSaltedPassword(string rawPassword, EnumKeyedHashAlgorithm ekha, string key, int saltLength) @@ -170,14 +170,14 @@ public static string GetSaltedPassword(string rawPassword, EnumKeyedHashAlgorith /// Salted and hashed passwordとして保存する必要がある。 /// /// Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 /// キー - /// ソルトの文字列長 - /// ストレッチ回数 + /// saltの文字列長 + /// Stretch回数 /// Salted and hashed password. public static string GetSaltedPassword(string rawPassword, EnumKeyedHashAlgorithm ekha, string key, int saltLength, int stretchCount) { - // ランダム・ソルト文字列を生成(区切り記号は含まなくても良い) + // ランダムsalt文字列を生成(区切り記号は含まなくても良い) string salt = GetPassword.Generate(saltLength, 0); //Membership.GeneratePassword(saltLength, 0); byte[] saltByte = CustomEncode.StringToByte(salt, CustomEncode.UTF_8); @@ -193,14 +193,15 @@ public static string GetSaltedPassword(string rawPassword, EnumKeyedHashAlgorith /// パスワードを比較して認証する。 /// Password entered by the user. /// Salted and hashed password. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 + /// Hashアルゴリズム名(Stretching用) /// /// true:パスワードは一致した。 /// false:パスワードは一致しない。 /// - public static bool EqualSaltedPassword(string rawPassword, string saltedPassword, EnumKeyedHashAlgorithm ekha) + public static bool EqualSaltedPassword(string rawPassword, string saltedPassword, EnumKeyedHashAlgorithm ekha, HashAlgorithmName han) { - // ソルト部分を取得 + // salt部分を取得 string[] temp = saltedPassword.Split('.'); string key = CustomEncode.ByteToString(CustomEncode.FromBase64String(temp[0]), CustomEncode.UTF_8); byte[] saltByte = CustomEncode.FromBase64String(temp[1]); @@ -209,7 +210,7 @@ public static bool EqualSaltedPassword(string rawPassword, string saltedPassword string hashedPassword = CustomEncode.ByteToString(CustomEncode.FromBase64String(temp[3]), CustomEncode.UTF_8); // 引数のsaltedPasswordと、rawPasswordから自作したsaltedPasswordを比較 - if (hashedPassword == GetPasswordHashV1.GetKeyedHashString(salt + rawPassword, ekha, key, saltByte, stretchCount)) + if (hashedPassword == GetPasswordHashV1.GetKeyedHashString(salt + rawPassword, ekha, key, saltByte, stretchCount, han)) { // 一致した。 return true; @@ -225,89 +226,115 @@ public static bool EqualSaltedPassword(string rawPassword, string saltedPassword #region String - /// 文字列のハッシュ値を計算して返す。 + /// 文字列のHash値を計算して返す。 /// 文字列 - /// ハッシュ(キー付き)アルゴリズム列挙型 + /// Keyed Hashアルゴリズム列挙型 /// 使用するパスワード - /// ハッシュ値(文字列) + /// Hash値(文字列) private static string GetKeyedHashString(string ss, EnumKeyedHashAlgorithm ekha, string password) { return GetPasswordHashV1.GetKeyedHashString( ss, ekha, password, CustomEncode.StringToByte(GetPasswordHashV1._salt, CustomEncode.UTF_8), GetPasswordHashV1.StretchCount); } - /// 文字列のハッシュ値を計算して返す。 + /// 文字列のHash値を計算して返す。 /// 文字列 - /// ハッシュ(キー付き)アルゴリズム列挙型 + /// Keyed Hashアルゴリズム列挙型 /// 使用するパスワード - /// ソルト - /// ハッシュ値(文字列) + /// salt + /// Hash値(文字列) private static string GetKeyedHashString(string ss, EnumKeyedHashAlgorithm ekha, string password, byte[] salt) { - return GetPasswordHashV1.GetKeyedHashString( - ss, ekha, password, salt, GetPasswordHashV1.StretchCount); + return GetPasswordHashV1.GetKeyedHashString(ss, ekha, password, salt, GetPasswordHashV1.StretchCount); } - /// 文字列のハッシュ値を計算して返す。 + /// 文字列のHash値を計算して返す。 /// 文字列 - /// ハッシュ(キー付き)アルゴリズム列挙型 + /// Keyed Hashアルゴリズム列挙型 /// 使用するパスワード - /// ソルト - /// ストレッチ回数 - /// ハッシュ値(文字列) + /// salt + /// Stretch回数 + /// Hash値(文字列) private static string GetKeyedHashString(string ss, EnumKeyedHashAlgorithm ekha, string password, byte[] salt, int stretching) + { + return GetPasswordHashV1.GetKeyedHashString(ss, ekha, password, salt, GetPasswordHashV1.StretchCount, HashAlgorithmName.SHA256); + } + + /// 文字列のHash値を計算して返す。 + /// 文字列 + /// Keyed Hashアルゴリズム列挙型 + /// 使用するパスワード + /// salt + /// Stretch回数 + /// Hashアルゴリズム名(Stretching用) + /// Hash値(文字列) + private static string GetKeyedHashString( + string ss, EnumKeyedHashAlgorithm ekha, string password, byte[] salt, int stretching, HashAlgorithmName han) { return CustomEncode.ToBase64String( - GetKeyedHashBytes(CustomEncode.StringToByte(ss, CustomEncode.UTF_8), ekha, password, salt, stretching)); + GetKeyedHashBytes(CustomEncode.StringToByte(ss, CustomEncode.UTF_8), ekha, password, salt, stretching, han)); } #endregion #region Bytes - /// バイト配列のハッシュ値を計算して返す。 - /// バイト配列 - /// ハッシュ(キー付き)アルゴリズム列挙型 + /// Byte配列のHash値を計算して返す。 + /// Byte配列 + /// Keyed Hashアルゴリズム列挙型 /// 使用するパスワード - /// ハッシュ値(バイト配列) + /// Hash値(Byte配列) private static byte[] GetKeyedHashBytes(byte[] asb, EnumKeyedHashAlgorithm ekha, string password) { return GetPasswordHashV1.GetKeyedHashBytes( asb, ekha, password, CustomEncode.StringToByte(GetPasswordHashV1._salt, CustomEncode.UTF_8), GetPasswordHashV1.StretchCount); } - /// バイト配列のハッシュ値を計算して返す。 - /// バイト配列 - /// ハッシュ(キー付き)アルゴリズム列挙型 + /// Byte配列のHash値を計算して返す。 + /// Byte配列 + /// Keyed Hashアルゴリズム列挙型 /// 使用するパスワード - /// ソルト - /// ハッシュ値(バイト配列) + /// salt + /// Hash値(Byte配列) private static byte[] GetKeyedHashBytes(byte[] asb, EnumKeyedHashAlgorithm ekha, string password, byte[] salt) { - return GetPasswordHashV1.GetKeyedHashBytes( - asb, ekha, password, salt, GetPasswordHashV1.StretchCount); + return GetPasswordHashV1.GetKeyedHashBytes(asb, ekha, password, salt, GetPasswordHashV1.StretchCount); } - /// バイト配列のハッシュ値を計算して返す。 - /// バイト配列 - /// ハッシュ(キー付き)アルゴリズム列挙型 + /// Byte配列のHash値を計算して返す。 + /// Byte配列 + /// Keyed Hashアルゴリズム列挙型 /// 使用するパスワード - /// ソルト - /// ストレッチ回数 - /// ハッシュ値(バイト配列) + /// salt + /// Stretch回数 + /// Hash値(Byte配列) private static byte[] GetKeyedHashBytes(byte[] asb, EnumKeyedHashAlgorithm ekha, string password, byte[] salt, int stretchCount) + { + return GetPasswordHashV1.GetKeyedHashBytes(asb, ekha, password, salt, stretchCount, HashAlgorithmName.SHA256); + } + + /// Byte配列のHash値を計算して返す。 + /// Byte配列 + /// Keyed Hashアルゴリズム列挙型 + /// 使用するパスワード + /// salt + /// Stretch回数 + /// Hashアルゴリズム名(Stretching用) + /// Hash値(Byte配列) + private static byte[] GetKeyedHashBytes( + byte[] asb, EnumKeyedHashAlgorithm ekha, string password, byte[] salt, int stretchCount, HashAlgorithmName han) { // キーを生成する。 - Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(password, salt, stretchCount); + Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(password, salt, stretchCount, han); // HMACMD5 :どのサイズのキーでも受け入れる ◯ // HMACRIPEMD160:どのサイズのキーでも受け入れる ◯ // HMACSHA1 :どのサイズのキーでも受け入れる ◯ // HMACSHA256 :どのサイズのキーでも受け入れる ◯ // HMACSHA384 :どのサイズのキーでも受け入れる ◯ // HMACSHA512 :どのサイズのキーでも受け入れる ◯ - // MACTripleDES :長さが 16 または 24 バイトのキーを受け入れる + // MACTripleDES :長さが 16 または 24 Byteのキーを受け入れる - // ハッシュ(キー付き)サービスプロバイダを生成 + // Keyed Hashサービスプロバイダを生成 #if NETSTD // NETSTDの場合の実装 @@ -328,7 +355,7 @@ private static byte[] GetKeyedHashBytes(byte[] asb, EnumKeyedHashAlgorithm ekha, passwordKey.GetBytes(24) // 上記より、24 決め打ちとする。 ); - // ハッシュ(キー付き)を生成して返す。 + // Keyed Hashを生成して返す。 byte[] temp = kha.ComputeHash(asb); kha.Clear(); // devps(1725) diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs index 9540eb25a..1fd5b2ec7 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs @@ -20,7 +20,7 @@ //********************************************************************************** //* クラス名 :GetPasswordHashV2 -//* クラス日本語名 :Passwordハッシュを取得するクラス(v2 +//* クラス日本語名 :Password Hashを取得するクラス(v2 //* //* 作成者 :生技 西野 //* 更新履歴 : @@ -35,7 +35,7 @@ namespace Touryo.Infrastructure.Public.Security.Pwd { - /// Passwordハッシュを取得するクラス(v2 + /// Password Hashを取得するクラス(v2 public class GetPasswordHashV2 : GetKeyedHash { #region Hash @@ -45,8 +45,8 @@ public class GetPasswordHashV2 : GetKeyedHash /// Salted and hashed passwordとして保存する必要がある。 /// /// >Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 - /// ソルトの文字列長 + /// Hashアルゴリズム列挙型 + /// saltの文字列長 /// Salted and hashed password. /// public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha, int saltLength) @@ -60,13 +60,13 @@ public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha /// Salted and hashed passwordとして保存する必要がある。 /// /// >Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 - /// ソルトの文字列長 - /// ストレッチ回数 + /// Hashアルゴリズム列挙型 + /// saltの文字列長 + /// Stretch回数 /// Salted and hashed password. public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha, int saltLength, int stretchCount) { - // ランダム・ソルト文字列を生成(区切り記号は含まなくても良い) + // ランダムsalt文字列を生成(区切り記号は含まなくても良い) string salt = GetPassword.Generate(saltLength, 0); //Membership.GeneratePassword(saltLength, 0); // Salted and hashed password(文字列)を生成して返す。 @@ -79,14 +79,14 @@ public static string GetSaltedPassword(string rawPassword, EnumHashAlgorithm eha /// パスワードを比較して認証する。 /// Password entered by the user. /// Salted and hashed password. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 /// /// true:パスワードは一致した。 /// false:パスワードは一致しない。 /// public static bool EqualSaltedPassword(string rawPassword, string saltedPassword, EnumHashAlgorithm eha) { - // ソルト部分を取得 + // salt部分を取得 string[] temp = saltedPassword.Split('.'); string salt = CustomEncode.ByteToString(CustomEncode.FromBase64String(temp[0]), CustomEncode.UTF_8); int stretchCount = int.Parse(CustomEncode.ByteToString(CustomEncode.FromBase64String(temp[1]), CustomEncode.UTF_8)); @@ -108,26 +108,45 @@ public static bool EqualSaltedPassword(string rawPassword, string saltedPassword #endregion #region KeyedHash - + /// /// Password entered by the userをDB保存する際、 /// Salted and hashed passwordとして保存する必要がある。 /// /// Password entered by the user. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 /// キー - /// ソルトの文字列長 - /// ストレッチ回数 + /// saltの文字列長 + /// Stretch回数 /// Salted and hashed password. public static string GetSaltedPassword(string rawPassword, EnumKeyedHashAlgorithm ekha, string key, int saltLength, int stretchCount) { - // ランダム・ソルト文字列を生成(区切り記号は含まなくても良い) + // overloadへ + return GetPasswordHashV2.GetSaltedPassword( + rawPassword, ekha, key, saltLength, stretchCount, HashAlgorithmName.SHA256); + } + + /// + /// Password entered by the userをDB保存する際、 + /// Salted and hashed passwordとして保存する必要がある。 + /// + /// Password entered by the user. + /// Hashアルゴリズム列挙型 + /// キー + /// saltの文字列長 + /// Stretch回数 + /// Hashアルゴリズム名 + /// Salted and hashed password. + public static string GetSaltedPassword(string rawPassword, + EnumKeyedHashAlgorithm ekha, string key, int saltLength, int stretchCount, HashAlgorithmName hashAlgorithmName) + { + // ランダムsalt文字列を生成(区切り記号は含まなくても良い) string salt = GetPassword.Generate(saltLength, 0); //Membership.GeneratePassword(saltLength, 0); byte[] saltByte = CustomEncode.StringToByte(salt, CustomEncode.UTF_8); // KeyedHashのキーを生成する。 - Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(key, saltByte, stretchCount); + Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(key, saltByte, stretchCount, hashAlgorithmName); // Salted and hashed password(文字列)を生成して返す。 return @@ -151,14 +170,30 @@ public static string GetSaltedPassword(string rawPassword, /// パスワードを比較して認証する。 /// Password entered by the user. /// Salted and hashed password. - /// ハッシュ・アルゴリズム列挙型 + /// Hashアルゴリズム列挙型 /// /// true:パスワードは一致した。 /// false:パスワードは一致しない。 /// public static bool EqualSaltedPassword(string rawPassword, string saltedPassword, EnumKeyedHashAlgorithm ekha) { - // ソルト部分を取得 + // overloadへ + return EqualSaltedPassword(rawPassword, saltedPassword, ekha, HashAlgorithmName.SHA256); + } + + /// パスワードを比較して認証する。 + /// Password entered by the user. + /// Salted and hashed password. + /// Hashアルゴリズム列挙型 + /// Hashアルゴリズム名 + /// + /// true:パスワードは一致した。 + /// false:パスワードは一致しない。 + /// + public static bool EqualSaltedPassword( + string rawPassword, string saltedPassword, EnumKeyedHashAlgorithm ekha, HashAlgorithmName hashAlgorithmName) + { + // salt部分を取得 string[] temp = saltedPassword.Split('.'); // key @@ -177,7 +212,7 @@ public static bool EqualSaltedPassword(string rawPassword, string saltedPassword string hashedPassword = temp[3]; // KeyedHashのキーを生成する。 - Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(key, saltByte, stretchCount); + Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(key, saltByte, stretchCount, hashAlgorithmName); // 引数のsaltedPasswordと、rawPasswordから自作したsaltedPasswordを比較 string compare = CustomEncode.ToBase64String( diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs index ac6eec85f..cefc00327 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs @@ -78,7 +78,7 @@ public class SymmetricCryptography /// Constructor public SymmetricCryptography() : - this(EnumSymmetricAlgorithm.AES_M) { } + this(EnumSymmetricAlgorithm.AES) { } /// Constructor /// 対称アルゴリズム @@ -198,11 +198,27 @@ public byte[] DecryptBytes(byte[] source, string password) /// ストレッチング private void GenerateKeyFromPassword(string password, int keySize, out byte[] key, int blockSize, out byte[] iv, byte[] salt, int stretching) + { + // overloadへ + this.GenerateKeyFromPassword(password, keySize, out key, blockSize, out iv, salt, stretching); + } + + /// パスワードから共有キーと初期化ベクタを生成する + /// 基になるパスワード + /// 共有キーのサイズ(ビット) + /// 作成された共有キー + /// 初期化ベクタのサイズ(ビット) + /// 作成された初期化ベクタ + /// ソルト + /// ストレッチング + /// Hashアルゴリズム名 + private void GenerateKeyFromPassword(string password, + int keySize, out byte[] key, int blockSize, out byte[] iv, byte[] salt, int stretching, HashAlgorithmName hashAlgorithmName) { //パスワードから共有キーと初期化ベクタを作成する //Rfc2898DeriveBytesオブジェクトを作成する - Rfc2898DeriveBytes deriveBytes = new Rfc2898DeriveBytes(password, salt, stretching); + Rfc2898DeriveBytes deriveBytes = new Rfc2898DeriveBytes(password, salt, stretching, hashAlgorithmName); //.NET Framework 1.1以下の時は、PasswordDeriveBytesを使用する //PasswordDeriveBytes deriveBytes = new PasswordDeriveBytes(password, salt); @@ -292,61 +308,68 @@ private SymmetricAlgorithm CreateSymmetricAlgorithm(EnumSymmetricAlgorithm esa, SymmetricAlgorithm sa = null; #region Aes - if (esa.HasFlag(EnumSymmetricAlgorithm.AES_CSP)) + if (esa.HasFlag(EnumSymmetricAlgorithm.AES)) { - // AesCryptoServiceProviderサービスプロバイダ + // Aes + sa = Aes.Create(); // devps(1703) + } + /* PF依存排除 + else if (esa.HasFlag(EnumSymmetricAlgorithm.AES_CSP)) + { + // AesCryptoServiceProvider sa = AesCryptoServiceProvider.Create(); // devps(1703) } else if (esa.HasFlag(EnumSymmetricAlgorithm.AES_M)) { - // AesManagedサービスプロバイダ + // AesManaged sa = AesManaged.Create(); // devps(1703) - } + }*/ #if NET45 || NET46 #else else if (esa.HasFlag(EnumSymmetricAlgorithm.AES_CNG)) { - // AesCngサービスプロバイダ + // AesCng sa = AesCng.Create(); // devps(1703) } #endif #endregion #region TripleDES - else if (esa.HasFlag(EnumSymmetricAlgorithm.TDES_CSP)) + else if (esa.HasFlag(EnumSymmetricAlgorithm.TDES))//_CSP)) { - // TripleDESCryptoServiceProviderサービスプロバイダ - sa = TripleDESCryptoServiceProvider.Create(); // devps(1703) + // TripleDES PF依存排除 + sa = TripleDES.Create();//TripleDESCryptoServiceProvider.Create(); // devps(1703) } #if NET45 || NET46 #else else if (esa.HasFlag(EnumSymmetricAlgorithm.TDES_CNG)) { - // TripleDESCngサービスプロバイダ + // TripleDESCng sa = TripleDESCng.Create(); // devps(1703) } #endif #endregion #region Others - else if (esa.HasFlag(EnumSymmetricAlgorithm.DES_CSP)) + else if (esa.HasFlag(EnumSymmetricAlgorithm.DES))//_CSP)) { - // DESCryptoServiceProviderサービスプロバイダ - sa = DESCryptoServiceProvider.Create(); // devps(1703) + // DES PF依存排除 + sa = DES.Create();//DESCryptoServiceProvider.Create(); // devps(1703) } - else if (esa.HasFlag(EnumSymmetricAlgorithm.RC2_CSP)) + else if (esa.HasFlag(EnumSymmetricAlgorithm.RC2))//_CSP)) { - // RC2CryptoServiceProviderサービスプロバイダ - sa = RC2CryptoServiceProvider.Create(); // devps(1703) + // RC2 PF依存排除 + sa = RC2.Create();//RC2CryptoServiceProvider.Create(); // devps(1703) } - + /* PF依存 & 旧規格 else if (esa.HasFlag(EnumSymmetricAlgorithm.Rijndael_M)) { // RijndaelManagedサービスプロバイダ sa = RijndaelManaged.Create(); // devps(1703) } + */ #endregion else diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs index d9ef792f3..920c59f05 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs @@ -82,9 +82,15 @@ public static bool TrueOrFalse() public static uint GenerateRandomUint() { byte[] bs = new byte[sizeof(uint)]; + +#if NETSTD + RandomNumberGenerator.Fill(bs); +#else RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); rng.GetBytes(bs); rng.Dispose(); +#endif + return BitConverter.ToUInt32(bs, 0); } } diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtil/Form1.cs b/root/programs/CS/Frameworks/Tests/EncAndDecUtil/Form1.cs index f79e02bdd..a88061575 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtil/Form1.cs +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtil/Form1.cs @@ -574,11 +574,11 @@ private void btnDSSign_Click(object sender, EventArgs e) EnumDigitalSignAlgorithm edsa = (EnumDigitalSignAlgorithm)this.cbxDSPV.SelectedValue; - if (edsa == EnumDigitalSignAlgorithm.RsaCSP_MD5 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA1 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA256 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA384 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA512 + if (edsa == EnumDigitalSignAlgorithm.Rsa_MD5 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA1 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA256 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA384 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA512 || edsa == EnumDigitalSignAlgorithm.DsaCSP_SHA1) { if (rbnDSXML.Checked) @@ -671,11 +671,11 @@ private void btnDSVerify_Click(object sender, EventArgs e) EnumDigitalSignAlgorithm edsa = (EnumDigitalSignAlgorithm)this.cbxDSPV.SelectedValue; - if (edsa == EnumDigitalSignAlgorithm.RsaCSP_MD5 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA1 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA256 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA384 - || edsa == EnumDigitalSignAlgorithm.RsaCSP_SHA512 + if (edsa == EnumDigitalSignAlgorithm.Rsa_MD5 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA1 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA256 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA384 + || edsa == EnumDigitalSignAlgorithm.Rsa_SHA512 || edsa == EnumDigitalSignAlgorithm.DsaCSP_SHA1) { if (rbnDSXML.Checked) diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs index aee472b9b..c123a1b9f 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs @@ -22,7 +22,7 @@ using Touryo.Infrastructure.Public.Security.KeyExg; using Touryo.Infrastructure.Public.Security.Pwd; using Touryo.Infrastructure.Public.Security.Xml; -using Touryo.Infrastructure.Public.Diagnostics; +using TIPD = Touryo.Infrastructure.Public.Diagnostics; namespace EncAndDecUtilCUI { @@ -73,14 +73,12 @@ public static void Main(string[] args) Program.Hash(); Program.KeyedHash(); Program.PasswordHash(); - - MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); + TIPD.MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); // Cryptography Program.PrivateKeyCryptography(); Program.PublicKeyCryptography(); - - MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); + TIPD.MyDebug.OutputDebugAndConsole("----------------------------------------------------------------------------------------------------"); // Jwt(Jws, Jwe) Program.MyJwt(); @@ -100,7 +98,7 @@ public static void Main(string[] args) } catch (Exception ex) { - MyDebug.OutputDebugAndConsole(ex.ToString()); + TIPD.MyDebug.OutputDebugAndConsole(ex.ToString()); } } @@ -115,33 +113,29 @@ private static void Hash() #region Managed or CSP // Default - MyDebug.OutputDebugAndConsole("HashAlgorithm.Default", GetHash.GetHashString(data, EnumHashAlgorithm.Default)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.Default", GetHash.GetHashString(data, EnumHashAlgorithm.Default)); // MD5 - MyDebug.OutputDebugAndConsole("HashAlgorithm.MD5_CSP", GetHash.GetHashString(data, EnumHashAlgorithm.MD5_CSP)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.MD5", GetHash.GetHashString(data, EnumHashAlgorithm.MD5)); // RIPEMD160 - MyDebug.OutputDebugAndConsole("HashAlgorithm.RIPEMD160_M", GetHash.GetHashString(data, EnumHashAlgorithm.RIPEMD160_M)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.RIPEMD160_M", GetHash.GetHashString(data, EnumHashAlgorithm.RIPEMD160_M)); // SHA1 - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA1_CSP", GetHash.GetHashString(data, EnumHashAlgorithm.SHA1_CSP)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA1_M", GetHash.GetHashString(data, EnumHashAlgorithm.SHA1_M)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA1", GetHash.GetHashString(data, EnumHashAlgorithm.SHA1)); // SHA256 - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA256_CSP", GetHash.GetHashString(data, EnumHashAlgorithm.SHA256_CSP)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA256_M", GetHash.GetHashString(data, EnumHashAlgorithm.SHA256_M)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA256", GetHash.GetHashString(data, EnumHashAlgorithm.SHA256)); // SHA384 - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA384_CSP", GetHash.GetHashString(data, EnumHashAlgorithm.SHA384_CSP)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA384_M", GetHash.GetHashString(data, EnumHashAlgorithm.SHA384_M)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA384", GetHash.GetHashString(data, EnumHashAlgorithm.SHA384)); // SHA512 - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA512_CSP", GetHash.GetHashString(data, EnumHashAlgorithm.SHA512_CSP)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA512_M", GetHash.GetHashString(data, EnumHashAlgorithm.SHA512_M)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA512", GetHash.GetHashString(data, EnumHashAlgorithm.SHA512)); #endregion #if NETCOREAPP #else #region CNG - MyDebug.OutputDebugAndConsole("HashAlgorithm.MD5_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.MD5_CNG)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA1_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA1_CNG)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA256_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA256_CNG)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA384_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA384_CNG)); - MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA512_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA512_CNG)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.MD5_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.MD5_CNG)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA1_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA1_CNG)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA256_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA256_CNG)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA384_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA384_CNG)); + TIPD.MyDebug.OutputDebugAndConsole("HashAlgorithm.SHA512_CNG", GetHash.GetHashString(data, EnumHashAlgorithm.SHA512_CNG)); #endregion #endif } @@ -152,14 +146,14 @@ private static void KeyedHash() string data = "ynyKeiR9FXWPkNQHvUPZkAlfUmouExBv"; string key = "ynyKeiR9FXWPkNQHvUPZkAlfUmouExBv"; - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.Default", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.Default, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACMD5", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACMD5, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACRIPEMD160", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACRIPEMD160, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA1", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA1, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA256", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA256, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA384", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA384, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA512", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA512, key)); - MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.MACTripleDES", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.MACTripleDES, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.Default", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.Default, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACMD5", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACMD5, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACRIPEMD160", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACRIPEMD160, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA1", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA1, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA256", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA256, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA384", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA384, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.HMACSHA512", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.HMACSHA512, key)); + TIPD.MyDebug.OutputDebugAndConsole("KeyedHashAlgorithm.MACTripleDES", GetKeyedHash.GetKeyedHashString(data, EnumKeyedHashAlgorithm.MACTripleDES, key)); } /// PasswordHash @@ -179,14 +173,16 @@ private static void PasswordHash() ret = GetPasswordHashV1.EqualSaltedPassword( providedPassword, hashedPassword.Substring(4), - EnumKeyedHashAlgorithm.MACTripleDES); - MyDebug.OutputDebugAndConsole("GetPasswordHashV1.EqualSaltedPassword (old)", ret.ToString()); + EnumKeyedHashAlgorithm.MACTripleDES, HashAlgorithmName.SHA1); + + TIPD.MyDebug.OutputDebugAndConsole("GetPasswordHashV1.EqualSaltedPassword (old)", ret.ToString()); ret = GetPasswordHashV2.EqualSaltedPassword( providedPassword, hashedPassword.Substring(4), - EnumKeyedHashAlgorithm.MACTripleDES); - MyDebug.OutputDebugAndConsole("GetPasswordHashV2.EqualSaltedPassword (old)", ret.ToString()); + EnumKeyedHashAlgorithm.MACTripleDES, HashAlgorithmName.SHA1); + + TIPD.MyDebug.OutputDebugAndConsole("GetPasswordHashV2.EqualSaltedPassword (old)", ret.ToString()); #endregion #region 可逆性確認 @@ -204,7 +200,7 @@ private static void PasswordHash() hashedPassword, EnumKeyedHashAlgorithm.MACTripleDES); - MyDebug.OutputDebugAndConsole("GetPasswordHashV2.EqualSaltedPassword (new)", ret.ToString()); + TIPD.MyDebug.OutputDebugAndConsole("GetPasswordHashV2.EqualSaltedPassword (new)", ret.ToString()); // HMACSHA512 hashedPassword = GetPasswordHashV2.GetSaltedPassword( @@ -220,7 +216,7 @@ private static void PasswordHash() hashedPassword, EnumKeyedHashAlgorithm.HMACSHA512); - MyDebug.OutputDebugAndConsole("GetPasswordHashV2.EqualSaltedPassword (new)", ret.ToString()); + TIPD.MyDebug.OutputDebugAndConsole("GetPasswordHashV2.EqualSaltedPassword (new)", ret.ToString()); #endregion } @@ -280,7 +276,10 @@ private static void PublicKeyCryptography() #region RSA privateX509Key = new X509Certificate2(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); publicX509Key = new X509Certificate2(Program.PublicRsaX509Path, "", x509KSF); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectPrivateX509Key("RSA", privateX509Key); + Touryo.Infrastructure.Public.Security. MyDebug.InspectPublicX509Key("RSA", publicX509Key); #endregion @@ -290,11 +289,14 @@ private static void PublicKeyCryptography() privateX509Key = new X509Certificate2(Program.PrivateDsaX509Path, Program.PfxPassword); publicX509Key = new X509Certificate2(Program.PublicDsaX509Path, ""); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectPrivateX509Key("DSA", privateX509Key); + Touryo.Infrastructure.Public.Security. MyDebug.InspectPublicX509Key("DSA", publicX509Key); DSA privateDSA = privateX509Key.GetDSAPrivateKey(); - MyDebug.OutputDebugAndConsole("privateDSA", (privateDSA == null ? "is null" : "is not null")); + TIPD.MyDebug.OutputDebugAndConsole("privateDSA", (privateDSA == null ? "is null" : "is not null")); //DSA publicDSA = null; // publicX509Key.GetDSAPublicKey(); // Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException #endregion @@ -302,13 +304,16 @@ private static void PublicKeyCryptography() // https://github.com/dotnet/corefx/issues/18733#issuecomment-296723615 privateX509Key = new X509Certificate2(Program.PrivateECDsaX509_256Path, Program.PfxPassword); publicX509Key = new X509Certificate2(Program.PublicECDsaX509_256Path, ""); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectPrivateX509Key("ECDsa", privateX509Key); + Touryo.Infrastructure.Public.Security. MyDebug.InspectPublicX509Key("ECDsa", publicX509Key); ECDsa privateECDsa = privateX509Key.GetECDsaPrivateKey(); - MyDebug.OutputDebugAndConsole("privateECDsa", (privateECDsa == null ? "is null" : "is not null")); + TIPD.MyDebug.OutputDebugAndConsole("privateECDsa", (privateECDsa == null ? "is null" : "is not null")); ECDsa publicECDsa = publicX509Key.GetECDsaPublicKey(); - MyDebug.OutputDebugAndConsole("publicECDsa", (publicECDsa == null ? "is null" : "is not null")); + TIPD.MyDebug.OutputDebugAndConsole("publicECDsa", (publicECDsa == null ? "is null" : "is not null")); #endregion #endif @@ -327,7 +332,7 @@ private static void PublicKeyCryptography() temp = ascPrivate.DecryptString(temp); - MyDebug.OutputDebugAndConsole("ASymCrypt(X509).Enc&Dec", (temp == moji).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("ASymCrypt(X509).Enc&Dec", (temp == moji).ToString()); #endregion @@ -355,24 +360,26 @@ private static void PublicKeyCryptography() sign = dsX509.Sign(data); dsX509 = new DigitalSignX509(Program.PublicRsaX509Path, "", "SHA256", x509KSF); - MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(RS256)", dsX509.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(RS256)", dsX509.Verify(data, sign).ToString()); // Param - dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.RsaCSP_SHA256); + dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.Rsa_SHA256); sign = dsParam.Sign(data); - dsParam = new DigitalSignParam((RSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.RsaCSP_SHA256); - MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(RS256)", dsParam.Verify(data, sign).ToString()); + dsParam = new DigitalSignParam((RSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.Rsa_SHA256); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(RS256)", dsParam.Verify(data, sign).ToString()); // XML - dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.RsaCSP_SHA256); + dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.Rsa_SHA256); sign = dsXML.Sign(data); #if !NETCOREAPP // NETCOREでは、XML鍵のExportが動かない。 - dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.RsaCSP_SHA256); + dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.Rsa_SHA256); #endif - MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(RS256)", dsXML.Verify(data, sign).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(RS256)", dsXML.Verify(data, sign).ToString()); #endregion #region DSA @@ -387,7 +394,8 @@ private static void PublicKeyCryptography() sign = dsParam.SignByFormatter(data); dsParam = new DigitalSignParam((DSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.DsaCSP_SHA1); - MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(DSA-SHA1)", dsParam.VerifyByDeformatter(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(DSA-SHA1)", dsParam.VerifyByDeformatter(data, sign).ToString()); // XML dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.DsaCSP_SHA1); @@ -397,8 +405,7 @@ private static void PublicKeyCryptography() // NETCOREでは、XML鍵のExportが動かない。 dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.DsaCSP_SHA1); #endif - - MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(DSA-SHA1)", dsXML.VerifyByDeformatter(data, sign).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(DSA-SHA1)", dsXML.VerifyByDeformatter(data, sign).ToString()); #endregion #region ECDsa @@ -409,7 +416,8 @@ private static void PublicKeyCryptography() sign = dsECDsaX509.Sign(data); dsECDsaX509 = new DigitalSignECDsaX509(Program.PublicECDsaX509_256Path, "", HashAlgorithmName.SHA256); - MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA-SHA256)", dsECDsaX509.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA-SHA256)", dsECDsaX509.Verify(data, sign).ToString()); #if NET47 || NETCOREAPP3_0 // Param @@ -429,7 +437,8 @@ private static void PublicKeyCryptography() sign = dsECDsaX509.Sign(data); dsECDsaX509 = new DigitalSignECDsaX509(Program.PublicECDsaX509_256Path, "", HashAlgorithmName.SHA512); - MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA-SHA512)", dsECDsaX509.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA-SHA512)", dsECDsaX509.Verify(data, sign).ToString()); #if NET47 || NETCOREAPP3_0 // Param @@ -452,21 +461,23 @@ private static void PublicKeyCryptography() sign = dsX509.Sign(data); dsX509 = new DigitalSignX509(Program.PublicRsaX509Path, "", "SHA256"); - MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(RS256)", dsX509.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(RS256)", dsX509.Verify(data, sign).ToString()); // Param - dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256); + dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.Rsa_SHA256); sign = dsParam.Sign(data); - dsParam = new DigitalSignParam((RSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256); - MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(RS256)", dsParam.Verify(data, sign).ToString()); + dsParam = new DigitalSignParam((RSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.Rsa_SHA256); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(RS256)", dsParam.Verify(data, sign).ToString()); // XML - dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256); + dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.Rsa_SHA256); sign = dsXML.Sign(data); //dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256); // 動かない - MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(RS256)", dsXML.Verify(data, sign).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(RS256)", dsXML.Verify(data, sign).ToString()); #endregion #region DSA @@ -475,21 +486,24 @@ private static void PublicKeyCryptography() sign = dsX509.Sign(data); dsX509 = new DigitalSignX509(Program.PublicDsaX509Path, "", "SHA256"); - MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(DSA-SHA256)", dsX509.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(DSA-SHA256)", dsX509.Verify(data, sign).ToString()); // Param dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); sign = dsParam.Sign(data); dsParam = new DigitalSignParam((DSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); - MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(DSA-SHA1)", dsParam.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(DSA-SHA1)", dsParam.Verify(data, sign).ToString()); // XML dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); sign = dsXML.Sign(data); //dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); // 動かない - MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(DSA-SHA1)", dsXML.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(DSA-SHA1)", dsXML.Verify(data, sign).ToString()); #endregion #region ECDsa (.NET Core on Linux) @@ -498,16 +512,18 @@ private static void PublicKeyCryptography() sign = dsECDsaX509.Sign(data); dsECDsaX509 = new DigitalSignECDsaX509(Program.PublicECDsaX509_256Path, "", HashAlgorithmName.SHA256); - MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA)", dsECDsaX509.Verify(data, sign).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA)", dsECDsaX509.Verify(data, sign).ToString()); // Param dsECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - EnumDigitalSignAlgorithm.ECDsaOpenSsl_P256, SHA256CryptoServiceProvider.Create()); + EnumDigitalSignAlgorithm.ECDsaOpenSsl_P256, SHA256.Create()); sign = dsECDsaOpenSsl.Sign(data); dsECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - dsECDsaOpenSsl.PublicKey.Value, SHA256CryptoServiceProvider.Create()); - MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(ECDSA-P256)", dsParam.Verify(data, sign).ToString()); + dsECDsaOpenSsl.PublicKey.Value, SHA256.Create()); + + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(ECDSA-P256)", dsParam.Verify(data, sign).ToString()); #endregion #endif } @@ -612,26 +628,33 @@ private static void MyJwt() // HS256 署名・検証 JWS_HS256 jWS_HS256 = new JWS_HS256(key); token = jWS_HS256.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_HS256.Create", token); - MyDebug.OutputDebugAndConsole("JWS_HS256.Verify", jWS_HS256.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS256.Verify", jWS_HS256.Verify(token).ToString()); // HS384 署名・検証 JWS_HS384 jWS_HS384 = new JWS_HS384(key); token = jWS_HS384.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_HS384.Create", token); - MyDebug.OutputDebugAndConsole("JWS_HS384.Verify", jWS_HS384.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS384.Verify", jWS_HS384.Verify(token).ToString()); // HS512 署名・検証 JWS_HS512 jWS_HS512 = new JWS_HS512(key); token = jWS_HS512.Create(payloadString); - MyDebug.InspectJwt("JWS_HS512.Create", token); - MyDebug.OutputDebugAndConsole("JWS_HS512.Verify", jWS_HS512.Verify(token).ToString()); + + Touryo.Infrastructure.Public.Security.MyDebug.InspectJwt("JWS_HS512.Create", token); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS512.Verify", jWS_HS512.Verify(token).ToString()); // JWKを使用 jWS_HS512 = new JWS_HS512(jWS_HS512.JWK); token = jWS_HS512.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_HS512.Create with JWK", token); - MyDebug.OutputDebugAndConsole("JWS_HS512.Verify with JWK", jWS_HS512.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS512.Verify with JWK", jWS_HS512.Verify(token).ToString()); #endregion #region RSA(RS) @@ -640,20 +663,25 @@ private static void MyJwt() // 署名(X509) jWS_RS256_X509 = new JWS_RS256_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); token = jWS_RS256_X509.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_RS256_X509.Create", token); // 鍵の相互変換 rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._256); jwk = rpkc.ParamToJwk(((RSA)jWS_RS256_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); // 検証(X509) jWS_RS256_X509 = new JWS_RS256_X509(Program.PublicRsaX509Path, "", x509KSF); - MyDebug.OutputDebugAndConsole("JWS_RS256_X509.Verify", jWS_RS256_X509.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_X509.Verify", jWS_RS256_X509.Verify(token).ToString()); // 検証(Param) jWS_RS256_Param = new JWS_RS256_Param(rpkc.JwkToParam(jwk)); - MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); #endregion #if NETCOREAPP #else @@ -661,40 +689,48 @@ private static void MyJwt() // 署名(XML) jWS_RS384_XML = new JWS_RS384_XML(); token = jWS_RS384_XML.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("jWS_RS384_XML.Create", token); // 鍵の相互変換 rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._384); jwk = rpkc.XmlToJwk(jWS_RS384_XML.XMLPrivateKey); - MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); // 検証(XML) //jWS_RS384_XML = new JWS_RS384_XML(jWS_RS384_XML.XMLPrivateKey); - MyDebug.OutputDebugAndConsole("JWS_RS384_XML.Verify", jWS_RS384_XML.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS384_XML.Verify", jWS_RS384_XML.Verify(token).ToString()); // 検証(Param) jWS_RS384_Param = new JWS_RS384_Param(rpkc.JwkToParam(jwk)); - MyDebug.OutputDebugAndConsole("JWS_RS384_Param.Verify", jWS_RS384_Param.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS384_Param.Verify", jWS_RS384_Param.Verify(token).ToString()); #endregion #region 512 // 署名(X509) jWS_RS512_X509 = new JWS_RS512_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); token = jWS_RS512_X509.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_RS512_X509.Create", token); // 鍵の相互変換 rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._512); jwk = rpkc.ParamToJwk(((RSA)jWS_RS512_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); // 検証(X509) jWS_RS512_X509 = new JWS_RS512_X509(Program.PublicRsaX509Path, "", x509KSF); - MyDebug.OutputDebugAndConsole("JWS_RS512_X509.Verify", jWS_RS512_X509.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_X509.Verify", jWS_RS512_X509.Verify(token).ToString()); // 検証(Param) jWS_RS512_Param = new JWS_RS512_Param(rpkc.JwkToParam(jwk)); - MyDebug.OutputDebugAndConsole("JWS_RS512_Param.Verify", jWS_RS512_Param.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_Param.Verify", jWS_RS512_Param.Verify(token).ToString()); #endregion #endif #endregion @@ -708,6 +744,8 @@ private static void MyJwt() // 署名(X509) jWS_ES256_X509 = new JWS_ES256_X509(Program.PrivateECDsaX509_256Path, Program.PfxPassword); token = jWS_ES256_X509.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_ES256_X509.Create", token); // 鍵の相互変換 @@ -715,11 +753,12 @@ private static void MyJwt() jwk = epkc.ParamToJwk( ((ECDsa)jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); + TIPD.MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); // 検証(X509) jWS_ES256_X509 = new JWS_ES256_X509(Program.PublicECDsaX509_256Path, ""); - MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); #if NET47 || NETCOREAPP3_0 // 検証(Param) @@ -816,20 +855,25 @@ private static void MyJwt() // 署名(X509) jWS_RS256_X509 = new JWS_RS256_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); token = jWS_RS256_X509.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_RS256_X509.Create", token); // 鍵の相互変換 rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._256); jwk = rpkc.ParamToJwk(((RSA)jWS_RS256_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); // 検証(X509) jWS_RS256_X509 = new JWS_RS256_X509(Program.PublicRsaX509Path, "", x509KSF); - MyDebug.OutputDebugAndConsole("JWS_RS256_X509.Verify", jWS_RS256_X509.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_X509.Verify", jWS_RS256_X509.Verify(token).ToString()); // 検証(Param) jWS_RS256_Param = new JWS_RS256_Param(rpkc.JwkToParam(jwk)); - MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); #endregion // DSA @@ -838,21 +882,25 @@ private static void MyJwt() // 署名(X509) jWS_ES256_X509 = new JWS_ES256_X509(Program.PrivateECDsaX509_256Path, Program.PfxPassword); token = jWS_ES256_X509.Create(payloadString); + + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt("JWS_ES256_X509.Create", token); // 鍵の相互変換 epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._256); jwk = epkc.ParamToJwk(((ECDsa)jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); + TIPD.MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); // 検証(X509) jWS_ES256_X509 = new JWS_ES256_X509(Program.PublicECDsaX509_256Path, ""); - MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); // 検証(Param) jWS_ES256_Param = new JWS_ES256_Param(epkc.JwkToParam(jwk), false); - MyDebug.OutputDebugAndConsole("JWS_ES256_Param.Verify", jWS_ES256_X509.Verify(token).ToString()); + + TIPD.MyDebug.OutputDebugAndConsole("JWS_ES256_Param.Verify", jWS_ES256_X509.Verify(token).ToString()); // ★ xLibTest Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES256); @@ -871,7 +919,8 @@ private static void MyJwt() // 復号化 jwe = new JWE_RsaOaepAesGcm_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); ret = jwe.Decrypt(token, out temp); - MyDebug.OutputDebugAndConsole("JWE_RsaOaepAesGcm_X509.Decrypt", ret.ToString() + " : " + temp); + + TIPD.MyDebug.OutputDebugAndConsole("JWE_RsaOaepAesGcm_X509.Decrypt", ret.ToString() + " : " + temp); // ★ xLibTest Program.VerifyResultJwt("JweAlgorithm.xLibTest", token, @@ -886,7 +935,8 @@ private static void MyJwt() // 復号化 jwe = new JWE_Rsa15A128CbcHS256_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); ret = jwe.Decrypt(token, out temp); - MyDebug.OutputDebugAndConsole("JWE_Rsa15A128CbcHS256_X509.Decrypt", ret.ToString() + " : " + temp); + + TIPD.MyDebug.OutputDebugAndConsole("JWE_Rsa15A128CbcHS256_X509.Decrypt", ret.ToString() + " : " + temp); // ★ xLibTest Program.VerifyResultJwt("JweAlgorithm.xLibTest", token, @@ -966,7 +1016,8 @@ private static void JoseJwt() // https://github.com/dvsekhvalnov/jose-jwt#creating-plaintext-unprotected-tokens token = ""; token = JWT.Encode(payload, null, JwsAlgorithm.none); - MyDebug.OutputDebugAndConsole("JwsAlgorithm.none", token); + + TIPD.MyDebug.OutputDebugAndConsole("JwsAlgorithm.none", token); #endregion #region JWS (Creating signed Tokens) @@ -992,7 +1043,7 @@ private static void JoseJwt() #if NETCOREAPP - rsa = (RSA)privateX509Key.PrivateKey; + rsa = (RSA)privateX509Key.GetRSAPrivateKey();//.PrivateKey; #else // .net frameworkでは、何故かコレが必要。 rsa = (RSA)AsymmetricAlgorithmCmnFunc.CreateSameKeySizeSP(privateX509Key.PrivateKey); @@ -1059,7 +1110,7 @@ private static void JoseJwt() { // ECCurveを分析してみる。 ECCurve eCCurve = ((ECDsaOpenSsl)privateX509Key.GetECDsaPrivateKey()).ExportExplicitParameters(true).Curve; - MyDebug.OutputDebugAndConsole("Inspect ECCurve", ObjectInspector.Inspect(eCCurve)); + TIPD.MyDebug.OutputDebugAndConsole("Inspect ECCurve", TIPD.ObjectInspector.Inspect(eCCurve)); } #endif token = ""; @@ -1068,7 +1119,7 @@ private static void JoseJwt() } catch (Exception ex) { - MyDebug.OutputDebugAndConsole("JwsAlgorithm.ES256", ex.GetType().ToString() + ", " + ex.Message); + TIPD.MyDebug.OutputDebugAndConsole("JwsAlgorithm.ES256", ex.GetType().ToString() + ", " + ex.Message); } #endif @@ -1087,20 +1138,20 @@ private static void JoseJwt() // RSAES-PKCS1-v1_5 and AES_128_CBC_HMAC_SHA_256 token = ""; - token = JWT.Encode(payload, publicX509Key.PublicKey.Key, JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256); - Program.VerifyResultJwt("JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256", token, privateX509Key.PrivateKey); + token = JWT.Encode(payload, publicX509Key.GetRSAPublicKey(), JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256); + Program.VerifyResultJwt("JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256", token, privateX509Key.GetRSAPrivateKey()); // RSAES-OAEP and AES GCM try { token = ""; - token = JWT.Encode(payload, publicX509Key.PublicKey.Key, JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM); - Program.VerifyResultJwt("JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM", token, privateX509Key.PrivateKey); + token = JWT.Encode(payload, publicX509Key.GetRSAPublicKey(), JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM); + Program.VerifyResultJwt("JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM", token, privateX509Key.GetRSAPrivateKey()); } catch (Exception ex) { // Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'bcrypt.dll' at ubunntu - MyDebug.OutputDebugAndConsole("JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM", ex.GetType().ToString() + ", " + ex.Message); + TIPD.MyDebug.OutputDebugAndConsole("JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM", ex.GetType().ToString() + ", " + ex.Message); } #endregion @@ -1135,7 +1186,7 @@ private static void JoseJwt() catch (Exception ex) { // Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'bcrypt.dll' at ubunntu - MyDebug.OutputDebugAndConsole("JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512", ex.GetType().ToString() + ", " + ex.Message); + TIPD.MyDebug.OutputDebugAndConsole("JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512", ex.GetType().ToString() + ", " + ex.Message); } #endregion @@ -1154,7 +1205,7 @@ private static void JoseJwt() catch (Exception ex) { // System.NotImplementedException: 'not yet' - MyDebug.OutputDebugAndConsole("JweAlgorithm.ECDH_ES, JweEncryption.A256GCM", ex.GetType().ToString() + ", " + ex.Message); + TIPD.MyDebug.OutputDebugAndConsole("JweAlgorithm.ECDH_ES, JweEncryption.A256GCM", ex.GetType().ToString() + ", " + ex.Message); } #endregion @@ -1189,7 +1240,7 @@ private static void JoseJwt() publicX509Key = new X509Certificate2(Program.PublicRsaX509Path, "", x509KSF); #if NETCOREAPP - rsa = (RSA)privateX509Key.PrivateKey; + rsa = (RSA)privateX509Key.GetRSAPrivateKey(); #else // .net frameworkでは、何故かコレが必要。 rsa = (RSA)AsymmetricAlgorithmCmnFunc.CreateSameKeySizeSP(privateX509Key.PrivateKey); @@ -1203,7 +1254,7 @@ private static void JoseJwt() #region Strict validation // https://github.com/dvsekhvalnov/jose-jwt#strict-validation // 厳密な検証では、Algorithmを指定可能 - MyDebug.OutputDebugAndConsole("Strict validation(RS256)", JWT.Decode(token, rsa, JwsAlgorithm.RS256)); + TIPD.MyDebug.OutputDebugAndConsole("Strict validation(RS256)", JWT.Decode(token, rsa, JwsAlgorithm.RS256)); #endregion #region Two-phase validation @@ -1311,7 +1362,7 @@ private static void SignedXml() // 外側 (a ret = signedXml.Verify(xml, "a"); - MyDebug.OutputDebugAndConsole("Verify nested signedXml", ret.ToString() + " : " + xml); + TIPD.MyDebug.OutputDebugAndConsole("Verify nested signedXml", ret.ToString() + " : " + xml); } #endregion @@ -1327,17 +1378,18 @@ private static void SignedXml() /// JwsAlgorithm? private static void VerifyResultJwt(string testLabel, string jwt, object key, JwsAlgorithm? alg = null) { - MyDebug.OutputDebugAndConsole(testLabel, "Original:" + jwt); + TIPD.MyDebug.OutputDebugAndConsole(testLabel, "Original:" + jwt); + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt(testLabel, jwt); if (alg.HasValue) { - MyDebug.OutputDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key, alg.Value)); + TIPD.MyDebug.OutputDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key, alg.Value)); } else { - MyDebug.OutputDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key)); + TIPD.MyDebug.OutputDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key)); } } @@ -1349,11 +1401,12 @@ private static void VerifyResultJwt(string testLabel, string jwt, object key, Jw /// JweEncryption private static void VerifyResultJwt(string testLabel, string jwt, object key, JweAlgorithm alg, JweEncryption enc) { - MyDebug.OutputDebugAndConsole(testLabel, "Original:" + jwt); + TIPD.MyDebug.OutputDebugAndConsole(testLabel, "Original:" + jwt); + Touryo.Infrastructure.Public.Security. MyDebug.InspectJwt(testLabel, jwt); - MyDebug.OutputDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key, alg, enc)); + TIPD.MyDebug.OutputDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key, alg, enc)); } #endregion diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt index 58e7f3b41..c5cd64098 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt @@ -1,166 +1,163 @@ -HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.MD5_CSP > FQ2+bMMhF8fDG0fkIOd9fA== -HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= -HashAlgorithm.SHA1_CSP > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA1_M > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA256_CSP > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA256_M > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA384_CSP > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA384_M > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA512_CSP > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -HashAlgorithm.SHA512_M > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -HashAlgorithm.MD5_CNG > FQ2+bMMhF8fDG0fkIOd9fA== -HashAlgorithm.SHA1_CNG > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA256_CNG > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA384_CNG > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA512_CNG > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== -KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= -KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= -KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms -KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== -KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= -GetPasswordHashV1.EqualSaltedPassword (old) > True -GetPasswordHashV2.EqualSaltedPassword (old) > False -GetPasswordHashV2.EqualSaltedPassword (new) > True -GetPasswordHashV2.EqualSaltedPassword (new) > True ----------------------------------------------------------------------------------------------------- -RSA > X509Certificate2.PrivateKey: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACryptoServiceProvider -RSA > publicX509Key: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSACryptoServiceProvider -ASymCrypt(X509).Enc&Dec > True -DigitalSignX509.Verify(RS256) > True -DigitalSignParam.Verify(RS256) > True -DigitalSignXML.Verify(RS256) > True -DigitalSignParam.Verify(DSA-SHA1) > True -DigitalSignXML.Verify(DSA-SHA1) > True ----------------------------------------------------------------------------------------------------- -JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} -JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ -JWS_HS256.Verify > True -JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} -JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb -JWS_HS384.Verify > True -JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify > True -JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify with JWK > True -JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} -JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} -JWS_RS256_X509.Verify > True -JWS_RS256_Param.Verify > True -jWS_RS384_XML.Create > JWS Header: {"alg":"RS384","typ":"JWT"} -jWS_RS384_XML.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -jWS_RS384_XML.Create > JWS Signature: YqfhWA6lXCZEQ8YHqpcaFoWXJ0j4ng_4z21dM2ErOZy2QUmUvzoUatSl3GWmbob0Az83T3mTSNQt93m5YRF5nbqD01zjq5as-q8IWIAvblQPPfm2x-OpYCDX0KECvJCcMLoZqqgWz-ItzbMIAk6dOHig7gaxsGSQlK1aeFRmxWk -RSA JWK > {"kty":"RSA","alg":"RS384","n":"wLWupuAZvAB9lMmTJJsZA0KXDdnTfQAkjxDHkIszRrb6iFHZONS22HM60SWu92_dpk7N1XGtEXSnt9dN9ycbfjrggAMj1XSWcVyu-u6ogtVSOnpnll7Awqpisv1e-kUxdK1XbqIak3KuXLFlMud4hGjspcFjovsG5H-XpecJ7Vk","e":"AQAB","kid":"L7nic1BgbAjjpSiFXPx8lVln3fnNi66zGXZofxeV6AH39_ReQG5yOKCIwOkq588U"} -JWS_RS384_XML.Verify > True -JWS_RS384_Param.Verify > True -JWS_RS512_X509.Create > JWS Header: {"alg":"RS512","typ":"JWT"} -JWS_RS512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_RS512_X509.Create > JWS Signature: Hu7kkEBidhzIDOT-GDElTyZutarV9q5K29say3_dNNTTkK1QV13r_0wfEg-g52mOXgBHtM0ITiUMz3KkB71RYk6_Ga7GXCxQQGJ-v_aI-49N4pnCZ9CLEehiaZ-76XDSS3VrOlhYEGxGznACMyAF6maxvkJF2kANTTKYk7Z-EZ6T90lD-6C5lOy3h_CEx_WzUoLD2u_4oa2apNFEtMtbRYI50gq4gUSFjFmh2lnm-_xvgLYbruM5Q7VJK5c_8uCu39SetNanCnAps816Ve2JqCRd6XfMQgfsl1Uc4iC26B51dUmR-SXCpOMmlJ3vKC5gFFmX7aY5iaqEKaiR2JAgLA -RSA JWK > {"kty":"RSA","alg":"RS512","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"w8oMM75dlmuzJhKJmh8lS3VtmPxuWPxFk6SlZ0BGOdcE67qkeIDNhHwc1ZDO8_sfqNxBxBXSS6MU96wFO6J_Iw"} -JWS_RS512_X509.Verify > True -JWS_RS512_Param.Verify > True -JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.fts8HONDMJLEfw5-viNwgOofdplLf4AYppRFodgo_vw_ZzGbKIUOsyLwlo73PN1dpIehjmXQB2yeSxGxBgsHJP3yW5uFaG9oa8N5Cb3IJREIJJhQ9gaxNfHGthvsvyxVFneF482oIo_YiV2-Dd4JpAuiChFxZyC-CQAGzA5YuyIqGsg6xRdfQaF9cSJ00UAKG_4DEO3xmb3SkXi1M-KWnItAh2Xp9B6CCPI-OPeZH4MCK8jjL_BhjChNE0fGQEAjfxGn-c16ec-z__iIrnOQDuS6-2I6bw5BLfh6tzMlYB-eFEYPXkO8T6HyGj8byXJAqorcl2VcDFNsAo_gSKngHQ.rg61cEdCgly9JRB_.13t-JrDkfZADMlpDc3QnaVIcUPHPL8demegMwVuUiOobFofM4Vcj_KMgiA.z5MvXMNX4VdKWlFbsGPTrQ -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: fts8HONDMJLEfw5-viNwgOofdplLf4AYppRFodgo_vw_ZzGbKIUOsyLwlo73PN1dpIehjmXQB2yeSxGxBgsHJP3yW5uFaG9oa8N5Cb3IJREIJJhQ9gaxNfHGthvsvyxVFneF482oIo_YiV2-Dd4JpAuiChFxZyC-CQAGzA5YuyIqGsg6xRdfQaF9cSJ00UAKG_4DEO3xmb3SkXi1M-KWnItAh2Xp9B6CCPI-OPeZH4MCK8jjL_BhjChNE0fGQEAjfxGn-c16ec-z__iIrnOQDuS6-2I6bw5BLfh6tzMlYB-eFEYPXkO8T6HyGj8byXJAqorcl2VcDFNsAo_gSKngHQ -JweAlgorithm.xLibTest > JWE Initialization Vector: rg61cEdCgly9JRB_ -JweAlgorithm.xLibTest > JWE Ciphertext: 13t-JrDkfZADMlpDc3QnaVIcUPHPL8demegMwVuUiOobFofM4Vcj_KMgiA -JweAlgorithm.xLibTest > JWE Authentication Tag: z5MvXMNX4VdKWlFbsGPTrQ -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.OPBQZY-Q282eP30S-3u9hxf1cOVO_dQYJ-FB7aaKgYxSTRNtXr0XtNzVvIdXNsb6_2TFPtaj2MEuIgtF0hJlRBdApmexme9avc7oVyg37_lOkPXYDjdtv0EURfjAjyQC9DUBgxofUpmad85T0NzlSx45UOuM8-VTDFLCZU-KfNUuaUKhXeE6pG7-S8DFR1_mH6TarCZ_WELmc9mlbBBRjmO11hG8_hS8r0tx3E-LibR7IzqOCfXgL-ZxyCLzb9iqH4Iij0x_Y0_ORgCsmDDpW5-HCKHBwkUCCLy9aEjJWCcHIYVDHer_kkhDS2u1BcM_c0JGlT9BK-Q96pv-R3gxyQ.JcOeQyHxhR8zqwy19wyxIg.ivGGYZeu8QPYWB5u3AvIn3rOCXMKtCLSlCtO3mq3HJqBNGvGL2198-JO5S-QY79c.47TA7zkeXkj9HPkX7hZCng -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: OPBQZY-Q282eP30S-3u9hxf1cOVO_dQYJ-FB7aaKgYxSTRNtXr0XtNzVvIdXNsb6_2TFPtaj2MEuIgtF0hJlRBdApmexme9avc7oVyg37_lOkPXYDjdtv0EURfjAjyQC9DUBgxofUpmad85T0NzlSx45UOuM8-VTDFLCZU-KfNUuaUKhXeE6pG7-S8DFR1_mH6TarCZ_WELmc9mlbBBRjmO11hG8_hS8r0tx3E-LibR7IzqOCfXgL-ZxyCLzb9iqH4Iij0x_Y0_ORgCsmDDpW5-HCKHBwkUCCLy9aEjJWCcHIYVDHer_kkhDS2u1BcM_c0JGlT9BK-Q96pv-R3gxyQ -JweAlgorithm.xLibTest > JWE Initialization Vector: JcOeQyHxhR8zqwy19wyxIg -JweAlgorithm.xLibTest > JWE Ciphertext: ivGGYZeu8QPYWB5u3AvIn3rOCXMKtCLSlCtO3mq3HJqBNGvGL2198-JO5S-QY79c -JweAlgorithm.xLibTest > JWE Authentication Tag: 47TA7zkeXkj9HPkX7hZCng -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. -JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} -JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.jU5ofhOV4bs49nw3mJ_JilI6rnOdRxbPNdxQB-N0P9_wFVgXE_i354zTxDhWGWSsUyT4h3GETWD9yJIKKM90ml7wJYWOTqm9WcOFvZK-Dm-zqqD2M_LnkHRftEUk4eRauU70iz-YVfHLHzeOcH6yNEbjlqK3Q3hjlqiEoptjZwI -JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} -JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > JWS Signature: jU5ofhOV4bs49nw3mJ_JilI6rnOdRxbPNdxQB-N0P9_wFVgXE_i354zTxDhWGWSsUyT4h3GETWD9yJIKKM90ml7wJYWOTqm9WcOFvZK-Dm-zqqD2M_LnkHRftEUk4eRauU70iz-YVfHLHzeOcH6yNEbjlqK3Q3hjlqiEoptjZwI -JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.lJRKvOeXF9V01DHEEbi8gQlqNI8zjbVkF5Mo1IwdfhhoquA8fJAZnLLVL-vN3UNsywa73E1Vbh4zlgOopwns9w -JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > JWS Signature: lJRKvOeXF9V01DHEEbi8gQlqNI8zjbVkF5Mo1IwdfhhoquA8fJAZnLLVL-vN3UNsywa73E1Vbh4zlgOopwns9w -JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.YEog_m1o_aw299crh6iCuVpSAzAbEs913ycos0GhL992eyW34fsSGZsu4gTaxBAUXAxTQuiDLGwyyDsUMVjQ_d49zyyjjli3mC5gZc-x-iVVYQxcHzZRu6WyeXp0dN4lHQp2uMT5i_xIdAMUOiqwBwLsli0ZJfhYrVQ3jSAln4nkxbwfpSj2uI_tX3FQf0WwibjE5tLw0xnOjUyvjim9KCGV6H4k1DippMk7eaodYZG95jkYP9g06ZS5Kgbq-T0P4SP9kemG2ga0Ps_xHBPAuufkk3oshumhSPucwjF-BsF3tPuC2GbxQ4iTeBVhQeRgsTSS3S7zQFa5k1rB3IikNA.HY8gVsPoqYI4iS6oZ67ksA.hIWp-_8Xql_1n_apVUdPidymEnk7PO3d372pu1FDbgd1IwdAlqRsu2IqTu_8NGao.z5oknxP-EaQBHKHa_k7T2A -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: YEog_m1o_aw299crh6iCuVpSAzAbEs913ycos0GhL992eyW34fsSGZsu4gTaxBAUXAxTQuiDLGwyyDsUMVjQ_d49zyyjjli3mC5gZc-x-iVVYQxcHzZRu6WyeXp0dN4lHQp2uMT5i_xIdAMUOiqwBwLsli0ZJfhYrVQ3jSAln4nkxbwfpSj2uI_tX3FQf0WwibjE5tLw0xnOjUyvjim9KCGV6H4k1DippMk7eaodYZG95jkYP9g06ZS5Kgbq-T0P4SP9kemG2ga0Ps_xHBPAuufkk3oshumhSPucwjF-BsF3tPuC2GbxQ4iTeBVhQeRgsTSS3S7zQFa5k1rB3IikNA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: HY8gVsPoqYI4iS6oZ67ksA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: hIWp-_8Xql_1n_apVUdPidymEnk7PO3d372pu1FDbgd1IwdAlqRsu2IqTu_8NGao -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: z5oknxP-EaQBHKHa_k7T2A -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.E71VLnCidYqDvi91jV7NUh8I5dkt0tKJM3aAkzfrUUcvXoC-kkBA5HcnKQZLBQhymWb0nadVbVtJdut8BXpDrPK7zIv-cla2FmFcABPewQbPO7ip4kZ65ni4yudinP90hu6uldJCA8XK5Rk2HvRHr0tniEWatMrDu_TnGokEzfEwEbKzZSDhB_Xc8SHgPsocsbS5hUoOqQpxHWGXULQEwnLAAN2u1S6AeTHeZmh-pwnbzpG6tiUMjGjTwzodtFp8HNAngqzjWNxQ5Ykq2IVgSB1CXbhUrMBSOA-vA8lUevsFTa82gKtg6PSKsVdazxVfMzZzMnNQ5BBv8bkiJ0rvXg.MnYiPzpFlFnng5Og.EzXAcYfk29XNmtb_rQvKk3KYSNHodFvQ_1QoNVQhIuIPtI6jZtHFQdfDMA.mtBv8CB5QkzfX4PLXThLWw -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: E71VLnCidYqDvi91jV7NUh8I5dkt0tKJM3aAkzfrUUcvXoC-kkBA5HcnKQZLBQhymWb0nadVbVtJdut8BXpDrPK7zIv-cla2FmFcABPewQbPO7ip4kZ65ni4yudinP90hu6uldJCA8XK5Rk2HvRHr0tniEWatMrDu_TnGokEzfEwEbKzZSDhB_Xc8SHgPsocsbS5hUoOqQpxHWGXULQEwnLAAN2u1S6AeTHeZmh-pwnbzpG6tiUMjGjTwzodtFp8HNAngqzjWNxQ5Ykq2IVgSB1CXbhUrMBSOA-vA8lUevsFTa82gKtg6PSKsVdazxVfMzZzMnNQ5BBv8bkiJ0rvXg -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: MnYiPzpFlFnng5Og -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: EzXAcYfk29XNmtb_rQvKk3KYSNHodFvQ_1QoNVQhIuIPtI6jZtHFQdfDMA -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: mtBv8CB5QkzfX4PLXThLWw -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.._KGXhVKjZqHKxATyfenHFQ.wsLnJKWs3_CTCgZvmm2lWOdDyD8FEXli2C885vMo3AzVxdjPLVL95r1JPyB6qrJQ.sHX7-eHKmMh0Qwxd1PJG7w -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: _KGXhVKjZqHKxATyfenHFQ -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: wsLnJKWs3_CTCgZvmm2lWOdDyD8FEXli2C885vMo3AzVxdjPLVL95r1JPyB6qrJQ -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: sHX7-eHKmMh0Qwxd1PJG7w -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.c-LavtgG1Iap2Eo9eaNTREFyRM7AQix7nEc_4_LMX-LCkoK-lVXK0D_KixJ-xVMBh7zHwYVgmtMJk9uIeJVrF4aOa-IDP_1b._vPLwpVNSy7PRg9MXZPsFQ.VLnUiwSOXsexRdMdTqjcHowBu1KukDNe9RmKwCYVJY8X8jsoFRZkOi23LLAobzk4.nvxDiygV-kP8eqachKUyPrrRqcBItmZQoaGjX24fnfs -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: c-LavtgG1Iap2Eo9eaNTREFyRM7AQix7nEc_4_LMX-LCkoK-lVXK0D_KixJ-xVMBh7zHwYVgmtMJk9uIeJVrF4aOa-IDP_1b -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: _vPLwpVNSy7PRg9MXZPsFQ -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: VLnUiwSOXsexRdMdTqjcHowBu1KukDNe9RmKwCYVJY8X8jsoFRZkOi23LLAobzk4 -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: nvxDiygV-kP8eqachKUyPrrRqcBItmZQoaGjX24fnfs -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6IjNhSlFidUpzTEhBblpHdE0iLCJ0YWciOiJkNEVwUDNBa1lQRk5FSElua0M4QXpRIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.PH8L1ifQjVPJ3dA7b6iAfRJNMpPS33nFXvtV_Z5gJIpGy5NLdOYzqNWM3plh4NsI-J6BNZ9bLXKpZRurfs7Wvw.HOvnWSn9IduyUvtZ-Ad5Og.3uyg_dt2yyU2okxDmYmzaXrydNrBaIJwLocK6MwFTStxY8UBkdhoDmhTTTlW77zr.3jPtbaal7IS1iFOSfZInRoo-q189zjNZKSczIQzpxxw -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"3aJQbuJsLHAnZGtM","tag":"d4EpP3AkYPFNEHInkC8AzQ","enc":"A256CBC-HS512"} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: PH8L1ifQjVPJ3dA7b6iAfRJNMpPS33nFXvtV_Z5gJIpGy5NLdOYzqNWM3plh4NsI-J6BNZ9bLXKpZRurfs7Wvw -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: HOvnWSn9IduyUvtZ-Ad5Og -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: 3uyg_dt2yyU2okxDmYmzaXrydNrBaIJwLocK6MwFTStxY8UBkdhoDmhTTTlW77zr -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: 3jPtbaal7IS1iFOSfZInRoo-q189zjNZKSczIQzpxxw -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6IklXcFgyd2h6QjhLWHdqbWpDZDRReENWSkgwUGsxRjN6dzdFdG92WUljaDgiLCJ5IjoiaF9WUFl0Y3hoR29CMmNaZThZblRtU3paMzVCWWI5MGFfdzJHM01lclZMVSIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..auii-8Ozc3QpbHVs.xS3BBVTaAzQ8VYlOPsivzvno8rpmSJMqiFUv2bjNqdGMmUdwn6R0iFZjIw.EClmn7qWfb_KRutPIjrxlA -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"IWpX2whzB8KXwjmjCd4QxCVJH0Pk1F3zw7EtovYIch8","y":"h_VPYtcxhGoB2cZe8YnTmSzZ35BYb90a_w2G3MerVLU","crv":"P-256"},"enc":"A256GCM"} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: auii-8Ozc3QpbHVs -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: xS3BBVTaAzQ8VYlOPsivzvno8rpmSJMqiFUv2bjNqdGMmUdwn6R0iFZjIw -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: EClmn7qWfb_KRutPIjrxlA -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 - -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6Iml5aHJJTmR4dHpuOGwzWWYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.gCVw3TyGjPiLXepao5bWe4BXa4-ZtSA7qAV1lQNOTyG9Pa4iUBo0iNkuJoqcuPzQWVQx4UIm9QsRPkr7YG8XWnBGuD4MHP2Q.s3dTLnF5W9zBMOfppm0o9A.cBS_TuTqSiJ5FiureuIK4igFiTpsfzFbhvPhvUURVos7PvwpG9y3XXKgazS8g57e.d0ilG2WnZLUWBRSVh2DZ1lLD0Xhn0G9lxMEQoae7_Sg -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"iyhrINdxtzn8l3Yf","enc":"A256CBC-HS512"} -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: gCVw3TyGjPiLXepao5bWe4BXa4-ZtSA7qAV1lQNOTyG9Pa4iUBo0iNkuJoqcuPzQWVQx4UIm9QsRPkr7YG8XWnBGuD4MHP2Q -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: s3dTLnF5W9zBMOfppm0o9A -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: cBS_TuTqSiJ5FiureuIK4igFiTpsfzFbhvPhvUURVos7PvwpG9y3XXKgazS8g57e -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: d0ilG2WnZLUWBRSVh2DZ1lLD0Xhn0G9lxMEQoae7_Sg -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.nqqldo29X3wKjTY0dE5ySbNgxBhwens1msUGwfF_l8jHk8tWvNihENbKLWGVt5RpqJLml8ULjU7zJ3C3U4_LYIDWMVwuan_XWtdSdjCxCiYEwIm63PdE1qLxtXPbmhzyYYtjra5VexOMeyDeo1DAeRNkehg_t5wh8Y-r6jyQOPs -Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} -Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > JWS Signature: nqqldo29X3wKjTY0dE5ySbNgxBhwens1msUGwfF_l8jHk8tWvNihENbKLWGVt5RpqJLml8ULjU7zJ3C3U4_LYIDWMVwuan_XWtdSdjCxCiYEwIm63PdE1qLxtXPbmhzyYYtjra5VexOMeyDeo1DAeRNkehg_t5wh8Y-r6jyQOPs -Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} -Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=GOT6ly8PtfAyxS6JuV+zGDMxT1CBsp9sJn8qNYJ+WuFSgeOLiATpL35XUpA/cKPHiZAOw9jNEp0AB3CLzsrDbc6gJJTS73bpc/qqLXDBLEk4ksbJPfxtSPWi3Myz1hdVYxNFfrILmgXrupMJd65tGXbfqCVxRUsZpjeOsXkzqD4=poVTKgpGyKfxD8FtZpdcoBalxDtm6EDfobfiOOHzdFQ=LJptvBtEBCXwN1piIZ68XuDLN5OAF0D5M+SJBLIb5FNG1H0qiX/vCkQ6Q/IBB70eanmRTs+IH8Qn7AqNrte/S2IUz064R9mNzn+mrCVRGbPGwZkrGn+Xq5bs7c4uKKmZlQIOciQPgUW3VW8+lkDVQfJ3MoAS7BYOEY6NVG0H0aU= +HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= +HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +HashAlgorithm.MD5_CNG > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.SHA1_CNG > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256_CNG > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384_CNG > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512_CNG > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== +KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= +KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= +KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms +KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== +KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= +GetPasswordHashV1.EqualSaltedPassword (old) > True +GetPasswordHashV2.EqualSaltedPassword (old) > False +GetPasswordHashV2.EqualSaltedPassword (new) > True +GetPasswordHashV2.EqualSaltedPassword (new) > True +---------------------------------------------------------------------------------------------------- +RSA > X509Certificate2.PrivateKey: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng +RSA > publicX509Key: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSACng +ASymCrypt(X509).Enc&Dec > True +DigitalSignX509.Verify(RS256) > True +DigitalSignParam.Verify(RS256) > True +DigitalSignXML.Verify(RS256) > True +DigitalSignParam.Verify(DSA-SHA1) > True +DigitalSignXML.Verify(DSA-SHA1) > True +---------------------------------------------------------------------------------------------------- +JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} +JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ +JWS_HS256.Verify > True +JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} +JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb +JWS_HS384.Verify > True +JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify > True +JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify with JWK > True +JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} +JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} +JWS_RS256_X509.Verify > True +JWS_RS256_Param.Verify > True +jWS_RS384_XML.Create > JWS Header: {"alg":"RS384","typ":"JWT"} +jWS_RS384_XML.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +jWS_RS384_XML.Create > JWS Signature: j_8_p49JMuj4oWK0fvINt7XaD7T_Vs4KqaAPqDTQKC8a_rOyvCmgixGIZKs-vFKNtTKYbFOkL8Ug8Dy6TLfefPr4kDJzpR0Tpy69KvMbAnI7HJ2m-Q-k-Cycl6cM4CzRmOmtln1ieHw79aNAS2xfEcULCiyN9sKcyWxGdAu5d3g +RSA JWK > {"kty":"RSA","alg":"RS384","n":"u-QgSeb6onBuLbMDC7bRLTLOBMwvEcRlJ45AnYd2qNTGUIhd2UJLfpcLQ6AbCepA8SnTngmNXf3gwZ_7UiMc07Ws5L4iVqgj8H-IiQr77Z85iDFZPmzuObOHzv01KtbcTEgYnQhVdVWd-bQE5KjFVv_4DlekWRaM27pSV_21c_E","e":"AQAB","kid":"o9E7O39DcsiWjetSr7LwecLh_pKBqNPIueEe_ZrxWakgN4vq__-d6e1IpvpGV3pF"} +JWS_RS384_XML.Verify > True +JWS_RS384_Param.Verify > True +JWS_RS512_X509.Create > JWS Header: {"alg":"RS512","typ":"JWT"} +JWS_RS512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS512_X509.Create > JWS Signature: Hu7kkEBidhzIDOT-GDElTyZutarV9q5K29say3_dNNTTkK1QV13r_0wfEg-g52mOXgBHtM0ITiUMz3KkB71RYk6_Ga7GXCxQQGJ-v_aI-49N4pnCZ9CLEehiaZ-76XDSS3VrOlhYEGxGznACMyAF6maxvkJF2kANTTKYk7Z-EZ6T90lD-6C5lOy3h_CEx_WzUoLD2u_4oa2apNFEtMtbRYI50gq4gUSFjFmh2lnm-_xvgLYbruM5Q7VJK5c_8uCu39SetNanCnAps816Ve2JqCRd6XfMQgfsl1Uc4iC26B51dUmR-SXCpOMmlJ3vKC5gFFmX7aY5iaqEKaiR2JAgLA +RSA JWK > {"kty":"RSA","alg":"RS512","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"w8oMM75dlmuzJhKJmh8lS3VtmPxuWPxFk6SlZ0BGOdcE67qkeIDNhHwc1ZDO8_sfqNxBxBXSS6MU96wFO6J_Iw"} +JWS_RS512_X509.Verify > True +JWS_RS512_Param.Verify > True +JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.Tq1k819ccGEl9vpwXjk3f74StdUf6xKC_UvCLdvkwB837gc78jqdX3HfEn2N5ynqANuZwcW3hIrJIUG_HVQuE54upYx57BomI-pyA26zWq8YDRCnbOsyyK2EVs3D5Rrs_w2k16vEOmTgmrfV4iBqo4lvPHp1ve9yPhn8zqRMkxrxEJtcFeijacbP6n7WELHaSbio2WmTdVYyrGxhSRkGxQTX-f_Ptw4VmM6bKx9T3SZeitsg6iAdmVfe3vWpStsz-pUUCtQ5wlZBAIQasqm_ZAwZvg9ZG38bIgGJ1vu9ekYAXEsKBDiLFTrENoptaZu6NUS8fg1wga6CKRDawj4B7A.RxbKKvK0Sxdk9clz.nmDZPyvYpKKno2YxMpn-k5lmfc8UzlG55GDkgED0TfNSozWVGMsrU9wt7A.K61ruZ8em8BUjf2dNnsvbw +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: Tq1k819ccGEl9vpwXjk3f74StdUf6xKC_UvCLdvkwB837gc78jqdX3HfEn2N5ynqANuZwcW3hIrJIUG_HVQuE54upYx57BomI-pyA26zWq8YDRCnbOsyyK2EVs3D5Rrs_w2k16vEOmTgmrfV4iBqo4lvPHp1ve9yPhn8zqRMkxrxEJtcFeijacbP6n7WELHaSbio2WmTdVYyrGxhSRkGxQTX-f_Ptw4VmM6bKx9T3SZeitsg6iAdmVfe3vWpStsz-pUUCtQ5wlZBAIQasqm_ZAwZvg9ZG38bIgGJ1vu9ekYAXEsKBDiLFTrENoptaZu6NUS8fg1wga6CKRDawj4B7A +JweAlgorithm.xLibTest > JWE Initialization Vector: RxbKKvK0Sxdk9clz +JweAlgorithm.xLibTest > JWE Ciphertext: nmDZPyvYpKKno2YxMpn-k5lmfc8UzlG55GDkgED0TfNSozWVGMsrU9wt7A +JweAlgorithm.xLibTest > JWE Authentication Tag: K61ruZ8em8BUjf2dNnsvbw +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.Yl3J0A12Wa_v8MNbjoMgmkezSclWFZRRQee7PlGlCu5Gf59ll_aTMZy3OURe_piIczgoIPY3C7wMZYnAHWyeUX1wplg0-GMUfhz-V2inqkyPm_Elzg50VyNtuqyb7THkZPi-jba22mx7uXPtO5StDq-FPnaPv8A80mQnwqnBsZOda1WWwK0LiIaPiLgQ2GUn2kJIHbXLTrdUmrmuGknOmsCoqlkbi0YxP6J3ou-TGohgj-gG78HmAwCVP4w6WYMMg1Q_iUNME3VjC0SZb0k0da5Pl9wZTmFE9dPBR32ohZPsSeJIo6fQHW8mhFJZUcZ27y5kTkUDeDW-2DbpQbkd0g.mxHpkJil2mqeAwxx7c4a5A.-wXvCdUQwgzU0itUrCQLxwQl7dkHTCwe7OTL6WezyNkwUMFpOXqWRZW2E6VyUQty.K3GNXHOD3tZiiGCfw3f6wA +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: Yl3J0A12Wa_v8MNbjoMgmkezSclWFZRRQee7PlGlCu5Gf59ll_aTMZy3OURe_piIczgoIPY3C7wMZYnAHWyeUX1wplg0-GMUfhz-V2inqkyPm_Elzg50VyNtuqyb7THkZPi-jba22mx7uXPtO5StDq-FPnaPv8A80mQnwqnBsZOda1WWwK0LiIaPiLgQ2GUn2kJIHbXLTrdUmrmuGknOmsCoqlkbi0YxP6J3ou-TGohgj-gG78HmAwCVP4w6WYMMg1Q_iUNME3VjC0SZb0k0da5Pl9wZTmFE9dPBR32ohZPsSeJIo6fQHW8mhFJZUcZ27y5kTkUDeDW-2DbpQbkd0g +JweAlgorithm.xLibTest > JWE Initialization Vector: mxHpkJil2mqeAwxx7c4a5A +JweAlgorithm.xLibTest > JWE Ciphertext: -wXvCdUQwgzU0itUrCQLxwQl7dkHTCwe7OTL6WezyNkwUMFpOXqWRZW2E6VyUQty +JweAlgorithm.xLibTest > JWE Authentication Tag: K3GNXHOD3tZiiGCfw3f6wA +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. +JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} +JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.eiRb1sbFSx6PfuVrivWq8bAA07VZ3WqruC6vA4WAmhQFckxAtKYEdQFW1ReX2N8X6HfZaeuddYhJRUeXVrsI1rKSOivTp1BW-3GVKCmiFeI5Eqx3pYwkX9abYonLf2gJKWlsdrkmgwOwZTdsIuMLv6tq6GLQC7P-KPPEf6xrJDQ +JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} +JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > JWS Signature: eiRb1sbFSx6PfuVrivWq8bAA07VZ3WqruC6vA4WAmhQFckxAtKYEdQFW1ReX2N8X6HfZaeuddYhJRUeXVrsI1rKSOivTp1BW-3GVKCmiFeI5Eqx3pYwkX9abYonLf2gJKWlsdrkmgwOwZTdsIuMLv6tq6GLQC7P-KPPEf6xrJDQ +JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.5hscGRvHN73723o9wN-jZ7kYjaIstPEQJDJaDBsUF0iWvjL2Pg-nAP9Po3AWsEzASoHUEAL0R_A7FlbhG6lYjw +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: 5hscGRvHN73723o9wN-jZ7kYjaIstPEQJDJaDBsUF0iWvjL2Pg-nAP9Po3AWsEzASoHUEAL0R_A7FlbhG6lYjw +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.NNmEFUtSzPgD90ZXILDNTCQxJPpEfmtDyxLHr7k7paYcCWQ8MMaR8o3XFiGjSTf2C3i8Z4zj07spDm89SpeOZNksz4ZGni7Cw88h3p2brCLgLD2jp8mF0uJugZSuz5BFFsCpgfw91IyzeQIUk-QX5SeyreBZQjyozmjcrbdGBTxzrAqLzxvUESeY_Bdv9ctV9QCTGJaWKq0Axa2F-aofWWUUlwtcsHUOVKjv9ArsPRtTqPQIR49xpQ3mIccXxbkvaasub9hxiRh2gz9GOH3tMOqxDqG2NRYJnDQNTP1Y-NVcJ1eAvEcjadAvT2NzhnS_ltdTJbjuwiQzxeYor9ijdw.yDk_IZNYk95hDrWA96979w.d48baUwVenQXerBLlGdP1hJMevvZUkqIi5nyNhmfu8fPcHk1qYBnj2jaOoi7mCr6.2ZsnIf_i67NL-GK1okGs7Q +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: NNmEFUtSzPgD90ZXILDNTCQxJPpEfmtDyxLHr7k7paYcCWQ8MMaR8o3XFiGjSTf2C3i8Z4zj07spDm89SpeOZNksz4ZGni7Cw88h3p2brCLgLD2jp8mF0uJugZSuz5BFFsCpgfw91IyzeQIUk-QX5SeyreBZQjyozmjcrbdGBTxzrAqLzxvUESeY_Bdv9ctV9QCTGJaWKq0Axa2F-aofWWUUlwtcsHUOVKjv9ArsPRtTqPQIR49xpQ3mIccXxbkvaasub9hxiRh2gz9GOH3tMOqxDqG2NRYJnDQNTP1Y-NVcJ1eAvEcjadAvT2NzhnS_ltdTJbjuwiQzxeYor9ijdw +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: yDk_IZNYk95hDrWA96979w +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: d48baUwVenQXerBLlGdP1hJMevvZUkqIi5nyNhmfu8fPcHk1qYBnj2jaOoi7mCr6 +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: 2ZsnIf_i67NL-GK1okGs7Q +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.Es6WGqnnieaNOkJ8h5Z7-HTNsXFunB05TkhtQLi_5CManXEh4k8jFYNGYPT2YnC7dQ2bd5FBQ4ByqPZiKU6lTJfqB9yapLe7lueNJIsDsjXd9RDwrfdZX-WjEnmk9dFHscvU_tIDsvGatSoCVgE5edZNdvVxgZvmkY56Aix57Zj2vN5YqQTaMJ1L-k6cxASEJepNe5c9g9c2h_MfL0OmkjNe2Asg4y5tGNsLGRHk1WYYzBBlHVmNgCSsJ6qCqRZx1wYD8jihCzx3rLfHWVFYTegpF7G1S5lYMTmz7SpooMYMEyqs_2nOzJkE4X5oiRyTHhtf6r3bNT49jsBB0Gkewg.bfMPDuYlagZt6BlW.zQcent8b7C7I0PofyTTBmMIHNA322Td-rdJsS50qHRHJYELnWZbvp83yTw.ndyNG2k4CRVM_rYcR37N8g +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: Es6WGqnnieaNOkJ8h5Z7-HTNsXFunB05TkhtQLi_5CManXEh4k8jFYNGYPT2YnC7dQ2bd5FBQ4ByqPZiKU6lTJfqB9yapLe7lueNJIsDsjXd9RDwrfdZX-WjEnmk9dFHscvU_tIDsvGatSoCVgE5edZNdvVxgZvmkY56Aix57Zj2vN5YqQTaMJ1L-k6cxASEJepNe5c9g9c2h_MfL0OmkjNe2Asg4y5tGNsLGRHk1WYYzBBlHVmNgCSsJ6qCqRZx1wYD8jihCzx3rLfHWVFYTegpF7G1S5lYMTmz7SpooMYMEyqs_2nOzJkE4X5oiRyTHhtf6r3bNT49jsBB0Gkewg +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: bfMPDuYlagZt6BlW +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: zQcent8b7C7I0PofyTTBmMIHNA322Td-rdJsS50qHRHJYELnWZbvp83yTw +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: ndyNG2k4CRVM_rYcR37N8g +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..fLzqpTINnNBMfacbzcf-rA.Gu2UNocFCNO8_nl_mGXfLz-6EBAxuwcdCgStDRIBSp1cBr9kgLAnmnPx3vdJzoHq.WSZIoHrYkbmpuu89JHAPfA +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: fLzqpTINnNBMfacbzcf-rA +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: Gu2UNocFCNO8_nl_mGXfLz-6EBAxuwcdCgStDRIBSp1cBr9kgLAnmnPx3vdJzoHq +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: WSZIoHrYkbmpuu89JHAPfA +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.7ncTj2YcD5w12BRXoamSPGZuQ0LrWnYqZAQHkg0HN70-9_B5D3OCO_TGqu2mo8qmO3nFDqscn3RpNLA4HAUp3OExCzA8t8Eh.NmhB440aS_gMHcY6y2RJdg.9bZP75RGP9O0R_8h8Y4sttTYMFRUWEJuCbmMTYW4i2InXzL3DDzzT9Y0XCBG8EYd.UBVwl14J9Etn2srVqMQVFZBLEGQ3jWIcP7g0vXnZse4 +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 7ncTj2YcD5w12BRXoamSPGZuQ0LrWnYqZAQHkg0HN70-9_B5D3OCO_TGqu2mo8qmO3nFDqscn3RpNLA4HAUp3OExCzA8t8Eh +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: NmhB440aS_gMHcY6y2RJdg +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: 9bZP75RGP9O0R_8h8Y4sttTYMFRUWEJuCbmMTYW4i2InXzL3DDzzT9Y0XCBG8EYd +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: UBVwl14J9Etn2srVqMQVFZBLEGQ3jWIcP7g0vXnZse4 +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6Ind6MnBMeEVEbnQtNmd1NUYiLCJ0YWciOiJQSnFjVk1nZF9GSDhHQV9CRG9VNlRnIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.Niq6pWy6EmXiYiEiRWNCbuaJGWlbqPzlSjhv48m5gw1qZAJ6qjGM58BCdu1V77btqnYCG8JEnNtItApqcpxoGw.kMkRcDmvCvedKVKfXwvb0Q.ZbNQlOVWCf7NZRJ4EwRZkggm64dGECIFm0zPy3QpX3fYWF1eNDokAYpM193r_tPQ.2YjEc_66AUiUZDqhf0S-5V1Tez4qGDa1h4GA3ew-iEY +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"wz2pLxEDnt-6gu5F","tag":"PJqcVMgd_FH8GA_BDoU6Tg","enc":"A256CBC-HS512"} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: Niq6pWy6EmXiYiEiRWNCbuaJGWlbqPzlSjhv48m5gw1qZAJ6qjGM58BCdu1V77btqnYCG8JEnNtItApqcpxoGw +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: kMkRcDmvCvedKVKfXwvb0Q +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: ZbNQlOVWCf7NZRJ4EwRZkggm64dGECIFm0zPy3QpX3fYWF1eNDokAYpM193r_tPQ +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: 2YjEc_66AUiUZDqhf0S-5V1Tez4qGDa1h4GA3ew-iEY +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6InFTaGczcnlHWXJqM1NNRVlsd1plVlNCWjB2TExRM3JXaWIybmszZWZSVk0iLCJ5IjoieEtQS1NQRGRWMlpOclR2Zno4LVdKOGt5ZkdNQTFWNjR0SU5kZUlqMVlZayIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..1eZFDw0BbEdrB5Og.-yZC2z7sgHYYEkF1Dob6nhBONd_y6sIh-Yngy71OtsrPdHOiLndPgCexGQ.keyT3QEmbUXwtrYEmOmqQQ +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"qShg3ryGYrj3SMEYlwZeVSBZ0vLLQ3rWib2nk3efRVM","y":"xKPKSPDdV2ZNrTvfz8-WJ8kyfGMA1V64tINdeIj1YYk","crv":"P-256"},"enc":"A256GCM"} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: 1eZFDw0BbEdrB5Og +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: -yZC2z7sgHYYEkF1Dob6nhBONd_y6sIh-Yngy71OtsrPdHOiLndPgCexGQ +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: keyT3QEmbUXwtrYEmOmqQQ +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 + +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6Il9lWlJxSGxHYU1rRG84Y2IiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.3FIJQ8grXDLRMl1F-CeevmbheWQETCFM5BVj2-cL0SNyx_HH_rHKDqun0MFFX48yXLb7O-4A2z1VIjziZByR8b_Ht9oA45or.ZCsuW_K_oAw2UNOjDGuFww.EHD3HfEBzcUdZKhK7aE-5HoT6xy7nrPrvFkeT_yGojQzIqxkEG_82HVzzQL2qTfK.eK16f2wYqceYSqToyJf9bQmtsLkRyPHDpoRVFf1ijKQ +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"_eZRqHlGaMkDo8cb","enc":"A256CBC-HS512"} +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 3FIJQ8grXDLRMl1F-CeevmbheWQETCFM5BVj2-cL0SNyx_HH_rHKDqun0MFFX48yXLb7O-4A2z1VIjziZByR8b_Ht9oA45or +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: ZCsuW_K_oAw2UNOjDGuFww +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: EHD3HfEBzcUdZKhK7aE-5HoT6xy7nrPrvFkeT_yGojQzIqxkEG_82HVzzQL2qTfK +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: eK16f2wYqceYSqToyJf9bQmtsLkRyPHDpoRVFf1ijKQ +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.pFKBACbxomd7xMrFKuAoacqMiwmnbLCGY83eeRMAm99HOfVN5vLPmsiEIMNXTE-H1D8--73OYXQWKJvr8aQVkDINiUyu1kI-2KAUOo5RrkW-tzk3vg8OIt0Fx-BSIDUtMyLzjbEDutQVROUX6kcZn_z-fCsTxWh1wtAaiSWaN34 +Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} +Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > JWS Signature: pFKBACbxomd7xMrFKuAoacqMiwmnbLCGY83eeRMAm99HOfVN5vLPmsiEIMNXTE-H1D8--73OYXQWKJvr8aQVkDINiUyu1kI-2KAUOo5RrkW-tzk3vg8OIt0Fx-BSIDUtMyLzjbEDutQVROUX6kcZn_z-fCsTxWh1wtAaiSWaN34 +Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} +Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=sM5f2l8puHVOl/NNc92gAXUq00ornVTtyg3eGtmZ6H7CsYvJFu43MrpKEw0ohYZvNLNBIGSeY/dKO6JZtf5OzdmzoAYpKmYk3Oy6pR8ByiCPYVDUYCfb8vVSjozY9gY3YGcGcl/R8ft4U3T1sUKR20Fobn+LwvSWHzOhJ51qd/o=JCusQvFRXCKCXpJYo08WByO514gRTQuDwZQHjKhPPEE=N52lE1k/8OQrCtQ8N3yIPHQ70e/4aPOoibeCek1sGKrWC3+qIGDwj4uEBUtOMgTkR3Zlh6UZmPFK1WTJolZqQ3aIuHs1qMkvKBiulWViMxCD+x0EbgD2DSKb/6h0ulwS7wS+Oa0oFyMS4HyT9vnTcY1vSrORHvAprLPvULTLuxY= + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt index 7d777e3c3..f426e5a69 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt @@ -1,182 +1,179 @@ -HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.MD5_CSP > FQ2+bMMhF8fDG0fkIOd9fA== -HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= -HashAlgorithm.SHA1_CSP > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA1_M > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA256_CSP > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA256_M > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA384_CSP > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA384_M > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA512_CSP > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -HashAlgorithm.SHA512_M > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== -KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= -KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= -KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms -KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== -KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= -GetPasswordHashV1.EqualSaltedPassword (old) > True -GetPasswordHashV2.EqualSaltedPassword (old) > False -GetPasswordHashV2.EqualSaltedPassword (new) > True -GetPasswordHashV2.EqualSaltedPassword (new) > True ----------------------------------------------------------------------------------------------------- -RSA > X509Certificate2.PrivateKey: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng -RSA > publicX509Key: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSABCrypt -DSA > X509Certificate2.PrivateKey: is not null -DSA > SignatureAlgorithm.FriendlyName: -DSA > PrivateKey.ToString(): is System.Security.Cryptography.DSACng -DSA > publicX509Key: is not null -DSA > SignatureAlgorithm.FriendlyName: -DSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -DSA > PublicKey.Key.ToString(): System.Security.Cryptography.CryptographicException, プロバイダーの公開キーは無効です。 -privateDSA > is not null -ECDsa > X509Certificate2.PrivateKey: is not null -ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA -ECDsa > PrivateKey.ToString(): System.NotSupportedException, The certificate key algorithm is not supported. -ECDsa > publicX509Key: is not null -ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA -ECDsa > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -ECDsa > PublicKey.Key.ToString(): System.NotSupportedException, The certificate key algorithm is not supported. -privateECDsa > is not null -publicECDsa > is not null -ASymCrypt(X509).Enc&Dec > True -DigitalSignX509.Verify(RS256) > True -DigitalSignParam.Verify(RS256) > True -DigitalSignXML.Verify(RS256) > True -DigitalSignParam.Verify(DSA-SHA1) > True -DigitalSignXML.Verify(DSA-SHA1) > True -DigitalSignECDsaX509.Verify(ECDSA-SHA256) > True -DigitalSignECDsaX509.Verify(ECDSA-SHA512) > True ----------------------------------------------------------------------------------------------------- -JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} -JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ -JWS_HS256.Verify > True -JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} -JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb -JWS_HS384.Verify > True -JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify > True -JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify with JWK > True -JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} -JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} -JWS_RS256_X509.Verify > True -JWS_RS256_Param.Verify > True -JWS_ES256_X509.Create > JWS Header: {"alg":"ES256","typ":"JWT"} -JWS_ES256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_ES256_X509.Create > JWS Signature: Fyv9jcw2W1vKJTziF-uN6g_UfuOrmoIQyyp0ekM3iB85LOys_pskL3gF2ecvaAVK15QOP8P8VROaPuoCf07gTQ -ECDSA JWK > {"kty":"EC","alg":"ES256","crv":"P-256","x":"qdS3bsts3UXi5p0G71GofUB9ls1fJz_z0dRQw9RZ99A","y":"hX6HISTIiDLt90VDEqGmsMj2kSlGLOcXgXSqz75EhV4","kid":"asm1SGqVczG7zj0saZPKiggv2xwRlb6c23CDCNBqBNA"} -JWS_ES256_X509.Verify > True -JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Fyv9jcw2W1vKJTziF-uN6g_UfuOrmoIQyyp0ekM3iB85LOys_pskL3gF2ecvaAVK15QOP8P8VROaPuoCf07gTQ -JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.xLibTest > JWS Signature: Fyv9jcw2W1vKJTziF-uN6g_UfuOrmoIQyyp0ekM3iB85LOys_pskL3gF2ecvaAVK15QOP8P8VROaPuoCf07gTQ -JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.EYM45OpjA1CIDl9msdE28l3k-jcU5d_NulYb1Hd8_8HJ3mYDxUiucijTVczvjZjxNtWgaoaf9xBr2qTXobhesCLx6__l228o3BSg-z28uTuIJUN1J-z0qK3Hf8QNAIuxdS4CGWJ6EDh2uLFf0db6r9X-pCveQl9U1gile9ePkFc77aIOgWvsshWHH3EENalWYKgs4Kb8Rsj4BwlVgNxW5W-Dpk1qK0gsAwT0Am04HgGwOLf3QOmTTWKhWl0Sxql0pwPPaUvnlonC6udlPRD9IxKZ16j_U-klbSQAOjJl9NYO0mUfGHbVmUHU1REehkp_aHZ6DBlbkw70QBX2_AV7Rw.MvTbXkLS2NzReGfz.TEBHaPkHPQKmnW5Pq9Qju0FtWkEhE3woyfEQHFdBIiLtNC3VU1REtoPCTA.hA950PHb4AnAxbmm4PQOVA -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: EYM45OpjA1CIDl9msdE28l3k-jcU5d_NulYb1Hd8_8HJ3mYDxUiucijTVczvjZjxNtWgaoaf9xBr2qTXobhesCLx6__l228o3BSg-z28uTuIJUN1J-z0qK3Hf8QNAIuxdS4CGWJ6EDh2uLFf0db6r9X-pCveQl9U1gile9ePkFc77aIOgWvsshWHH3EENalWYKgs4Kb8Rsj4BwlVgNxW5W-Dpk1qK0gsAwT0Am04HgGwOLf3QOmTTWKhWl0Sxql0pwPPaUvnlonC6udlPRD9IxKZ16j_U-klbSQAOjJl9NYO0mUfGHbVmUHU1REehkp_aHZ6DBlbkw70QBX2_AV7Rw -JweAlgorithm.xLibTest > JWE Initialization Vector: MvTbXkLS2NzReGfz -JweAlgorithm.xLibTest > JWE Ciphertext: TEBHaPkHPQKmnW5Pq9Qju0FtWkEhE3woyfEQHFdBIiLtNC3VU1REtoPCTA -JweAlgorithm.xLibTest > JWE Authentication Tag: hA950PHb4AnAxbmm4PQOVA -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.kdM-dDKBHYH_jQk05LELKOcayQSC5fzImZwYxOePTiJlkZdQJgKqqsaDwWcM_eBz5ZhtdM4GDJmIzlSvcTwXLK7R7uLl00SpIdhzmus64qk75GgsuxYI-9St3zeNzrFhm5FGt7RumKATt8H1A6L5FBhHlYiMp21rk6p7betJD044R-RnKJpNDa9ZUUrG0xylpjF0g4gmZk1nW_Ew6bi7IBzeo4FtdNXDYtjIXKbga7GgeBSH-4vFyYZz9PcL0EiLHX19puKI53sgxCmMLbYkUoAsaNK2Mia9fpjSRfUmxzWscvhKotRhZjB_ftRn_BRBe9HFEycBMBFU9-c6ONTkaw.kHl2wSHGqXMfWj4g3Cixyg.mxXurzA-Jaw9hqgQqJ3fvxrWmVNBQKjjAJ4pkGBBoW-imWqclXcX3YczDT94NhZ8.0kdXBfURhu8uMYgH8T0STg -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: kdM-dDKBHYH_jQk05LELKOcayQSC5fzImZwYxOePTiJlkZdQJgKqqsaDwWcM_eBz5ZhtdM4GDJmIzlSvcTwXLK7R7uLl00SpIdhzmus64qk75GgsuxYI-9St3zeNzrFhm5FGt7RumKATt8H1A6L5FBhHlYiMp21rk6p7betJD044R-RnKJpNDa9ZUUrG0xylpjF0g4gmZk1nW_Ew6bi7IBzeo4FtdNXDYtjIXKbga7GgeBSH-4vFyYZz9PcL0EiLHX19puKI53sgxCmMLbYkUoAsaNK2Mia9fpjSRfUmxzWscvhKotRhZjB_ftRn_BRBe9HFEycBMBFU9-c6ONTkaw -JweAlgorithm.xLibTest > JWE Initialization Vector: kHl2wSHGqXMfWj4g3Cixyg -JweAlgorithm.xLibTest > JWE Ciphertext: mxXurzA-Jaw9hqgQqJ3fvxrWmVNBQKjjAJ4pkGBBoW-imWqclXcX3YczDT94NhZ8 -JweAlgorithm.xLibTest > JWE Authentication Tag: 0kdXBfURhu8uMYgH8T0STg -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. -JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} -JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} -JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.KTAUErvBUw2XLJxF3ZigZ9gPAgodYiBIHT0oVqpH3xviHmmBYpSyMFt3czk0ko6uyKYC2jwd8ouep_RWw0hlJw -JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > JWS Signature: KTAUErvBUw2XLJxF3ZigZ9gPAgodYiBIHT0oVqpH3xviHmmBYpSyMFt3czk0ko6uyKYC2jwd8ouep_RWw0hlJw -JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.vU0iK5JPIqGGS2iv7dGpWFjwI0AtsGSRNLSMhR8DmUR4y4Rlnqdgv-k-Z9Hm0CRCRs6a3yhqVn_bg_sckDX6uw -JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > JWS Signature: vU0iK5JPIqGGS2iv7dGpWFjwI0AtsGSRNLSMhR8DmUR4y4Rlnqdgv-k-Z9Hm0CRCRs6a3yhqVn_bg_sckDX6uw -JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Edk8i1823XOErH2TVwJj4AC983LV9oKTVthPc8JB9fzYPJa3g-ev6FYZCV6KA0I45aHFGwMUDnMDfci_6Lf4gNmbKw-PdEnHchBbuiz3r_Qno52GftKd8kzrSdAXAflApD2Z2X9lu9FcAf8UrV_FzenwXaeouxZ_osG4X_-9Oe-0KOgNUsGGBvraDovprN5yz44dJ620m1F0x5BPLckuWCTu-uDfqV0muI6aHdJPGgRN30fpkaPemQdBvEEWpelvRHcOfeVWLX3k9vBTLAlZDf_yc-avxdR9Mk49MX5gutx48Ia9VoPpGaoEktAPWw-1ljyzh8OLrD5nXTcB-wOy8w.pxkevZZmZSHevitPcldmjw.JwC1SrD2Wup-ssxIXsmjiQKIu6YBXHbPEc_Ri8v9qgtzSdY3yPQ7bB30LA_VqBW8.e4Zk6AhfW0MNZi0AgozYPA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: Edk8i1823XOErH2TVwJj4AC983LV9oKTVthPc8JB9fzYPJa3g-ev6FYZCV6KA0I45aHFGwMUDnMDfci_6Lf4gNmbKw-PdEnHchBbuiz3r_Qno52GftKd8kzrSdAXAflApD2Z2X9lu9FcAf8UrV_FzenwXaeouxZ_osG4X_-9Oe-0KOgNUsGGBvraDovprN5yz44dJ620m1F0x5BPLckuWCTu-uDfqV0muI6aHdJPGgRN30fpkaPemQdBvEEWpelvRHcOfeVWLX3k9vBTLAlZDf_yc-avxdR9Mk49MX5gutx48Ia9VoPpGaoEktAPWw-1ljyzh8OLrD5nXTcB-wOy8w -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: pxkevZZmZSHevitPcldmjw -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: JwC1SrD2Wup-ssxIXsmjiQKIu6YBXHbPEc_Ri8v9qgtzSdY3yPQ7bB30LA_VqBW8 -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: e4Zk6AhfW0MNZi0AgozYPA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.E5ihdC05udtIfqa6irK6tcQmr6O0f89eNtwBjL1zfbrogKus3i7v431KmrLm4zS2ZzYJ81ZiLWuFsOhKbOrIzaceirR7cFSl5Vd4O1PFSqsrwwSjNMEMoUULxqR_C3lArGJqb6v3sPKmTIAEHKxlC1Hs7P58tbs3MBThd-ckBYad2fHunHrJITJSQoKI1s11UIIdkE9onXxeJvr_wQcv6TlbRJll5L9epm3G5xGjr9RklAjxN6kAvsNxQDSkUU8L4ngJ4WjjAsE85YoFaozj_vIEgFCp7no78lVs-qM4zjCXstRv5t4e41NQ-MmdIgWXi9XjbY72f7BHzaGxLrmenA._Z2rncIdLzQlMMv8.1xjqnXKzHLVa0nBPCVNH8Ui265b9uVkvXHTBv89iSZlJaB66ek8Mu9iJhA.lFbb1QDD6IND8EpFaaUrYw -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: E5ihdC05udtIfqa6irK6tcQmr6O0f89eNtwBjL1zfbrogKus3i7v431KmrLm4zS2ZzYJ81ZiLWuFsOhKbOrIzaceirR7cFSl5Vd4O1PFSqsrwwSjNMEMoUULxqR_C3lArGJqb6v3sPKmTIAEHKxlC1Hs7P58tbs3MBThd-ckBYad2fHunHrJITJSQoKI1s11UIIdkE9onXxeJvr_wQcv6TlbRJll5L9epm3G5xGjr9RklAjxN6kAvsNxQDSkUU8L4ngJ4WjjAsE85YoFaozj_vIEgFCp7no78lVs-qM4zjCXstRv5t4e41NQ-MmdIgWXi9XjbY72f7BHzaGxLrmenA -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: _Z2rncIdLzQlMMv8 -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: 1xjqnXKzHLVa0nBPCVNH8Ui265b9uVkvXHTBv89iSZlJaB66ek8Mu9iJhA -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: lFbb1QDD6IND8EpFaaUrYw -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..KuUnyTvq9fXJtDzMIS840g.UBPmH3nqn6DpQSy1lEOqxB0i6HxH0Tq9ESCuqaTx_V9yWZS_XnACL7OyaH_deEPx.dsw_ayMmiUeCKOKskAPrYw -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: KuUnyTvq9fXJtDzMIS840g -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: UBPmH3nqn6DpQSy1lEOqxB0i6HxH0Tq9ESCuqaTx_V9yWZS_XnACL7OyaH_deEPx -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: dsw_ayMmiUeCKOKskAPrYw -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.2HDF0yPCy1TdHl7xTb2e_DdZRkOhKPf02gyAYEyLXnycIXU5uEvEeDp9vVEQkKb2XqkObItcxfx-3Hk9_RtD9SMOoIiF04VE.rf5OlDNLEKwv-zeVTtPUsw.Fh7qHotBkViUQixw1hbkE0qGfkh1zb7pZyXJyCbTPYNZo_RSZZXrqTB7AL1evHrX.CkrEoZyQxLqOm3cx65M4o0U8XGM36Lt_I_3CxkfWMw0 -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 2HDF0yPCy1TdHl7xTb2e_DdZRkOhKPf02gyAYEyLXnycIXU5uEvEeDp9vVEQkKb2XqkObItcxfx-3Hk9_RtD9SMOoIiF04VE -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: rf5OlDNLEKwv-zeVTtPUsw -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: Fh7qHotBkViUQixw1hbkE0qGfkh1zb7pZyXJyCbTPYNZo_RSZZXrqTB7AL1evHrX -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: CkrEoZyQxLqOm3cx65M4o0U8XGM36Lt_I_3CxkfWMw0 -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6ImVrTmp6SldzcG8zeEJMTzciLCJ0YWciOiJEUjlDM3ZfeF9nX1JyYlg2RG9nTGtRIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.fRpim0sP51LZoVDxoGWjNtFLJ3fT0SgJO_RP6Lvxf3NTv-RHSUc0scPYoeQVOOcqqHkilpbV81Gm8MIbwTlV2A.F6uKq-z-UguEDYL6JIwrzQ.VkvcSNYyBbWxNZGqAhwE4BfQ8wwbOS6WVXRsSKgPxkvP4xYEJZYtyb11wXZ09W9x.CgUQVUY3zOzRVnwe2Eq5mETa7ZTyMnFzyBzWcNIQRso -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"ekNjzJWspo3xBLO7","tag":"DR9C3v_x_g_RrbX6DogLkQ","enc":"A256CBC-HS512"} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: fRpim0sP51LZoVDxoGWjNtFLJ3fT0SgJO_RP6Lvxf3NTv-RHSUc0scPYoeQVOOcqqHkilpbV81Gm8MIbwTlV2A -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: F6uKq-z-UguEDYL6JIwrzQ -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: VkvcSNYyBbWxNZGqAhwE4BfQ8wwbOS6WVXRsSKgPxkvP4xYEJZYtyb11wXZ09W9x -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: CgUQVUY3zOzRVnwe2Eq5mETa7ZTyMnFzyBzWcNIQRso -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6IjBxWHhva3p3WFN5aU9ObnA4R01lazU4V1dWODRZOGJtS1ZTSHJPc0xhYkEiLCJ5IjoiZWdZWEtvcG9VWHk5TEhiNXNKeWFIVUhCYnNhUGI4eS1SLW1xZ011Y3ByZyIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..pPnIPIgvgkFe8FKD.4zYS_11E88iZ8ew1X5GRHs3ACPmpKdP2ce-EnH7Lsv0eVHcZNGr4hWoikw.9J2J6jrelNujAq08cIzqLA -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"0qXxokzwXSyiONnp8GMek58WWV84Y8bmKVSHrOsLabA","y":"egYXKopoUXy9LHb5sJyaHUHBbsaPb8y-R-mqgMucprg","crv":"P-256"},"enc":"A256GCM"} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: pPnIPIgvgkFe8FKD -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: 4zYS_11E88iZ8ew1X5GRHs3ACPmpKdP2ce-EnH7Lsv0eVHcZNGr4hWoikw -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: 9J2J6jrelNujAq08cIzqLA -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6IlczUzZtWENyOVB4bVd2ejAiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.yppAMIND00fe83U1Fb2-znGrn-JDHMcEc5P6GFXOjuke06BrNWQeibg9kmq7z_ZWJ17BGM1REMuah77vqhm_mq2o_dnTDmp6.qRcKLn1xjTYSlqQJhVK5-Q.3xm9sBkKjkpmPu0Sr5ePWLAVzFH1-keXSKvn6-WRnnNc76wbPBD26MQ1ZlPqaZlT.v_T-UFozujrUpKziEc1qqFx7wVMleg16mq_nmoGiltE -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"W3S6mXCr9PxmWvz0","enc":"A256CBC-HS512"} -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: yppAMIND00fe83U1Fb2-znGrn-JDHMcEc5P6GFXOjuke06BrNWQeibg9kmq7z_ZWJ17BGM1REMuah77vqhm_mq2o_dnTDmp6 -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: qRcKLn1xjTYSlqQJhVK5-Q -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: 3xm9sBkKjkpmPu0Sr5ePWLAVzFH1-keXSKvn6-WRnnNc76wbPBD26MQ1ZlPqaZlT -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: v_T-UFozujrUpKziEc1qqFx7wVMleg16mq_nmoGiltE -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w -Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} -Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > JWS Signature: KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w -Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} -Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=almLl/j6yPjcRYY4MrqbPtmfGJRT/caGPHRr3w5n1y7yodg9zYmxVWQrYecufWHVT9Y7GgBRwA0AreUJkGsrebsCJheHdN6xNNvHQ6S85xS5UbEPfZo3rCgqBj4fMZw0PLn2PWeQmAO0f7dbvVUS+h3b+zNPjLlrXkvpIcTVcxA=IyTuZWZTOHby0aD4b/i4XwMBF1QYqoMIj/gcnbqsPAY=JoZI2KpzVMKj2IuN6QeTRLd2kFmBgJPBhdnsYDACcHcTuUTntPc5CuC+7cdcG0AyB4vSn/8TFcMtiGGTIGfOD3EQxEBBBKiN4tfjzD5U2NIIfYOqboXWplA5VFH/Sb1I/QXkfp0CZ5pv5ko1stEtdVcBbObG90MUX6IqvrKPmCw= +HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= +HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== +KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= +KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= +KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms +KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== +KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= +GetPasswordHashV1.EqualSaltedPassword (old) > True +GetPasswordHashV2.EqualSaltedPassword (old) > False +GetPasswordHashV2.EqualSaltedPassword (new) > True +GetPasswordHashV2.EqualSaltedPassword (new) > True +---------------------------------------------------------------------------------------------------- +RSA > X509Certificate2.PrivateKey: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng +RSA > publicX509Key: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSABCrypt +DSA > X509Certificate2.PrivateKey: is not null +DSA > SignatureAlgorithm.FriendlyName: +DSA > PrivateKey.ToString(): is System.Security.Cryptography.DSACng +DSA > publicX509Key: is not null +DSA > SignatureAlgorithm.FriendlyName: +DSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +DSA > PublicKey.Key.ToString(): System.Security.Cryptography.CryptographicException, プロバイダーの公開キーは無効です。 +privateDSA > is not null +ECDsa > X509Certificate2.PrivateKey: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PrivateKey.ToString(): is System.Security.Cryptography.ECDsaCng +ECDsa > publicX509Key: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +ECDsa > PublicKey.Key.ToString(): is System.Security.Cryptography.ECDsaCng +privateECDsa > is not null +publicECDsa > is not null +ASymCrypt(X509).Enc&Dec > True +DigitalSignX509.Verify(RS256) > True +DigitalSignParam.Verify(RS256) > True +DigitalSignXML.Verify(RS256) > True +DigitalSignParam.Verify(DSA-SHA1) > True +DigitalSignXML.Verify(DSA-SHA1) > True +DigitalSignECDsaX509.Verify(ECDSA-SHA256) > True +DigitalSignECDsaX509.Verify(ECDSA-SHA512) > True +---------------------------------------------------------------------------------------------------- +JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} +JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ +JWS_HS256.Verify > True +JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} +JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb +JWS_HS384.Verify > True +JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify > True +JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify with JWK > True +JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} +JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} +JWS_RS256_X509.Verify > True +JWS_RS256_Param.Verify > True +JWS_ES256_X509.Create > JWS Header: {"alg":"ES256","typ":"JWT"} +JWS_ES256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES256_X509.Create > JWS Signature: Pjf9BP5Nb8INvMWD0GU1_wjRhyffeQdsowNGGFvee4P1Uvt43R56wRO5fREA7y-UGcVDCAOWi0N-hfa0uTpvTQ +ECDSA JWK > {"kty":"EC","alg":"ES256","crv":"P-256","x":"qdS3bsts3UXi5p0G71GofUB9ls1fJz_z0dRQw9RZ99A","y":"hX6HISTIiDLt90VDEqGmsMj2kSlGLOcXgXSqz75EhV4","kid":"asm1SGqVczG7zj0saZPKiggv2xwRlb6c23CDCNBqBNA"} +JWS_ES256_X509.Verify > True +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Pjf9BP5Nb8INvMWD0GU1_wjRhyffeQdsowNGGFvee4P1Uvt43R56wRO5fREA7y-UGcVDCAOWi0N-hfa0uTpvTQ +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: Pjf9BP5Nb8INvMWD0GU1_wjRhyffeQdsowNGGFvee4P1Uvt43R56wRO5fREA7y-UGcVDCAOWi0N-hfa0uTpvTQ +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.UtiNtwiSplIrPTe2YKxT01duYjEq5CrRU-R-DQHDSxbFO1-yFJvxIL2X7P101M0f6qyv6Bu23rE4ZNnKePMZJbcrdjdPw-hpseO2D0H8p4L_TVf4TAKR5LgoaX2Wa6cWGPgUih6tQJA7Fgw6Joue1uyP7WrJIe2ye5KAuLg2rkIr2kZVUCXCb3pbtc5fk12-V4nX9MltewkEAuwk3Aq-djx8VjG1gsitd2Esd5_h1fPL6gy7b5_lj9nESQpMiIML1Oob_k9rUbM1-SCU2bB9qylArbni8IsJ2ZFxvGQpyl09GPnSlhgYHqx-uBEn-G50Bk3ixcaXd2NlJXAZ9s4xLg.XdS6issiTypEFCKB.G86fdRLumHkcdQusm13sEr3-JR5tTbQP9-3_3pXs4eZVLf2VTmQjI5mJNQ.WizDb9GRQvS79wIPS3PAsA +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: UtiNtwiSplIrPTe2YKxT01duYjEq5CrRU-R-DQHDSxbFO1-yFJvxIL2X7P101M0f6qyv6Bu23rE4ZNnKePMZJbcrdjdPw-hpseO2D0H8p4L_TVf4TAKR5LgoaX2Wa6cWGPgUih6tQJA7Fgw6Joue1uyP7WrJIe2ye5KAuLg2rkIr2kZVUCXCb3pbtc5fk12-V4nX9MltewkEAuwk3Aq-djx8VjG1gsitd2Esd5_h1fPL6gy7b5_lj9nESQpMiIML1Oob_k9rUbM1-SCU2bB9qylArbni8IsJ2ZFxvGQpyl09GPnSlhgYHqx-uBEn-G50Bk3ixcaXd2NlJXAZ9s4xLg +JweAlgorithm.xLibTest > JWE Initialization Vector: XdS6issiTypEFCKB +JweAlgorithm.xLibTest > JWE Ciphertext: G86fdRLumHkcdQusm13sEr3-JR5tTbQP9-3_3pXs4eZVLf2VTmQjI5mJNQ +JweAlgorithm.xLibTest > JWE Authentication Tag: WizDb9GRQvS79wIPS3PAsA +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.V83-2d8oansXtuchHrmNLfBn0HOvy0pm-z15rRJpXsFUhzZ3HfbXflLpzJRcnq16f6K83lvHgLE42Sm9MGTMm9aFcyZrYIfdObh0jw_1cVcDYl1p_75hojDoVrxr-gX73bQcmuo1y3Vek-UBOtS1vXdNNPGYcN5F-XIx_HCCndzdGul3ISu689d4_j0O_ieM4unlGw_uYe3gq7gVvezcNvMLFAC_9mLHmklRvQuKBVYIo1Ptuu4PfCJgPUMrozfkMPAkuHHZxAbnHfCCKGfDWk4Wpfwhk-rSXjsK1iwZrxs-qQh70hUm1PPYNfQj0iHIE_acJeikSPHU_hK9a5UE5A.uiitarwp7RZHGI7UAo3OvA.scnln-zwKvcjuRbvbXQeosqLRueEZTSog6yhpxIdJ2qwALnqTNRITyOQplhmcXzs.Fm-gsPEAE1iym9F-QPqPcg +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: V83-2d8oansXtuchHrmNLfBn0HOvy0pm-z15rRJpXsFUhzZ3HfbXflLpzJRcnq16f6K83lvHgLE42Sm9MGTMm9aFcyZrYIfdObh0jw_1cVcDYl1p_75hojDoVrxr-gX73bQcmuo1y3Vek-UBOtS1vXdNNPGYcN5F-XIx_HCCndzdGul3ISu689d4_j0O_ieM4unlGw_uYe3gq7gVvezcNvMLFAC_9mLHmklRvQuKBVYIo1Ptuu4PfCJgPUMrozfkMPAkuHHZxAbnHfCCKGfDWk4Wpfwhk-rSXjsK1iwZrxs-qQh70hUm1PPYNfQj0iHIE_acJeikSPHU_hK9a5UE5A +JweAlgorithm.xLibTest > JWE Initialization Vector: uiitarwp7RZHGI7UAo3OvA +JweAlgorithm.xLibTest > JWE Ciphertext: scnln-zwKvcjuRbvbXQeosqLRueEZTSog6yhpxIdJ2qwALnqTNRITyOQplhmcXzs +JweAlgorithm.xLibTest > JWE Authentication Tag: Fm-gsPEAE1iym9F-QPqPcg +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. +JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} +JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} +JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.lZCoTIckdl55HDhuCh1WSZNucBcKoZGjmTVdDxgOrjHlBHJVW9hj1dJHmegkaHnALl7ppYJEAnY1_KwP4L51GA +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: lZCoTIckdl55HDhuCh1WSZNucBcKoZGjmTVdDxgOrjHlBHJVW9hj1dJHmegkaHnALl7ppYJEAnY1_KwP4L51GA +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.AMiyJvAMIReG9PoLd-HhVzMnkRnXDigV1ZLlX-uf9YYe60PJ806Abb-ocagRuofbEZWXSyElbMF_mPzG0U0lHQ +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: AMiyJvAMIReG9PoLd-HhVzMnkRnXDigV1ZLlX-uf9YYe60PJ806Abb-ocagRuofbEZWXSyElbMF_mPzG0U0lHQ +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.LoLIyXVUv4w3ShFJ4Rs2sSoavs16OSsgSUuh-JU4LXO_6T_frmNH8zMeuDcY0uh47UrqGxvdh-RvWl7DNccpsRHBXPXQ0lyGNhLn6zf1QxVYn8LRt59wv3jHnxETG-4MF0LmBAB0hvSKDFZggEwo8r5pOOXJIPwgGoWwxcXt5yYXihqvlYb1NG65HaIND8zcLURRLacTeo7SN3DzSDHWW71cmAasW7z1lQh9rYtAFW9_hJaQ5gbtZeji59SsITrb5ANEQlTZdP87RUO4IOAKJYJWNA65TKRjd-JIz67Ud3PVWvkqYGGjYGP-XhzlObYJjnyYqYS5cP8usNQCKJ2vLA.3xW8Ymr4Fv3N-dXmS9jAgg.v_oJhSwHRfJ6wPLrhrYW3vWe_tsT1tLThDk5P0priEIk2wpR2nfYR4KTHd0j_zN0.SIR4ZImq70cWjOU90mpqBA +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: LoLIyXVUv4w3ShFJ4Rs2sSoavs16OSsgSUuh-JU4LXO_6T_frmNH8zMeuDcY0uh47UrqGxvdh-RvWl7DNccpsRHBXPXQ0lyGNhLn6zf1QxVYn8LRt59wv3jHnxETG-4MF0LmBAB0hvSKDFZggEwo8r5pOOXJIPwgGoWwxcXt5yYXihqvlYb1NG65HaIND8zcLURRLacTeo7SN3DzSDHWW71cmAasW7z1lQh9rYtAFW9_hJaQ5gbtZeji59SsITrb5ANEQlTZdP87RUO4IOAKJYJWNA65TKRjd-JIz67Ud3PVWvkqYGGjYGP-XhzlObYJjnyYqYS5cP8usNQCKJ2vLA +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: 3xW8Ymr4Fv3N-dXmS9jAgg +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: v_oJhSwHRfJ6wPLrhrYW3vWe_tsT1tLThDk5P0priEIk2wpR2nfYR4KTHd0j_zN0 +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: SIR4ZImq70cWjOU90mpqBA +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.gVWfxHlKFb2x5fIC9V6d-lqV4z80Zz65-u0upo1RpbcAUQPGsDibMnTuo397HXAZWMi9WuB34sYBUQP8kYaauVE8Ta79LXbEDEQ7ly7DLxH_vH0fMWNZUE_KOx48MQ50DCtYsxRYVMv9sKwe2CLgTUs4noGFI371qT0pZFLL8HM7ALUTuYFna0PHFYweyvyXmub5We8cFFAiKFFeTPM__JP1w0HeFXakkAcRB6JiAD7lm8AGTfuNj7Ql0BjyXPP4OGNNSIqjzogybxxvB4jpTZhXEDVOnZIvbln9TuuTTmjxdSUj3KtGkY_Td169dCpBkoE3nLbwhJk18zXljtUZAA.jS0VZPRGVX98l4Cv.bBKpcSpf3HWH2HSGmlnE5i3bXD8cxEJtY0XJsG5KJpM1b7lh_x95mcw2ug.zhJ47VRPsIhYWZv0r0_oPg +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: gVWfxHlKFb2x5fIC9V6d-lqV4z80Zz65-u0upo1RpbcAUQPGsDibMnTuo397HXAZWMi9WuB34sYBUQP8kYaauVE8Ta79LXbEDEQ7ly7DLxH_vH0fMWNZUE_KOx48MQ50DCtYsxRYVMv9sKwe2CLgTUs4noGFI371qT0pZFLL8HM7ALUTuYFna0PHFYweyvyXmub5We8cFFAiKFFeTPM__JP1w0HeFXakkAcRB6JiAD7lm8AGTfuNj7Ql0BjyXPP4OGNNSIqjzogybxxvB4jpTZhXEDVOnZIvbln9TuuTTmjxdSUj3KtGkY_Td169dCpBkoE3nLbwhJk18zXljtUZAA +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: jS0VZPRGVX98l4Cv +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: bBKpcSpf3HWH2HSGmlnE5i3bXD8cxEJtY0XJsG5KJpM1b7lh_x95mcw2ug +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: zhJ47VRPsIhYWZv0r0_oPg +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..GOEBrmFwwiYXf6rX55CI2A.R3pqt780jNUeGJQHv60G5uyL7EOwDW_ZlMJDAwG6CwY_g33G6mjTciboGWR_2Hbe.fA3sUY8obbfBeIHxSRzKEA +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: GOEBrmFwwiYXf6rX55CI2A +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: R3pqt780jNUeGJQHv60G5uyL7EOwDW_ZlMJDAwG6CwY_g33G6mjTciboGWR_2Hbe +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: fA3sUY8obbfBeIHxSRzKEA +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.W9fOKfPK-cfofnjyVtdm-Y_9Sm1De_QL6PAx0ldMqRdoW0IOxzZyECsr28qAv-gpdUX4sF_y2QcI7gWNKEuYivipfSHb-SDv.qEWCmBn788Mv0C1QcUgPqg.q3DEjJTC1FtzBap3M_-LrM5734RcJhWsvX_eaqObLNzLwRbMPNoUHChtUyF4wVq6.Xw4PSIhHcyU2lVdCWbM4Y0rVm9dQVwFVsaoO2JL-rnc +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: W9fOKfPK-cfofnjyVtdm-Y_9Sm1De_QL6PAx0ldMqRdoW0IOxzZyECsr28qAv-gpdUX4sF_y2QcI7gWNKEuYivipfSHb-SDv +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: qEWCmBn788Mv0C1QcUgPqg +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: q3DEjJTC1FtzBap3M_-LrM5734RcJhWsvX_eaqObLNzLwRbMPNoUHChtUyF4wVq6 +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: Xw4PSIhHcyU2lVdCWbM4Y0rVm9dQVwFVsaoO2JL-rnc +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6IlZzNDhjSWdmRXk2X3hQMmEiLCJ0YWciOiJyM1hSZEQ3YmxEZUhIZk9wb3Y2QklBIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.Pjgke6amvEVhXrDTnAsPEUqjunOq4K3axJGmEHdqh4i-Jpmg6kUMxEIC1J1SKUO1Q5nIXDV5JTq_JfUcat639A.jw5eCol2_7CHyFkCOdiTMw.LIM1Yt3pkJ3BcDa3FldEnJ84VDejVyd50C-lv_xMtBMuGk90lJaIPOX4ZaMRig0r.cAdCvQnsND_Or5y49BuVx9biXzvDKpjGCpv6YpVx6SQ +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"Vs48cIgfEy6_xP2a","tag":"r3XRdD7blDeHHfOpov6BIA","enc":"A256CBC-HS512"} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: Pjgke6amvEVhXrDTnAsPEUqjunOq4K3axJGmEHdqh4i-Jpmg6kUMxEIC1J1SKUO1Q5nIXDV5JTq_JfUcat639A +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: jw5eCol2_7CHyFkCOdiTMw +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: LIM1Yt3pkJ3BcDa3FldEnJ84VDejVyd50C-lv_xMtBMuGk90lJaIPOX4ZaMRig0r +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: cAdCvQnsND_Or5y49BuVx9biXzvDKpjGCpv6YpVx6SQ +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6ImxwanFITW4xdXc5ZXotOXR5bUR1cE51RldINExMQS02WThTaEhldUtROHMiLCJ5IjoicTAxQmlTUjlBMHZrdzlwQzhJSUZWeXZxX0QwbWJEUV9ZSHVQVENNVHBJayIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..RV5r1i1h4OJ02TXL.kyhPVQDbVpL-IB6B5iqEUGlKgMf9Rq191jFXuqPodcliodTETDPP3fhWaQ.YCtJx5FA6mNwEc358PYxpw +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"lpjqHMn1uw9ez-9tymDupNuFWH4LLA-6Y8ShHeuKQ8s","y":"q01BiSR9A0vkw9pC8IIFVyvq_D0mbDQ_YHuPTCMTpIk","crv":"P-256"},"enc":"A256GCM"} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: RV5r1i1h4OJ02TXL +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: kyhPVQDbVpL-IB6B5iqEUGlKgMf9Rq191jFXuqPodcliodTETDPP3fhWaQ +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: YCtJx5FA6mNwEc358PYxpw +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6Im9VVTB2R0tYR0xXLWIyVkwiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.v2HmPZ61JE6ln5csqr77ChcMYs6NlvWN_vE9ZKW0sgGGEgpXaSfL1I7vTldD2IERrzhj1I_iwvgS6wMzF_xi4oNbrtRXnR0-.AGkkB7KMKg3SgqVEsKpNQA.NHqy4mTy5J-H3BpqzfqzVgEth79BErJJePL5yYK7JBDgj7ZA8mMI0jnhQgp-Gx5E.sF_rR0D9ovS1SKSfWlNYZ31W0Y71Dfo_22gDDBIo20w +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"oUU0vGKXGLW-b2VL","enc":"A256CBC-HS512"} +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: v2HmPZ61JE6ln5csqr77ChcMYs6NlvWN_vE9ZKW0sgGGEgpXaSfL1I7vTldD2IERrzhj1I_iwvgS6wMzF_xi4oNbrtRXnR0- +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: AGkkB7KMKg3SgqVEsKpNQA +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: NHqy4mTy5J-H3BpqzfqzVgEth79BErJJePL5yYK7JBDgj7ZA8mMI0jnhQgp-Gx5E +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: sF_rR0D9ovS1SKSfWlNYZ31W0Y71Dfo_22gDDBIo20w +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w +Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} +Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > JWS Signature: KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w +Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} +Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=GGRonAG4u/s/8YUEEis15XMr5Oldqe3YWf8ZYlHruWjxRkgAHS5BcrVbr6Jb3EduXlTa92X8Neo+lT1QTNE9Pb6VhtAn2qOB+HytrnJaljhTrTgHCz6de6gBomLeM1303PoODtp6yuMWVbKmBCCQqwuPJi/3QY0EK0QEPmA7IC0=F9I+7Fl6vGdbmR6P1RMTXmgr8QgpieQa8iPwz3RvMf4=AXeSoWKAjd2eU4+OFDPI4yHGBiodnSn7IaBHkbHJ6GsEiwNGcKwkfnWDz/vagQTw2zrVFww74NUJ2iUqEGt+gktyqMlKWbS7nHfP/JgJVZY3PwWhEOJOWFPvCYJjV/rWC+SWdgP1LaK6m3BNiFQ/J4iLM23EN4vpA92SQkINxDo= + \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt index a622d97fe..e9638b6c6 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt +++ b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt @@ -69,7 +69,7 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/07/01 18:47:05,935],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%- +[2025/08/01 12:38:57,643],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%- log4net: configuring repository [log4net-default-repository] using stream log4net: loading XML configuration log4net: Configuring Repository [log4net-default-repository] @@ -144,6 +144,6 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/07/01 18:47:06,130],[INFO ],[1],140,125,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: -[2025/07/01 18:47:06,132],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%-,174,156 +[2025/08/01 12:38:57,839],[INFO ],[1],127,63,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: +[2025/08/01 12:38:57,841],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%-,182,94 3件のデータがあります diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt index afe04a317..af50507be 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt +++ b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt @@ -69,7 +69,7 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/07/01 18:47:14,197],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%- +[2025/08/01 12:39:42,719],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%- log4net: configuring repository [log4net-default-repository] using stream log4net: loading XML configuration log4net: Configuring Repository [log4net-default-repository] @@ -144,6 +144,6 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/07/01 18:47:14,323],[INFO ],[1],74,,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: -[2025/07/01 18:47:14,324],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%-,107, +[2025/08/01 12:39:42,799],[INFO ],[1],46,,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: +[2025/08/01 12:39:42,800],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%-,66, 3件のデータがあります diff --git a/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt b/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt index 230a23ae9..555e4d41f 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt +++ b/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt @@ -70,11 +70,11 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/07/01 18:45:53,174],[DEBUG],[1],LogIF.DebugLog("ACCESS"); -[2025/07/01 18:45:53,189],[INFO ],[1],LogIF.InfoLog("ACCESS"); -[2025/07/01 18:45:53,190],[WARN ],[1],LogIF.WarnLog("ACCESS"); -[2025/07/01 18:45:53,190],[ERROR],[1],LogIF.ErrorLog("ACCESS"); -[2025/07/01 18:45:53,190],[FATAL],[1],LogIF.FatalLog("ACCESS"); +[2025/08/01 12:38:08,484],[DEBUG],[1],LogIF.DebugLog("ACCESS"); +[2025/08/01 12:38:08,497],[INFO ],[1],LogIF.InfoLog("ACCESS"); +[2025/08/01 12:38:08,497],[WARN ],[1],LogIF.WarnLog("ACCESS"); +[2025/08/01 12:38:08,498],[ERROR],[1],LogIF.ErrorLog("ACCESS"); +[2025/08/01 12:38:08,498],[FATAL],[1],LogIF.FatalLog("ACCESS"); ---------------------------------------------------------------------------------------------------- GetMessage: ~メッセージID:I0001に対応する記述(正常系)~ GetMessage: ~メッセージID:E0001に対応する記述(異常系)~ diff --git a/root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt b/root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt index 361403735..aca3a34c5 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt +++ b/root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt @@ -70,11 +70,11 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/07/01 18:45:57,746],[DEBUG],[1],LogIF.DebugLog("ACCESS"); -[2025/07/01 18:45:57,785],[INFO ],[1],LogIF.InfoLog("ACCESS"); -[2025/07/01 18:45:57,786],[WARN ],[1],LogIF.WarnLog("ACCESS"); -[2025/07/01 18:45:57,786],[ERROR],[1],LogIF.ErrorLog("ACCESS"); -[2025/07/01 18:45:57,787],[FATAL],[1],LogIF.FatalLog("ACCESS"); +[2025/08/01 12:38:11,608],[DEBUG],[1],LogIF.DebugLog("ACCESS"); +[2025/08/01 12:38:11,628],[INFO ],[1],LogIF.InfoLog("ACCESS"); +[2025/08/01 12:38:11,628],[WARN ],[1],LogIF.WarnLog("ACCESS"); +[2025/08/01 12:38:11,629],[ERROR],[1],LogIF.ErrorLog("ACCESS"); +[2025/08/01 12:38:11,629],[FATAL],[1],LogIF.FatalLog("ACCESS"); ---------------------------------------------------------------------------------------------------- GetMessage: ~メッセージID:I0001に対応する記述(正常系)~ GetMessage: ~メッセージID:E0001に対応する記述(異常系)~ From c13aaaed83881e60a4522340d738a46a7ea32562 Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Fri, 29 Aug 2025 17:04:26 +0900 Subject: [PATCH 04/12] =?UTF-8?q?4th=20commit=20nuget=E3=80=80support.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/programs/CS/0_ExecAllBat.bat | 7 -- root/programs/CS/0_Release4Nuget.bat | 6 -- .../Public/Util/RandomValueGenerator.cs | 6 -- .../CS/NuGet/Symbol_DamManagedOdp.nuspec | 44 ++------- root/programs/CS/NuGet/Symbol_DamMySQL.nuspec | 51 ++-------- .../programs/CS/NuGet/Symbol_DamPstGrS.nuspec | 62 +------------ .../NuGet/Symbol_Framework.RichClient.nuspec | 50 +--------- .../programs/CS/NuGet/Symbol_Framework.nuspec | 92 +++---------------- .../CS/NuGet/Symbol_Public.Security.nuspec | 71 +++----------- root/programs/CS/NuGet/Symbol_Public.nuspec | 92 +++++-------------- root/programs/CS/NuGet/_NuGetPack.bat | 12 +-- ...6\343\201\256\350\252\254\346\230\216.txt" | 31 ++++--- ...3\343\201\225\343\202\214\343\202\213.txt" | 1 + root/programs/CS/z_Common.bat | 7 +- 14 files changed, 105 insertions(+), 427 deletions(-) diff --git a/root/programs/CS/0_ExecAllBat.bat b/root/programs/CS/0_ExecAllBat.bat index 6d6fdeea2..62842f3a1 100644 --- a/root/programs/CS/0_ExecAllBat.bat +++ b/root/programs/CS/0_ExecAllBat.bat @@ -1,13 +1,6 @@ @echo on timeout 5 -echo | call 1_DeleteDir.bat -echo | call 1_DeleteFile.bat -echo | call 2_Build_NuGet_netstd20.bat - -@echo on -timeout 5 - echo | call 1_DeleteDir.bat echo | call 1_DeleteFile.bat echo | call 2_Build_NuGet_net48.bat diff --git a/root/programs/CS/0_Release4Nuget.bat b/root/programs/CS/0_Release4Nuget.bat index c87bbf5a9..a2e6fa2f1 100644 --- a/root/programs/CS/0_Release4Nuget.bat +++ b/root/programs/CS/0_Release4Nuget.bat @@ -1,12 +1,6 @@ @echo on timeout 5 -echo | call 1_DeleteDir.bat -echo | call 2_Build_NuGet_netstd20.bat - -@echo on -timeout 5 - echo | call 1_DeleteDir.bat echo | call 2_Build_NuGet_net48.bat diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs index 920c59f05..560d3fb52 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs @@ -83,13 +83,7 @@ public static uint GenerateRandomUint() { byte[] bs = new byte[sizeof(uint)]; -#if NETSTD RandomNumberGenerator.Fill(bs); -#else - RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); - rng.GetBytes(bs); - rng.Dispose(); -#endif return BitConverter.ToUInt32(bs, 0); } diff --git a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec index 3baae3512..a65a88156 100644 --- a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec @@ -16,58 +16,26 @@ OpenTouryo Open棟梁 - + - + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - + + + diff --git a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec index 82fa28c4b..b22c7fd9a 100644 --- a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec @@ -16,62 +16,27 @@ OpenTouryo Open棟梁 - + - - + + - + - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - + + + diff --git a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec index 7e46f346e..5fa8bbf93 100644 --- a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec @@ -16,70 +16,18 @@ OpenTouryo Open棟梁 - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec index a3357be56..5cae787b2 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec @@ -16,31 +16,11 @@ OpenTouryo Open棟梁 - + - - - - - - - - - - - - - - - - - - - - - + @@ -49,33 +29,13 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/root/programs/CS/NuGet/Symbol_Framework.nuspec b/root/programs/CS/NuGet/Symbol_Framework.nuspec index aadaa155d..5b9432d21 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.nuspec @@ -16,62 +16,20 @@ OpenTouryo Open棟梁 - + - - - - - - - + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -81,35 +39,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + diff --git a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec index 0e8ba11b8..a57515f00 100644 --- a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec @@ -16,76 +16,33 @@ OpenTouryo Open棟梁 - + - - - + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - + + + diff --git a/root/programs/CS/NuGet/Symbol_Public.nuspec b/root/programs/CS/NuGet/Symbol_Public.nuspec index dfad125c5..988fc604a 100644 --- a/root/programs/CS/NuGet/Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.nuspec @@ -16,52 +16,26 @@ OpenTouryo Open棟梁 - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -69,35 +43,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + diff --git a/root/programs/CS/NuGet/_NuGetPack.bat b/root/programs/CS/NuGet/_NuGetPack.bat index 6427584bd..2090f13bb 100644 --- a/root/programs/CS/NuGet/_NuGetPack.bat +++ b/root/programs/CS/NuGet/_NuGetPack.bat @@ -1,17 +1,9 @@ setlocal @echo off -xcopy /E /Y "..\Frameworks\Infrastructure\Build_net45" "in\net452" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_net46" "in\net46" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_net47" "in\net47" xcopy /E /Y "..\Frameworks\Infrastructure\Build_net48" "in\net48" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netstd20\netstandard2.0" "in\netstandard2.0" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netstd21\netstandard2.1" "in\netstandard2.1" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore30\netcoreapp3.0" "in\netcoreapp3.0" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore50\net5.0" "in\net5.0" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore50\net5.0-windows" "in\net5.0-windows" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore60\net6.0" "in\net6.0" -xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore60\net6.0-windows" "in\net6.0-windows" +xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore80\net8.0" "in\net8.0" +xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows" "in\net8.0-windows" "..\..\nuget.exe" pack Symbol_Public.nuspec -OutputDirectory "out\sp" -Symbols -SymbolPackageFormat snupkg "..\..\nuget.exe" pack Symbol_Public.Security.nuspec -OutputDirectory "out\sp" -Symbols -SymbolPackageFormat snupkg diff --git "a/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" "b/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" index 8840dd349..bb485f291 100644 --- "a/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" +++ "b/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" @@ -1,13 +1,17 @@ -(1)先ず、以下の手順を実施する。 +<テスト手順> +本番手順のうち、T_ファイルを使用する。 + +<本番手順> +(1)以下の手順を実施する   リリース・エンジニアリング - Open 棟梁 Wiki   https://opentouryo.osscons.jp/index.php?%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%83%BB%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%8B%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%B0 - -(2)次に、bat使用してビルドを行う。 -  以下の設定ファイルのBUILD_CONFIG=DebugをReleaseに変更する。 -  ...\OpenTouryo\root\programs\CS\z_Common.bat +  ※ コレは全体像の説明で、先ずは、個々の修正を行う。    -  以下のビルドbatを実行する。 -  "...\OpenTouryo\root\programs\CS\0_Release4Nuget.bat" +(2)次に、bat使用してビルドを行う。 +  ・以下の設定ファイルのDEBUG_TYPE=fullをportableに変更する。 +   ...\OpenTouryo\root\programs\CS\z_Common.bat +  ・以下のビルドbatを実行する。 +   ...\OpenTouryo\root\programs\CS\0_Release4Nuget.bat (3)次に、NuGetパッケージにパッケージングを行う。   _NuGetPack.bat @@ -15,8 +19,13 @@ (4)最後にNuGetパッケージをNuGetにプッシュする。   APIキーをNuGetサイトから取得して以下のbat内に設定してから実行する。   ...\OpenTouryo\root\programs\CS\NuGet\out\sp\_NuGetPush.bat -  ※ 「sp」の方だけで良い。「pp」の方はシンボルを登録しないケースで利用できる。 +  ※ 最新では「sp」の方だけで良い。「pp」の方はシンボルを登録しないケースで利用できる。 -(5)後始末。 -  BUILD_CONFIG=Releaseをrevertする。 -  APIキーをrevertする。 \ No newline at end of file +(5)後始末としてrevertする。 +  ・z_Common.bat:DEBUG_TYPE +  ・_NuGetPush.bat:ApiKey + +(6)以下の手順を実施する +  リリース・エンジニアリング - Open 棟梁 Wiki +  https://opentouryo.osscons.jp/index.php?%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%83%BB%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%8B%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%B0 +  ※ NuGet利用リポジトリのNuGet参照の貼り直し。 diff --git "a/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" "b/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" index e69de29bb..00a0adf28 100644 --- "a/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" +++ "b/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" @@ -0,0 +1 @@ +ココのフォルダは使用しなくなりました。 \ No newline at end of file diff --git a/root/programs/CS/z_Common.bat b/root/programs/CS/z_Common.bat index 2c281ac57..d878b2ad0 100644 --- a/root/programs/CS/z_Common.bat +++ b/root/programs/CS/z_Common.bat @@ -53,14 +53,19 @@ echo BUILDFILEPATH %BUILDFILEPATH% @echo -------------------------------------------------- @echo The choice of build configuration (Debug / Release). +@echo BUILD_CONFIG は 特定の構成(Debug や Release)を指定 +@echo DEBUG_TYPE は full, pdbonly, portable, embedded, none +@echo https://learn.microsoft.com/ja-jp/dotnet/csharp/language-reference/compiler-options/code-generation#debugtype @echo -------------------------------------------------- set BUILD_CONFIG=Debug +set DEBUG_TYPE=full set VisualStudioVersion=17.0 @echo -------------------------------------------------- @echo Creating a build command. @echo -------------------------------------------------- -set COMMANDLINE=/p:Configuration=%BUILD_CONFIG% -v:d +@set COMMANDLINE=/p:Configuration=%BUILD_CONFIG% -v:d +set COMMANDLINE=/p:Configuration=%BUILD_CONFIG% /p:DebugType=%DEBUG_TYPE% -v:d @echo -------------------------------------------------- @echo Set the proxy settings of Nuget. From f532f7a5bd019400007e5f3c386cc79ae0d1f71a Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Fri, 29 Aug 2025 20:37:23 +0900 Subject: [PATCH 05/12] 5th commit nuget support. --- .../Public/Util/RandomValueGenerator.cs | 6 ++++++ ...240\206\343\201\256\350\252\254\346\230\216.txt" | 8 ++++++-- ...212\233\343\201\225\343\202\214\343\202\213.txt" | 6 ++++++ ...212\233\343\201\225\343\202\214\343\202\213.txt" | 2 +- root/programs/CS/NuGet/out/sp/_NuGetPush.bat | 11 +++++------ root/programs/CS/NuGet/out/sp/_T_NuGetPush.bat | 13 +++++++++++++ ...212\233\343\201\225\343\202\214\343\202\213.txt" | 1 + root/programs/CS/z_Common.bat | 2 +- 8 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 root/programs/CS/NuGet/out/sp/_T_NuGetPush.bat diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs index 560d3fb52..6f71d738e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Util/RandomValueGenerator.cs @@ -83,7 +83,13 @@ public static uint GenerateRandomUint() { byte[] bs = new byte[sizeof(uint)]; +#if NETCOREAPP RandomNumberGenerator.Fill(bs); +#else + RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider(); + rng.GetBytes(bs); + rng.Dispose(); +#endif return BitConverter.ToUInt32(bs, 0); } diff --git "a/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" "b/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" index bb485f291..63095ac30 100644 --- "a/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" +++ "b/root/programs/CS/NuGet/_\346\211\213\351\240\206\343\201\256\350\252\254\346\230\216.txt" @@ -1,5 +1,9 @@ <テスト手順> -本番手順のうち、T_ファイルを使用する。 +・本番手順のうち、T_プレフィックスのあるファイルを使用する。 +・対象は、Touryo.Infrastructure.Public(OpenTouryo.Public)のみ。 +・Erutcurtsarfni.Oyruot.Public... と言う偽名を使用したα版として登録。 +・コレを使用して、NuGet.org のシンボル サーバーが機能するかどうかを確認する。 +・コレには、VSでシンボル・ソースに https://symbols.nuget.org/download/symbols を追加する。 <本番手順> (1)以下の手順を実施する @@ -19,7 +23,7 @@ (4)最後にNuGetパッケージをNuGetにプッシュする。   APIキーをNuGetサイトから取得して以下のbat内に設定してから実行する。   ...\OpenTouryo\root\programs\CS\NuGet\out\sp\_NuGetPush.bat -  ※ 最新では「sp」の方だけで良い。「pp」の方はシンボルを登録しないケースで利用できる。 +  ※ 最新では「sp」の方だけで良い。「pp」の方はシンボルを登録しないケースで利用可。 (5)後始末としてrevertする。   ・z_Common.bat:DEBUG_TYPE diff --git "a/root/programs/CS/NuGet/out/nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" "b/root/programs/CS/NuGet/out/nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" index e69de29bb..926577a07 100644 --- "a/root/programs/CS/NuGet/out/nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" +++ "b/root/programs/CS/NuGet/out/nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" @@ -0,0 +1,6 @@ +以前は、 +・ppフォルダに、primaryのnupkgが出力されていた +・spフォルダに、symbolのnupkgが出力されていた + +今は、spフォルダに、primaryのnupkgとsymbolのnupkgが出力される。 +なので、spフォルダで、_NuGetPush.batを1回だけ、実行すれば良い。 diff --git "a/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" "b/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" index 00a0adf28..8445ae9db 100644 --- "a/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" +++ "b/root/programs/CS/NuGet/out/pp/primary\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" @@ -1 +1 @@ -ココのフォルダは使用しなくなりました。 \ No newline at end of file +コチラのフォルダは、使用されなくなりました。 \ No newline at end of file diff --git a/root/programs/CS/NuGet/out/sp/_NuGetPush.bat b/root/programs/CS/NuGet/out/sp/_NuGetPush.bat index 06b9bf832..98acc9257 100644 --- a/root/programs/CS/NuGet/out/sp/_NuGetPush.bat +++ b/root/programs/CS/NuGet/out/sp/_NuGetPush.bat @@ -3,14 +3,13 @@ "..\..\..\..\nuget.exe" SetApiKey [ApiKey] +rem .nupkg と .snupkg の両方が在れば、両方が公開される。 +rem -sourceオプションは、NuGet.Config の DefaultPushSource 値がなければ必須 "..\..\..\..\nuget.exe" push Touryo.Infrastructure.Public.*.nupkg -source https://api.nuget.org/v3/index.json "..\..\..\..\nuget.exe" push Touryo.Infrastructure.Framework.*.nupkg -source https://api.nuget.org/v3/index.json -rem 以下でPushは出来たが、portableでは無いと怒られる。 -rem ReleaseのDebugTypeはportableになっているので、 -rem 次回はz_Common.batをReleaseに設定してPushしてみる。 - -"..\..\..\..\nuget.exe" push Touryo.Infrastructure.Public.*.snupkg -source https://api.nuget.org/v3/index.json -"..\..\..\..\nuget.exe" push Touryo.Infrastructure.Framework.*.snupkg -source https://api.nuget.org/v3/index.json +rem 従って、以下のコマンドは実行不要になった。 +rem "..\..\..\..\nuget.exe" push Touryo.Infrastructure.Public.*.snupkg -source https://api.nuget.org/v3/index.json +rem "..\..\..\..\nuget.exe" push Touryo.Infrastructure.Framework.*.snupkg -source https://api.nuget.org/v3/index.json pause \ No newline at end of file diff --git a/root/programs/CS/NuGet/out/sp/_T_NuGetPush.bat b/root/programs/CS/NuGet/out/sp/_T_NuGetPush.bat new file mode 100644 index 000000000..ec6d4c1bc --- /dev/null +++ b/root/programs/CS/NuGet/out/sp/_T_NuGetPush.bat @@ -0,0 +1,13 @@ +setlocal +@echo off + +"..\..\..\..\nuget.exe" SetApiKey [ApiKey] + +rem .nupkg と .snupkg の両方が在れば、両方が公開される。 +rem -sourceオプションは、NuGet.Config の DefaultPushSource 値がなければ必須 +"..\..\..\..\nuget.exe" push Erutcurtsarfni.Oyruot.Public.*.nupkg -source https://api.nuget.org/v3/index.json + +rem 従って、以下のコマンドは実行不要になった。 +rem "..\..\..\..\nuget.exe" push Erutcurtsarfni.Oyruot.Public.*.snupkg -source https://api.nuget.org/v3/index.json + +pause \ No newline at end of file diff --git "a/root/programs/CS/NuGet/out/sp/symbol\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" "b/root/programs/CS/NuGet/out/sp/symbol\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" index e69de29bb..c400ee1b9 100644 --- "a/root/programs/CS/NuGet/out/sp/symbol\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" +++ "b/root/programs/CS/NuGet/out/sp/symbol\343\201\256nupkg\343\201\214\345\207\272\345\212\233\343\201\225\343\202\214\343\202\213.txt" @@ -0,0 +1 @@ +コチラのフォルダに、primaryのnupkgも出力されるようになりました。 \ No newline at end of file diff --git a/root/programs/CS/z_Common.bat b/root/programs/CS/z_Common.bat index d878b2ad0..478425943 100644 --- a/root/programs/CS/z_Common.bat +++ b/root/programs/CS/z_Common.bat @@ -58,7 +58,7 @@ echo BUILDFILEPATH %BUILDFILEPATH% @echo https://learn.microsoft.com/ja-jp/dotnet/csharp/language-reference/compiler-options/code-generation#debugtype @echo -------------------------------------------------- set BUILD_CONFIG=Debug -set DEBUG_TYPE=full +set DEBUG_TYPE=portable set VisualStudioVersion=17.0 @echo -------------------------------------------------- From f9552c5d4b0e264e01a790bf5529449a99f9367e Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Fri, 29 Aug 2025 23:49:22 +0900 Subject: [PATCH 06/12] 6th commit nuget support. --- .../CS/NuGet/Symbol_DamManagedOdp.nuspec | 2 +- root/programs/CS/NuGet/Symbol_DamMySQL.nuspec | 2 +- .../programs/CS/NuGet/Symbol_DamPstGrS.nuspec | 2 +- .../NuGet/Symbol_Framework.RichClient.nuspec | 2 +- .../programs/CS/NuGet/Symbol_Framework.nuspec | 2 +- .../CS/NuGet/Symbol_Public.Security.nuspec | 2 +- root/programs/CS/NuGet/Symbol_Public.nuspec | 2 +- root/programs/CS/NuGet/T_NuGetPack.bat | 9 +++ root/programs/CS/NuGet/T_Symbol_Public.nuspec | 58 +++++++++++++++++++ root/programs/CS/NuGet/symbol_template.nuspec | 22 +++---- root/programs/CS/z_Common.bat | 2 +- 11 files changed, 87 insertions(+), 18 deletions(-) create mode 100644 root/programs/CS/NuGet/T_NuGetPack.bat create mode 100644 root/programs/CS/NuGet/T_Symbol_Public.nuspec diff --git a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec index a65a88156..d44931648 100644 --- a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec @@ -37,6 +37,6 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec index b22c7fd9a..2277c023b 100644 --- a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec @@ -38,6 +38,6 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec index 5fa8bbf93..fb9151280 100644 --- a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec @@ -29,6 +29,6 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec index 5cae787b2..3c8ccb259 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec @@ -37,6 +37,6 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Framework.nuspec b/root/programs/CS/NuGet/Symbol_Framework.nuspec index 5b9432d21..8381f842c 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.nuspec @@ -49,6 +49,6 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec index a57515f00..875eca955 100644 --- a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec @@ -44,6 +44,6 @@ - + diff --git a/root/programs/CS/NuGet/Symbol_Public.nuspec b/root/programs/CS/NuGet/Symbol_Public.nuspec index 988fc604a..5ce8ef721 100644 --- a/root/programs/CS/NuGet/Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.nuspec @@ -53,6 +53,6 @@ - + diff --git a/root/programs/CS/NuGet/T_NuGetPack.bat b/root/programs/CS/NuGet/T_NuGetPack.bat new file mode 100644 index 000000000..28bc3fe9e --- /dev/null +++ b/root/programs/CS/NuGet/T_NuGetPack.bat @@ -0,0 +1,9 @@ +setlocal +@echo off + +xcopy /E /Y "..\Frameworks\Infrastructure\Build_net48" "in\net48" +xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore80\net8.0" "in\net8.0" +xcopy /E /Y "..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows" "in\net8.0-windows" + +"..\..\nuget.exe" pack T_Symbol_Public.nuspec -OutputDirectory "out\sp" -Symbols -SymbolPackageFormat snupkg +pause diff --git a/root/programs/CS/NuGet/T_Symbol_Public.nuspec b/root/programs/CS/NuGet/T_Symbol_Public.nuspec new file mode 100644 index 000000000..1dce7eb02 --- /dev/null +++ b/root/programs/CS/NuGet/T_Symbol_Public.nuspec @@ -0,0 +1,58 @@ + + + + Erutcurtsarfni.Oyruot.Public + NepoOyruot.Public + 3.1.0-alpha2 + OSS Consortium .net subcommittee + daisukenishino77 + Apache-2.0 + https://github.com/OpenTouryoProject/OpenTouryo/tree/master/root/programs/CS/Frameworks/Infrastructure/Public + _OpenTouryo.png + true + NuGet tests by OpenTouryoPJ. + This is to test everything from NuGet registration to using the debug server. + https://github.com/OpenTouryoProject/OpenTouryo/releases + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/programs/CS/NuGet/symbol_template.nuspec b/root/programs/CS/NuGet/symbol_template.nuspec index b51ab64db..d6c5fa126 100644 --- a/root/programs/CS/NuGet/symbol_template.nuspec +++ b/root/programs/CS/NuGet/symbol_template.nuspec @@ -1,14 +1,14 @@ - [名前空間(Touryo.Infrastructure.XXXX)]★ - OpenTouryo.[略号(OpenTouryo.XXXX)] + [名前空間(Touryo.Infrastructure.xxxx)]★ + OpenTouryo.[略号(OpenTouryo.xxxx)] [バージョン番号]OSS Consortium .net subcommitteedaisukenishino77 Apache-2.0 - https://github.com/OpenTouryoProject/OpenTouryo/tree/master/・・・ - images\[*.png, *.iconなどの64*64の画像] + https://github.com/OpenTouryoProject/OpenTouryo/tree/master/... + _OpenTouryo.png[, *.iconなどの64*64の画像] true [概要説明を記入する] [詳細説明を記入する]★ @@ -16,16 +16,18 @@ OpenTouryo Open棟梁 - + + + - + - - - + + + - + \ No newline at end of file diff --git a/root/programs/CS/z_Common.bat b/root/programs/CS/z_Common.bat index 478425943..d878b2ad0 100644 --- a/root/programs/CS/z_Common.bat +++ b/root/programs/CS/z_Common.bat @@ -58,7 +58,7 @@ echo BUILDFILEPATH %BUILDFILEPATH% @echo https://learn.microsoft.com/ja-jp/dotnet/csharp/language-reference/compiler-options/code-generation#debugtype @echo -------------------------------------------------- set BUILD_CONFIG=Debug -set DEBUG_TYPE=portable +set DEBUG_TYPE=full set VisualStudioVersion=17.0 @echo -------------------------------------------------- From 50edab62cb0143111ccadb7c21c9b03206266d6a Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Sat, 30 Aug 2025 00:15:52 +0900 Subject: [PATCH 07/12] 7th commit nuget support. --- ...indows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" | 0 ...net8.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" | 0 ...ard2.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" | 0 ...ard2.1\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename "root/programs/CS/NuGet/in/net6.0-windows/net6.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" => "root/programs/CS/NuGet/in/net8.0-windows/net8.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" (100%) rename "root/programs/CS/NuGet/in/net6.0/net6.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" => "root/programs/CS/NuGet/in/net8.0/net8.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" (100%) delete mode 100644 "root/programs/CS/NuGet/in/netstandard2.0/netstandard2.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" delete mode 100644 "root/programs/CS/NuGet/in/netstandard2.1/netstandard2.1\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" diff --git "a/root/programs/CS/NuGet/in/net6.0-windows/net6.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" "b/root/programs/CS/NuGet/in/net8.0-windows/net8.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" similarity index 100% rename from "root/programs/CS/NuGet/in/net6.0-windows/net6.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" rename to "root/programs/CS/NuGet/in/net8.0-windows/net8.0-windows\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" diff --git "a/root/programs/CS/NuGet/in/net6.0/net6.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" "b/root/programs/CS/NuGet/in/net8.0/net8.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" similarity index 100% rename from "root/programs/CS/NuGet/in/net6.0/net6.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" rename to "root/programs/CS/NuGet/in/net8.0/net8.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" diff --git "a/root/programs/CS/NuGet/in/netstandard2.0/netstandard2.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" "b/root/programs/CS/NuGet/in/netstandard2.0/netstandard2.0\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" deleted file mode 100644 index e69de29bb..000000000 diff --git "a/root/programs/CS/NuGet/in/netstandard2.1/netstandard2.1\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" "b/root/programs/CS/NuGet/in/netstandard2.1/netstandard2.1\343\201\256dll\343\202\222\351\205\215\347\275\256.txt" deleted file mode 100644 index e69de29bb..000000000 From f01cb25d541a67dadd7773470529a2b3153b3a3a Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Tue, 2 Sep 2025 18:25:22 +0900 Subject: [PATCH 08/12] 8th commit nuget support. --- root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec | 3 +-- root/programs/CS/NuGet/Symbol_DamMySQL.nuspec | 1 - root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec | 1 - root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec | 1 - root/programs/CS/NuGet/Symbol_Framework.nuspec | 1 - root/programs/CS/NuGet/Symbol_Public.Security.nuspec | 1 - root/programs/CS/NuGet/Symbol_Public.nuspec | 1 - root/programs/CS/NuGet/T_Symbol_Public.nuspec | 1 - root/programs/CS/NuGet/symbol_template.nuspec | 1 - 9 files changed, 1 insertion(+), 10 deletions(-) diff --git a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec index d44931648..694e72056 100644 --- a/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamManagedOdp.nuspec @@ -36,7 +36,6 @@ - - + diff --git a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec index 2277c023b..11fd720f3 100644 --- a/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamMySQL.nuspec @@ -38,6 +38,5 @@ - diff --git a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec index fb9151280..b9230f3ec 100644 --- a/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec +++ b/root/programs/CS/NuGet/Symbol_DamPstGrS.nuspec @@ -29,6 +29,5 @@ - diff --git a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec index 3c8ccb259..f96f7edfa 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.RichClient.nuspec @@ -37,6 +37,5 @@ - diff --git a/root/programs/CS/NuGet/Symbol_Framework.nuspec b/root/programs/CS/NuGet/Symbol_Framework.nuspec index 8381f842c..051a0c220 100644 --- a/root/programs/CS/NuGet/Symbol_Framework.nuspec +++ b/root/programs/CS/NuGet/Symbol_Framework.nuspec @@ -49,6 +49,5 @@ - diff --git a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec index 875eca955..b9c62e1e4 100644 --- a/root/programs/CS/NuGet/Symbol_Public.Security.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.Security.nuspec @@ -44,6 +44,5 @@ - diff --git a/root/programs/CS/NuGet/Symbol_Public.nuspec b/root/programs/CS/NuGet/Symbol_Public.nuspec index 5ce8ef721..b8d47556f 100644 --- a/root/programs/CS/NuGet/Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/Symbol_Public.nuspec @@ -53,6 +53,5 @@ - diff --git a/root/programs/CS/NuGet/T_Symbol_Public.nuspec b/root/programs/CS/NuGet/T_Symbol_Public.nuspec index 1dce7eb02..d607d70ea 100644 --- a/root/programs/CS/NuGet/T_Symbol_Public.nuspec +++ b/root/programs/CS/NuGet/T_Symbol_Public.nuspec @@ -53,6 +53,5 @@ - diff --git a/root/programs/CS/NuGet/symbol_template.nuspec b/root/programs/CS/NuGet/symbol_template.nuspec index d6c5fa126..d5eb317d2 100644 --- a/root/programs/CS/NuGet/symbol_template.nuspec +++ b/root/programs/CS/NuGet/symbol_template.nuspec @@ -28,6 +28,5 @@ - \ No newline at end of file From 607b9baf02827e7fb6898186003fcba086bd2d52 Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Thu, 18 Sep 2025 17:30:55 +0900 Subject: [PATCH 09/12] 8th commit was worked on for the first time using vs2026 insiders. --- .../BusinessRichClient_netcore100.sln | 4 +-- .../Control/WinCustomMaskedTextBox.cs | 31 +++++++++---------- .../Control/WinCustomMaskedTextBoxDgvCol.cs | 29 ++++++++++------- .../Control/WinCustomMaskedTextBoxDgvHost.cs | 13 ++++++++ .../RichClient/Control/WinCustomTextBox.cs | 24 +++++++++----- .../Control/WinCustomTextBoxDgvCol.cs | 28 +++++++++++------ .../Control/WinCustomTextBoxDgvHost.cs | 13 ++++++++ .../Nuget_RichClient_netcore100.sln | 4 +-- .../Infrastructure/Nuget_netcore100.sln | 4 +-- root/programs/CS/z_Common.bat | 9 ++++-- 10 files changed, 106 insertions(+), 53 deletions(-) diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln index e9c23c6a2..f8780c935 100644 --- a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln +++ b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore100.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11012.119 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business.RichClient_netcore100", "Business\RichClient\Business.RichClient_netcore100.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBox.cs b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBox.cs index 9dadc2785..c24728ec9 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBox.cs +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBox.cs @@ -48,8 +48,7 @@ namespace Touryo.Infrastructure.CustomControl.RichClient { /// System.Windows.Forms.MaskedTextBoxのカスタム・コントロール - [DefaultProperty("Text")] - [Designer(typeof(WinCustomMaskedTextBoxDesigner))] + [DefaultProperty("Text"), Designer(typeof(WinCustomMaskedTextBoxDesigner))] public class WinCustomMaskedTextBox : MaskedTextBox, ICheck, IGetValue, INotifyPropertyChanged { ///デザイナ上の表示をカスタマイズするインナークラス @@ -167,8 +166,7 @@ public override string Text /// TextMaskFormatは初期値、IncludeLiteralsのままReadonlyに変更。 /// このため、Textプロパティでは必ずマスク適用時の値を取得する。 /// - [Category("動作"), - Description("TextMaskFormatは初期値、IncludeLiteralsのままReadonlyに。")] + [Category("動作"), Description("TextMaskFormatは初期値、IncludeLiteralsのままReadonlyに。")] public new MaskFormat TextMaskFormat { get @@ -179,8 +177,11 @@ public override string Text /// Text2プロパティではマスクを除いた値を取得する。 /// Bindingsで使用可能なようにset_Text2を用意した。 - [Category("表示"), - Description("Text2プロパティではマスクを除いた値を設定・取得する。")] + [Category("表示"), Description("Text2プロパティではマスクを除いた値を設定・取得する。") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public string Text2 { get @@ -207,8 +208,7 @@ public string Text2 } /// Text3プロパティでは表示時マスク適用時の値を取得する。 - [Category("表示"), - Description("Text3プロパティでは表示時マスク適用時の値を取得する。")] + [Category("表示"), Description("Text3プロパティでは表示時マスク適用時の値を取得する。")] public string Text3 { get @@ -439,20 +439,19 @@ public bool ShouldSerializeEditInitialValue() internal string OriginalMask { get; private set; } /// 入力中のマスク - [Category("Edit"), - Description("入力中のマスク")] + [Category("Edit"), Description("入力中のマスク") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public string Mask_Editing { get; set; } /// 半角編集 - [DefaultValue(false), - Category("Edit"), - Description("半角指定(マスクで指定できないため)")] + [DefaultValue(false), Category("Edit"), Description("半角指定(マスクで指定できないため)")] public bool EditToHankaku { get; set; } /// 日付編集 - [DefaultValue(false), - Category("Edit"), - Description("YYYYMMDDのM、Dが1桁の時に補正処理を行う。")] + [DefaultValue(false), Category("Edit"), Description("YYYYMMDDのM、Dが1桁の時に補正処理を行う。")] public bool EditToYYYYMMDD { get; set; } #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvCol.cs b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvCol.cs index 17a2f0a61..fc10098c2 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvCol.cs +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvCol.cs @@ -47,30 +47,35 @@ public WinCustomMaskedTextBoxDgvCol() : base(new WinCustomMaskedTextBoxDgvCell()) { } /// 初期値編集プロパティに適用する値 - [Category("Edit"), - Description("初期値編集")] + [Category("Edit"), Description("初期値編集") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public EditInitialValue EditInitialValue { get; set; } /// Maskプロパティに適用する値 - [Category("Edit"), - Description("入力後のマスク")] + [Category("Edit"), Description("入力後のマスク") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public string Mask { set; get; } /// Mask_Editingプロパティに適用する値 - [Category("Edit"), - Description("入力中のマスク")] + [Category("Edit"), Description("入力中のマスク") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public string Mask_Editing { set; get; } /// 半角指定(マスクで指定できないため) - [DefaultValue(false), - Category("Edit"), - Description("半角指定(マスクで指定できないため)")] + [DefaultValue(false), Category("Edit"), Description("半角指定(マスクで指定できないため)")] public bool EditToHankaku { get; set; } /// YYYYMMDDのM、Dが1桁の時に補正処理を行う。 - [DefaultValue(false), - Category("Edit"), - Description("YYYYMMDDのM、Dが1桁の時に補正処理を行う。")] + [DefaultValue(false), Category("Edit"), Description("YYYYMMDDのM、Dが1桁の時に補正処理を行う。")] public bool EditToYYYYMMDD { get; set; } /// クローンの作製 diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvHost.cs b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvHost.cs index c53f6e5a7..7f246c430 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvHost.cs +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomMaskedTextBoxDgvHost.cs @@ -32,6 +32,7 @@ using System; using System.Windows.Forms; +using System.ComponentModel; namespace Touryo.Infrastructure.CustomControl.RichClient { @@ -110,6 +111,9 @@ public object GetEditingControlFormattedValue( } /// 編集コントロールで変更されたセルの値 +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public object EditingControlFormattedValue { set @@ -156,12 +160,21 @@ public void ApplyCellStyleToEditingControl( } /// 編集しているセルがあるDataGridView +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public DataGridView EditingControlDataGridView { set; get; } /// 編集しているセルの行があるインデックス +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public int EditingControlRowIndex { set; get; } /// 編集されたか(編集コントロールとセルの値が違うか) +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public bool EditingControlValueChanged { set; get; } /// diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBox.cs b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBox.cs index 8d13e1c47..95e799cc4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBox.cs +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBox.cs @@ -51,8 +51,7 @@ namespace Touryo.Infrastructure.CustomControl.RichClient { /// System.Windows.Forms.TextBoxのカスタム・コントロール - [DefaultProperty("Text")] - [Designer(typeof(WinCustomTextBoxDesigner))] + [DefaultProperty("Text"), Designer(typeof(WinCustomTextBoxDesigner))] public class WinCustomTextBox : TextBox, ICheck, IEdit, IGetValue, INotifyPropertyChanged { ///デザイナ上の表示をカスタマイズするインナークラス @@ -193,8 +192,11 @@ public override string Text } /// Text2プロパティ - [Category("表示"), - Description("ユーザ入力のTextプロパティ")] + [Category("表示"), Description("ユーザ入力のTextプロパティ") +#if NETCOREAPP + ,DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public string Text2 { get @@ -251,8 +253,11 @@ public string Text2 } /// Text3プロパティ - [Category("表示"), - Description("編集処理込のTextプロパティ")] + [Category("表示"), Description("編集処理込のTextプロパティ") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public string Text3 { get @@ -319,8 +324,11 @@ public string Text3 /// 単位変換に対応したValueプロパティ /// 内部からは触らない値 - [Category("表示"), - Description("単位変換に対応したValueプロパティ")] + [Category("表示"), Description("単位変換に対応したValueプロパティ") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public object Value { get diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvCol.cs b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvCol.cs index 370c747e6..626c4b0e4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvCol.cs +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvCol.cs @@ -47,27 +47,37 @@ public WinCustomTextBoxDgvCol() : base(new WinCustomTextBoxDgvCell()) { } /// MaxLengthプロパティの設定用 +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public int MaxLength { get; set; } /// 入力制限専用プロパティに適用する値 - [DefaultValue(false), - Category("Edit"), - Description("入力制限専用")] + [DefaultValue(false), Category("Edit"), Description("入力制限専用")] public bool IsNumeric { get; set; } /// 初期値編集プロパティに適用する値 - [Category("Edit"), - Description("初期値編集")] + [Category("Edit"), Description("初期値編集") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public EditInitialValue EditInitialValue { get; set; } /// 文字埋め編集プロパティに適用する値 - [Category("Edit"), - Description("文字埋め編集")] + [Category("Edit"), Description("文字埋め編集") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public EditPadding EditPadding { get; set; } /// 小数点以下編集(入力中)プロパティに適用する値 - [Category("Edit"), - Description("小数点以下x桁編集(入力中)")] + [Category("Edit"), Description("小数点以下x桁編集(入力中)") +#if NETCOREAPP + , DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) +#endif + ] public EditDigitsAfterDP EditDigitsAfterDP_Editing { get; set; } /// クローンの作製 diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvHost.cs b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvHost.cs index 1f322f964..38bb026e1 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvHost.cs +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/Control/WinCustomTextBoxDgvHost.cs @@ -31,6 +31,7 @@ //********************************************************************************** using System; +using System.ComponentModel; using System.Windows.Forms; namespace Touryo.Infrastructure.CustomControl.RichClient @@ -116,6 +117,9 @@ public object GetEditingControlFormattedValue( } /// 編集コントロールで変更されたセルの値 +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public object EditingControlFormattedValue { set @@ -174,12 +178,21 @@ public void ApplyCellStyleToEditingControl( } /// 編集しているセルがあるDataGridView +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public DataGridView EditingControlDataGridView { set; get; } /// 編集しているセルの行があるインデックス +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public int EditingControlRowIndex { set; get; } /// 編集されたか(編集コントロールとセルの値が違うか) +#if NETCOREAPP + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] +#endif public bool EditingControlValueChanged { set; get; } /// diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln index 5b2d02c40..5b48a08e1 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore100.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11012.119 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework.RichClient_netcore100", "Framework\RichClient\Framework.RichClient_netcore100.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln index 96ab2adc3..914e6bb8b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore100.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11012.119 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Public_netcore100", "Public\Public_netcore100.csproj", "{603EB991-F629-4207-A45C-A7979F0B27F8}" EndProject diff --git a/root/programs/CS/z_Common.bat b/root/programs/CS/z_Common.bat index d878b2ad0..0859036d7 100644 --- a/root/programs/CS/z_Common.bat +++ b/root/programs/CS/z_Common.bat @@ -41,14 +41,19 @@ if exist "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Curre set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ) +if exist "C:\Program Files\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH18="C:\Program Files\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\MSBuild.exe" +) + echo BUILDFILEPATH2.0 %BUILDFILEPATH2.0% echo BUILDFILEPATH3.5 %BUILDFILEPATH3.5% echo BUILDFILEPATH4.0 %BUILDFILEPATH4.0% echo BUILDFILEPATH15 %BUILDFILEPATH15% echo BUILDFILEPATH16 %BUILDFILEPATH16% echo BUILDFILEPATH17 %BUILDFILEPATH17% +echo BUILDFILEPATH17 %BUILDFILEPATH18% -set BUILDFILEPATH=%BUILDFILEPATH17% +set BUILDFILEPATH=%BUILDFILEPATH18% echo BUILDFILEPATH %BUILDFILEPATH% @echo -------------------------------------------------- @@ -59,7 +64,7 @@ echo BUILDFILEPATH %BUILDFILEPATH% @echo -------------------------------------------------- set BUILD_CONFIG=Debug set DEBUG_TYPE=full -set VisualStudioVersion=17.0 +set VisualStudioVersion=18.0 @echo -------------------------------------------------- @echo Creating a build command. From c708ea8c07781097166909b8fb0f27cd8220be57 Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Wed, 19 Nov 2025 16:56:37 +0900 Subject: [PATCH 10/12] The 10th commit was worked on using official version of VS2026 and .NET10. --- root/programs/CS/0_ExecAllBat.bat | 6 +- ...re100.bat => 2_Build_NuGet_netcore100.bat} | 0 root/programs/CS/2_Build_NuGet_nettcore80.bat | 30 - .../3_Build_BusinessRichClient_netcore80.bat | 27 - .../CS/3_Build_Business_netcore80.bat | 27 - root/programs/CS/4_Build_Framework_Tool.bat | 8 - root/programs/CS/6_Build_WSSrvCore_sample.bat | 4 +- .../Business/Business_netcore80.csproj | 91 - .../Business.RichClient_netcore100.csproj | 4 - .../Business.RichClient_netcore80.csproj | 66 - .../BusinessRichClient_net48.sln | 4 +- .../BusinessRichClient_netcore80.sln | 31 - .../Infrastructure/Business_net48.sln | 4 +- .../Infrastructure/Business_netcore100.sln | 4 +- .../Infrastructure/Business_netcore80.sln | 25 - ...CustomControl.RichClient_netcore100.csproj | 4 - .../CustomControl.RichClient_netcore80.csproj | 54 - .../Framework/Authentication/AccessToken.cs | 7 +- .../Authentication/CmnClientParams.cs | 4 +- .../Framework/Authentication/CmnJwtToken.cs | 36 - .../Framework/Authentication/IdToken.cs | 8 +- .../Framework/Authentication/JwtAssertion.cs | 27 +- .../Framework/Authentication/RequestObject.cs | 3 - .../Authentication/ResponseObject.cs | 7 +- .../Framework/Authentication/SAML2Client.cs | 39 +- .../Framework/Framework_netcore100.csproj | 6 +- .../Framework/Framework_netcore80.csproj | 67 - .../Framework.RichClient_netcore80.csproj | 44 - .../Framework/Transmission/CallController.cs | 16 +- .../Infrastructure/Nuget_RichClient_net48.sln | 6 +- .../Nuget_RichClient_netcore80.sln | 37 - .../Frameworks/Infrastructure/Nuget_net48.sln | 4 +- .../Infrastructure/Nuget_netcore80.sln | 55 - .../DamManagedOdp_netcore80.csproj | 41 - .../Db/DamMySQL/DamMySQL_netcore80.csproj | 41 - .../Db/DamPstGrS/DamPstGrS_netcore80.csproj | 41 - .../Infrastructure/Public/Public_net48.csproj | 6 - .../Public/Public_netcore100.csproj | 6 +- .../Public/Public_netcore80.csproj | 108 - .../Public/Security/ASymmetricCryptography.cs | 93 - .../Security/AsymmetricAlgorithmCmnFunc.cs | 23 +- .../Public/Security/DigitalSign.cs | 23 +- .../Public/Security/DigitalSignECDsaCng.cs | 66 +- .../Security/DigitalSignECDsaOpenSsl.cs | 2 + .../Public/Security/DigitalSignECDsaX509.cs | 11 + .../Public/Security/DigitalSignX509.cs | 29 +- .../Security/EnumDigitalSignAlgorithm.cs | 9 +- .../Security/Jwt/EccPrivateKeyConverter.cs | 5 +- .../Security/Jwt/EccPublicKeyConverter.cs | 8 +- .../Security/Jwt/JWE_Rsa15A128CbcHS256.cs | 20 +- .../Public/Security/Jwt/JWE_RsaOaepAesGcm.cs | 21 +- .../Public/Security/Jwt/JWS_ES256_Param.cs | 22 +- .../Public/Security/Jwt/JWS_ES384_Param.cs | 42 +- .../Public/Security/Jwt/JWS_ES512_Param.cs | 43 +- .../Public/Security/KeyExg/RsaBob.cs | 14 + .../Public/Security/PrivacyEnhancedMail.cs | 6 + .../Public.Security_netcore100.csproj | 2 - .../Security/Public.Security_netcore80.csproj | 56 - .../Public/Security/Pwd/GetPasswordHashV2.cs | 34 + .../Public/Security/SymmetricCryptography.cs | 32 +- .../ASPNETWebService/ASPNETWebService.sln | 4 +- .../WCFService/WCFService.sln | 4 +- .../Tests/EncAndDecUtil/EncAndDecUtil48.sln | 4 +- ...Core80.sln => EncAndDecUtilCUICore100.sln} | 6 +- .../EncAndDecUtilCUI/EncAndDecUtilCUIFx48.sln | 4 +- .../Tests/EncAndDecUtilCUI/Program.cs | 130 +- .../Tests/EncAndDecUtilCUI/Result48.txt | 386 +- .../{ResultCore80.txt => ResultCore100.txt} | 396 +- .../EncAndDecUtilCUICore.csproj | 8 +- .../net48/EncAndDecUtilCUIFx.csproj | 3 + .../Tests/TestBatch/ResultSimpleBatch48.txt | 6 +- ...ore80.txt => ResultSimpleBatchCore100.txt} | 6 +- .../TestBatch/SimpleBatch/SimpleBatch.sln | 4 +- .../SimpleBatchCore/SimpleBatchCore.csproj | 15 +- .../SimpleBatchCore/SimpleBatchCore.sln | 4 +- .../CS/Frameworks/Tests/TestCode/Result48.txt | 10 +- .../{ResultCore80.txt => ResultCore100.txt} | 4638 ++++++++--------- ...TestCodeCore80.sln => TestCodeCore100.sln} | 6 +- .../Tests/TestCode/TestCodeFx48.sln | 4 +- .../{core80 => core100}/TestCodeCore.csproj | 10 +- .../CS/Frameworks/Tests/TestLog/TestLog1.sln | 6 +- .../CS/Frameworks/Tests/TestLog/TestLog2.sln | 6 +- .../CS/Frameworks/Tests/TestLog/TestLog3.sln | 6 +- .../Frameworks/Tests/TestLog/TestLogCore1.sln | 6 +- .../Frameworks/Tests/TestLog/TestLogCore2.sln | 6 +- .../Frameworks/Tests/TestLog/TestLogCore3.sln | 6 +- .../Tools/DPQuery_Tool/DPQuery_Tool.sln | 4 +- .../DPQuery_Tool/DPQuery_ToolCore.csproj | 10 +- .../Tools/DPQuery_Tool/DPQuery_ToolCore.sln | 4 +- .../DPQuery_Tool/RichTextBoxDisableDF.cs | 3 + .../Tools/DaoGen_Tool/DaoGen_Tool.sln | 4 +- .../Tools/DaoGen_Tool/DaoGen_ToolCore.csproj | 10 +- .../Tools/DaoGen_Tool/DaoGen_ToolCore.sln | 4 +- .../ChangeProgressParameter.cs | 52 - .../DeployZipPackWithHTTP/Command line.txt | 3 - .../CustMsgBox.Designer.cs | 68 - .../Tools/DeployZipPackWithHTTP/CustMsgBox.cs | 75 - .../CustMsgBox.ja-JP.resx | 183 - .../DeployZipPackWithHTTP/CustMsgBox.resx | 251 - .../DeployZipPackWithHTTP.csproj | 182 - .../DeployZipPackWithHTTP.sln | 25 - .../DeployZipPackWithHTTPCore.sln | 25 - .../Tools/DeployZipPackWithHTTP/Entry.cs | 262 - .../DeployZipPackWithHTTP/Form1.Designer.cs | 695 --- .../Tools/DeployZipPackWithHTTP/Form1.cs | 762 --- .../DeployZipPackWithHTTP/Form1.ja-JP.resx | 363 -- .../Tools/DeployZipPackWithHTTP/Form1.resx | 1922 ------- .../DeployZipPackWithHTTP/Form2.Designer.cs | 77 - .../Tools/DeployZipPackWithHTTP/Form2.cs | 399 -- .../DeployZipPackWithHTTP/Form2.ja-JP.resx | 189 - .../Tools/DeployZipPackWithHTTP/Form2.resx | 271 - .../Log4DeployZipPackWithHTTP.xml | 84 - .../Tools/DeployZipPackWithHTTP/LogLevel.cs | 44 - .../DeployZipPackWithHTTP/MSGDefinition.xml | 47 - .../MSGDefinition_ja-JP.xml | 48 - .../DeployZipPackWithHTTP/MyException.cs | 65 - .../Tools/DeployZipPackWithHTTP/Program.cs | 2282 -------- .../Properties/AssemblyInfo.cs | 64 - .../Resources/Resource.Designer.cs | 495 -- .../Resources/Resource.ja-JP.resx | 264 - .../Resources/Resource.resx | 264 - .../Sample/FormAppRoot/Wave1.wav | Bin 58 -> 0 bytes .../Sample/FormAppRoot/Wave2.wav | Bin 58 -> 0 bytes .../Sample/FormAppRoot/Wave3.wav | Bin 58 -> 0 bytes .../FormAppRoot/aaa/Excel 97-2003_1.xls | Bin 13824 -> 0 bytes .../FormAppRoot/aaa/Excel 97-2003_2.xls | Bin 13824 -> 0 bytes .../FormAppRoot/aaa/Excel 97-2003_3.xls | Bin 13824 -> 0 bytes .../Sample/FormAppRoot/aaa/top1.exe | Bin 6656 -> 0 bytes .../Sample/FormAppRoot/bbb/PPT 97-2003_1.ppt | Bin 12800 -> 0 bytes .../Sample/FormAppRoot/bbb/PPT 97-2003_2.ppt | Bin 12800 -> 0 bytes .../Sample/FormAppRoot/bbb/PPT 97-2003_3.ppt | Bin 12800 -> 0 bytes .../Sample/FormAppRoot/bbb/top2.exe | Bin 6656 -> 0 bytes .../Sample/FormAppRoot/ccc/Word 97-2003_1.doc | Bin 10752 -> 0 bytes .../Sample/FormAppRoot/ccc/Word 97-2003_2.doc | Bin 10752 -> 0 bytes .../Sample/FormAppRoot/ccc/Word 97-2003_3.doc | Bin 10752 -> 0 bytes .../Sample/FormAppRoot/ccc/top3.exe | Bin 6656 -> 0 bytes .../Sample/FormAppRoot/top.exe | Bin 6656 -> 0 bytes .../FormAppRoot/xxx/Excel 97-2003_1.xls | Bin 13824 -> 0 bytes .../FormAppRoot/xxx/Excel 97-2003_2.xls | Bin 13824 -> 0 bytes .../FormAppRoot/xxx/Excel 97-2003_3.xls | Bin 13824 -> 0 bytes .../Sample/FormAppRoot/xxx/PPT 97-2003_1.ppt | Bin 12800 -> 0 bytes .../Sample/FormAppRoot/xxx/PPT 97-2003_2.ppt | Bin 12800 -> 0 bytes .../Sample/FormAppRoot/xxx/PPT 97-2003_3.ppt | Bin 12800 -> 0 bytes .../Sample/FormAppRoot/xxx/Word 97-2003_1.doc | Bin 10752 -> 0 bytes .../Sample/FormAppRoot/xxx/Word 97-2003_2.doc | Bin 10752 -> 0 bytes .../Sample/FormAppRoot/xxx/Word 97-2003_3.doc | Bin 10752 -> 0 bytes .../Sample/FormAppRootWeb/FormAppRoot.mft | 12 - .../Sample/FormAppRootWeb/aaa.zip | Bin 49013 -> 0 bytes .../Sample/FormAppRootWeb/bbb.zip | Bin 45929 -> 0 bytes .../Sample/FormAppRootWeb/ccc.zip | Bin 39791 -> 0 bytes .../Sample/FormAppRootWeb/root.zip | Bin 7621 -> 0 bytes .../Sample/FormAppRootWeb/xxx.zip | Bin 114087 -> 0 bytes .../Tools/DeployZipPackWithHTTP/app.config | 18 - .../Tools/DeployZipPackWithHTTP/app.ico | Bin 3262 -> 0 bytes .../DeployZipPackWithHTTP/appsettings.json | 18 - .../DeployZipPackWithHTTP/packages.config | 4 - .../2CSClientWPF_sample.sln | 4 +- .../2CSClientWin_sample.sln | 4 +- .../AsyncEvent_sample/AsyncEvent_sample.sln | 4 +- .../CustCtrl_sample/CustCtrl_sample.sln | 4 +- .../GenDaoAndBatUpd_sample.sln | 4 +- .../TimeStamp_sample/TimeStamp_sample.sln | 4 +- .../RerunnableBatch_sample.sln | 4 +- .../RerunnableBatch_sample2.sln | 4 +- .../RerunnableBatch_sample3.sln | 4 +- .../SimpleBatch_sample/SimpleBatch_sample.sln | 4 +- .../WSClientWPF_sample/WSClientWPF_sample.sln | 4 +- .../WSClientWPF_sample_all.sln | 20 +- .../WSClientWin2_sample.sln | 4 +- .../WSClientWinCone_sample.sln | 4 +- .../WSClientWinCone_sample_all.sln | 36 +- .../WSClientWin_sample/WSClientWin_sample.sln | 4 +- .../WSClientWin_sample_all.sln | 4 +- .../WSServer_sample/WSServer_sample.sln | 4 +- .../WebApp_sample/MVC_Sample/MVC_Sample.sln | 4 +- .../WebForms_Sample/WebForms_Sample.sln | 4 +- .../Backend/MVC_Sample/MVC_Sample.sln | 4 +- .../MVC_Sample/MVC_Sample/MVC_Sample.csproj | 29 +- .../Backend/MVC_Sample/MVC_Sample/Program.cs | 18 +- .../2CSClientWPF_sample.csproj | 13 +- .../2CSClientWPF_sample.sln | 4 +- .../2CSClientWin_sample.csproj | 13 +- .../2CSClientWin_sample.sln | 4 +- .../AsyncEvent_sample/AsyncEvent_sample.sln | 31 - .../2CS_sample/AsyncEvent_sample/Readme.txt | 8 - .../WindowsFormsApplication/Form1.Designer.cs | 164 - .../WindowsFormsApplication/Form1.cs | 290 -- .../WindowsFormsApplication/Form1.resx | 120 - .../WindowsFormsApplication/Program.cs | 38 - .../WindowsFormsApplication.csproj | 27 - .../AsyncEvent_sample/WpfApplication/App.xaml | 8 - .../WpfApplication/App.xaml.cs | 30 - .../WpfApplication/Window1.xaml | 16 - .../WpfApplication/Window1.xaml.cs | 302 -- .../WpfApplication/WpfApplication.csproj | 25 - .../AsyncEvent_sample/test-winx2&wpfx2.bat | 5 - .../CustCtrl_sample/CustCtrl_sample.csproj | 5 +- .../CustCtrl_sample/CustCtrl_sample.sln | 4 +- .../GenDaoAndBatUpd_sample.csproj | 13 +- .../GenDaoAndBatUpd_sample.sln | 4 +- .../TimeStamp_sample/TimeStamp_sample.csproj | 9 +- .../TimeStamp_sample/TimeStamp_sample.sln | 4 +- .../RerunnableBatch_sample.csproj | 14 +- .../RerunnableBatch_sample.sln | 4 +- .../RerunnableBatch_sample2.csproj | 14 +- .../RerunnableBatch_sample2.sln | 4 +- .../RerunnableBatch_sample3.csproj | 14 +- .../RerunnableBatch_sample3.sln | 4 +- .../SimpleBatch_sample.csproj | 14 +- .../SimpleBatch_sample/SimpleBatch_sample.sln | 4 +- .../DAG_Login_CLI/DAG_Login_CLI.sln | 4 +- .../DAG_Login_CLI/DAG_Login_CLI.csproj | 9 +- .../LIR_Login_CLI/LIR_Login_CLI.sln | 4 +- .../LIR_Login_CLI/LIR_Login_CLI.csproj | 9 +- .../CLI_sample/Simple_CLI/Simple_CLI.sln | 4 +- .../Simple_CLI/Simple_CLI/Simple_CLI.csproj | 3 +- .../WSClientWPF_sample.csproj | 13 +- .../WSClientWPF_sample/WSClientWPF_sample.sln | 4 +- .../WSClientWin2_sample.csproj | 13 +- .../WSClientWin2_sample.sln | 4 +- .../WSClientWin_sample.csproj | 13 +- .../WSClientWin_sample/WSClientWin_sample.sln | 4 +- .../WSIFType_sample/WSIFType_sample.csproj | 13 +- .../WSServer_sample/WSServer_sample.csproj | 13 +- .../WSServer_sample/WSServer_sample.sln | 4 +- root/programs/CS/y_Build_TestCode_Batch.bat | 6 +- root/programs/CS/y_Build_TestCode_Public.bat | 6 +- root/programs/CS/y_Build_TestCode_SecCUI.bat | 10 +- root/programs/CS/z_Common.bat | 4 +- root/programs/CS/z_Common2.bat | 25 +- 230 files changed, 3508 insertions(+), 14840 deletions(-) rename root/programs/CS/{2_Build_NuGet_nettcore100.bat => 2_Build_NuGet_netcore100.bat} (100%) delete mode 100644 root/programs/CS/2_Build_NuGet_nettcore80.bat delete mode 100644 root/programs/CS/3_Build_BusinessRichClient_netcore80.bat delete mode 100644 root/programs/CS/3_Build_Business_netcore80.bat delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore80.sln delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Business_netcore80.sln delete mode 100644 root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore80.sln delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Nuget_netcore80.sln delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore80.csproj delete mode 100644 root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore80.csproj rename root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/{EncAndDecUtilCUICore80.sln => EncAndDecUtilCUICore100.sln} (85%) rename root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/{ResultCore80.txt => ResultCore100.txt} (52%) rename root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/{core80 => core100}/EncAndDecUtilCUICore.csproj (89%) rename root/programs/CS/Frameworks/Tests/TestBatch/{ResultSimpleBatchCore80.txt => ResultSimpleBatchCore100.txt} (97%) rename root/programs/CS/Frameworks/Tests/TestCode/{ResultCore80.txt => ResultCore100.txt} (95%) rename root/programs/CS/Frameworks/Tests/TestCode/{TestCodeCore80.sln => TestCodeCore100.sln} (86%) rename root/programs/CS/Frameworks/Tests/TestCode/{core80 => core100}/TestCodeCore.csproj (82%) delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/ChangeProgressParameter.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Command line.txt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.Designer.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.ja-JP.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Entry.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.Designer.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.ja-JP.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.Designer.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.ja-JP.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/LogLevel.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition.xml delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition_ja-JP.xml delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MyException.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Program.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Properties/AssemblyInfo.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.ja-JP.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.resx delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/Wave1.wav delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/Wave2.wav delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/Wave3.wav delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_1.xls delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_2.xls delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_3.xls delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/top1.exe delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_1.ppt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_2.ppt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_3.ppt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/top2.exe delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_1.doc delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_2.doc delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_3.doc delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/top3.exe delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/top.exe delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_1.xls delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_2.xls delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_3.xls delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_1.ppt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_2.ppt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_3.ppt delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_1.doc delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_2.doc delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_3.doc delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/FormAppRoot.mft delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/aaa.zip delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/bbb.zip delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/ccc.zip delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/root.zip delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/xxx.zip delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.ico delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/appsettings.json delete mode 100644 root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/packages.config delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/Readme.txt delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.Designer.cs delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.cs delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.resx delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Program.cs delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml.cs delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml.cs delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj delete mode 100644 root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/test-winx2&wpfx2.bat diff --git a/root/programs/CS/0_ExecAllBat.bat b/root/programs/CS/0_ExecAllBat.bat index 62842f3a1..04b288f5d 100644 --- a/root/programs/CS/0_ExecAllBat.bat +++ b/root/programs/CS/0_ExecAllBat.bat @@ -12,9 +12,9 @@ timeout 5 echo | call 1_DeleteDir.bat echo | call 1_DeleteFile.bat -echo | call 2_Build_NuGet_nettcore80.bat -echo | call 3_Build_Business_netcore80.bat -echo | call 3_Build_BusinessRichClient_netcore80.bat +echo | call 2_Build_NuGet_nettcore100.bat +echo | call 3_Build_Business_netcore100.bat +echo | call 3_Build_BusinessRichClient_netcore100.bat @echo on timeout 5 diff --git a/root/programs/CS/2_Build_NuGet_nettcore100.bat b/root/programs/CS/2_Build_NuGet_netcore100.bat similarity index 100% rename from root/programs/CS/2_Build_NuGet_nettcore100.bat rename to root/programs/CS/2_Build_NuGet_netcore100.bat diff --git a/root/programs/CS/2_Build_NuGet_nettcore80.bat b/root/programs/CS/2_Build_NuGet_nettcore80.bat deleted file mode 100644 index c2d21c448..000000000 --- a/root/programs/CS/2_Build_NuGet_nettcore80.bat +++ /dev/null @@ -1,30 +0,0 @@ -setlocal - -@rem -------------------------------------------------- -@rem Turn off the echo function. -@rem -------------------------------------------------- -@echo off - -@rem -------------------------------------------------- -@rem Get the path to the executable file. -@rem -------------------------------------------------- -set CURRENT_DIR="%~dp0" - -@rem -------------------------------------------------- -@rem Execution of the common processing. -@rem -------------------------------------------------- -call %CURRENT_DIR%z_Common.bat - -rem -------------------------------------------------- -rem Build the batch Infrastructure -rem -------------------------------------------------- -call dotnet restore "Frameworks\Infrastructure\Nuget_netcore80.sln" -call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Nuget_netcore80.sln" - -call dotnet restore "Frameworks\Infrastructure\Nuget_RichClient_netcore80.sln" -call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Nuget_RichClient_netcore80.sln" - -pause - -rem ------------------------------------------------------- -endlocal \ No newline at end of file diff --git a/root/programs/CS/3_Build_BusinessRichClient_netcore80.bat b/root/programs/CS/3_Build_BusinessRichClient_netcore80.bat deleted file mode 100644 index d1b89515c..000000000 --- a/root/programs/CS/3_Build_BusinessRichClient_netcore80.bat +++ /dev/null @@ -1,27 +0,0 @@ -setlocal - -@rem -------------------------------------------------- -@rem Turn off the echo function. -@rem -------------------------------------------------- -@echo off - -@rem -------------------------------------------------- -@rem Get the path to the executable file. -@rem -------------------------------------------------- -set CURRENT_DIR="%~dp0" - -@rem -------------------------------------------------- -@rem Execution of the common processing. -@rem -------------------------------------------------- -call %CURRENT_DIR%z_Common.bat - -rem -------------------------------------------------- -rem Build the batch Infrastructure -rem -------------------------------------------------- -call dotnet restore "Frameworks\Infrastructure\BusinessRichClient_netcore80.sln" -call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\BusinessRichClient_netcore80.sln" - -pause - -rem ------------------------------------------------------- -endlocal \ No newline at end of file diff --git a/root/programs/CS/3_Build_Business_netcore80.bat b/root/programs/CS/3_Build_Business_netcore80.bat deleted file mode 100644 index 35dd5595f..000000000 --- a/root/programs/CS/3_Build_Business_netcore80.bat +++ /dev/null @@ -1,27 +0,0 @@ -setlocal - -@rem -------------------------------------------------- -@rem Turn off the echo function. -@rem -------------------------------------------------- -@echo off - -@rem -------------------------------------------------- -@rem Get the path to the executable file. -@rem -------------------------------------------------- -set CURRENT_DIR="%~dp0" - -@rem -------------------------------------------------- -@rem Execution of the common processing. -@rem -------------------------------------------------- -call %CURRENT_DIR%z_Common.bat - -rem -------------------------------------------------- -rem Build the batch Infrastructure -rem -------------------------------------------------- -call dotnet restore "Frameworks\Infrastructure\Business_netcore80.sln" -call dotnet msbuild %COMMANDLINE% "Frameworks\Infrastructure\Business_netcore80.sln" - -pause - -rem ------------------------------------------------------- -endlocal \ No newline at end of file diff --git a/root/programs/CS/4_Build_Framework_Tool.bat b/root/programs/CS/4_Build_Framework_Tool.bat index 990c11678..fcce053e2 100644 --- a/root/programs/CS/4_Build_Framework_Tool.bat +++ b/root/programs/CS/4_Build_Framework_Tool.bat @@ -31,13 +31,5 @@ rem -------------------------------------------------- pause -rem -------------------------------------------------- -rem Batch build of Deploy ZipPack With HTTP. -rem -------------------------------------------------- -..\nuget.exe restore "Frameworks\Tools\DeployZipPackWithHTTP\DeployZipPackWithHTTP.sln" -%BUILDFILEPATH% %COMMANDLINE% "Frameworks\Tools\DeployZipPackWithHTTP\DeployZipPackWithHTTP.sln" - -pause - rem ------------------------------------------------------- endlocal diff --git a/root/programs/CS/6_Build_WSSrvCore_sample.bat b/root/programs/CS/6_Build_WSSrvCore_sample.bat index 8e525a2c6..b44c0ca7a 100644 --- a/root/programs/CS/6_Build_WSSrvCore_sample.bat +++ b/root/programs/CS/6_Build_WSSrvCore_sample.bat @@ -27,8 +27,8 @@ rem -------------------------------------------------- dotnet restore "Samples4NetCore\Legacy\WS_sample\WSServer_sample\WSServer_sample.sln" dotnet msbuild %COMMANDLINE% "Samples4NetCore\Legacy\WS_sample\WSServer_sample\WSServer_sample.sln" -xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\WSServer_sample\bin\%BUILD_CONFIG%\net8.0" "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net8.0\" -xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net8.0" "Samples4NetCore\Legacy\WS_sample\Build\net8.0\" +xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\WSServer_sample\bin\%BUILD_CONFIG%\net10.0" "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net10.0\" +xcopy /E /Y "Samples4NetCore\Legacy\WS_sample\Temp\%BUILD_CONFIG%\net10.0" "Samples4NetCore\Legacy\WS_sample\Build\net10.0\" pause diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore80.csproj deleted file mode 100644 index a9967dfbf..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Business/Business_netcore80.csproj +++ /dev/null @@ -1,91 +0,0 @@ - - - - net8.0 - Touryo.Infrastructure.Business - OpenTouryo.Business - true - - - - TRACE;DEBUG;NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Business.xml - full - true - 1701;1702;NU1701 - - - - TRACE;NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Business.xml - portable - true - 1701;1702;NU1701 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll - - - ..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll - - - ..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll - - - ..\Build_netcore80\net8.0\OpenTouryo.Framework.dll - - - ..\Build_netcore80\net8.0\OpenTouryo.Public.dll - - - ..\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll - - - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj index 4bb7b8abd..a1bc4fa3d 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore100.csproj @@ -59,8 +59,4 @@ - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore80.csproj deleted file mode 100644 index ad1a73ea3..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Business/RichClient/Business.RichClient_netcore80.csproj +++ /dev/null @@ -1,66 +0,0 @@ - - - - Library - net8.0-windows7.0 - true - true - OpenTouryo.Business.RichClient - Touryo.Infrastructure.Business.RichClient - - - - TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.xml - full - true - 1701;1702;NU1701 - - - - TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.xml - portable - true - 1701;1702;NU1701 - - - - - - - - - ..\..\Build_netcore80\net8.0\OpenTouryo.Business.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.Framework.dll - - - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.dll - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln index 0b30f1fd3..1dcd632b4 100644 --- a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln +++ b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_net48.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business.RichClient_net48", "Business\RichClient\Business.RichClient_net48.csproj", "{46E0BD62-9451-431C-A75F-EE7B8CC5D6D9}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore80.sln b/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore80.sln deleted file mode 100644 index a35e444d5..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/BusinessRichClient_netcore80.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business.RichClient_netcore80", "Business\RichClient\Business.RichClient_netcore80.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustomControl.RichClient_netcore80", "CustomControl\RichClient\CustomControl.RichClient_netcore80.csproj", "{7F43B77D-7B02-4C18-94CC-4B1348CDEB57}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.Build.0 = Release|Any CPU - {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7F43B77D-7B02-4C18-94CC-4B1348CDEB57}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {F8E24A69-525F-46B8-B01A-3223411B148E} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln b/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln index 6581e075e..ad8d099ea 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Business_net48.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30717.126 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Business_net48", "Business\Business_net48.csproj", "{7187571A-3A26-4363-9AB6-189CB5B58422}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln b/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln index 3a48ed0fb..41f58fa3f 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Business_netcore100.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business_netcore100", "Business\Business_netcore100.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Business_netcore80.sln b/root/programs/CS/Frameworks/Infrastructure/Business_netcore80.sln deleted file mode 100644 index 72e36e8d2..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Business_netcore80.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Business_netcore80", "Business\Business_netcore80.csproj", "{87C03805-26A4-452B-97C7-2C8598722DDE}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {87C03805-26A4-452B-97C7-2C8598722DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {87C03805-26A4-452B-97C7-2C8598722DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {87C03805-26A4-452B-97C7-2C8598722DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {87C03805-26A4-452B-97C7-2C8598722DDE}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {2FF75561-B8E7-4F22-A5F7-E967511FD51B} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj index b5c493d2e..9a3fe817c 100644 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore100.csproj @@ -47,8 +47,4 @@ - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore80.csproj deleted file mode 100644 index 3588dc555..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/CustomControl/RichClient/CustomControl.RichClient_netcore80.csproj +++ /dev/null @@ -1,54 +0,0 @@ - - - - Library - net8.0-windows7.0 - true - true - OpenTouryo.CustomControl.RichClient - Touryo.Infrastructure.CustomControl.RichClient - - - - TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml - full - true - 1701;1702;NU1701 - - - - TRACE;NETCOREAPP - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.xml - portable - true - 1701;1702;NU1701 - - - - - - - - - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.Framework.dll - - - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.dll - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/AccessToken.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/AccessToken.cs index b6dc88ad0..de458eba5 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/AccessToken.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/AccessToken.cs @@ -106,12 +106,7 @@ public static bool Verify(string access_token, scopes = JsonConvert.DeserializeObject>(jobj[OAuth2AndOIDCConst.scopes].ToString()); } - long unixTimeSeconds = 0; -#if NET45 - unixTimeSeconds = PubCmnFunction.ToUnixTime(DateTimeOffset.Now); -#else - unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); -#endif + long unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); if (iss == CmnClientParams.Isser && long.Parse(exp) >= unixTimeSeconds) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnClientParams.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnClientParams.cs index 6e57a8c47..42d794263 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnClientParams.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnClientParams.cs @@ -141,8 +141,6 @@ public static string RsaPfxFilePath } } -#if NET45 || NET46 -#else /// EcdsaPfxPassword public static string EcdsaPfxPassword { @@ -160,7 +158,7 @@ public static string EcdsaPfxFilePath return GetConfigParameter.GetConfigValue("SpRp_EcdsaPfxFilePath"); } } -#endif + #endregion #region クライアント証明書 diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnJwtToken.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnJwtToken.cs index 1a3336a70..37d50bf47 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnJwtToken.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/CmnJwtToken.cs @@ -115,11 +115,7 @@ public static bool Verify(string jwtToken, out string jwtPayload) // 旧バージョン(証明書を使用 if (isJWE_FAPI2) { -#if NET45 || NET46 - throw new NotSupportedException("FAPI2 is not supported in this dotnet version."); -#else jws = new JWS_ES256_X509(CmnClientParams.EcdsaCerFilePath, ""); -#endif } else { @@ -151,11 +147,7 @@ public static bool Verify(string jwtToken, out string jwtPayload) // 証明書を使用 if (isJWE_FAPI2) { -#if NET45 || NET46 - throw new NotSupportedException("FAPI2 is not supported in this dotnet version."); -#else jws = new JWS_ES256_X509(CmnClientParams.EcdsaCerFilePath, ""); -#endif } else { @@ -167,12 +159,8 @@ public static bool Verify(string jwtToken, out string jwtPayload) // Jwkを使用 if (isJWE_FAPI2) { -#if NET45 || NET46 - throw new NotSupportedException("FAPI2 is not supported in this dotnet version."); -#else EccPublicKeyConverter epkc = new EccPublicKeyConverter(); jws = new JWS_ES256_Param(epkc.JwkToParam(jwkObject), false); -#endif } else { @@ -198,11 +186,7 @@ public static bool Verify(string jwtToken, out string jwtPayload) // 証明書を使用 if (isJWE_FAPI2) { -#if NET45 || NET46 - throw new NotSupportedException("FAPI2 is not supported in this dotnet version."); -#else jws = new JWS_ES256_X509(CmnClientParams.EcdsaCerFilePath, ""); -#endif } else { @@ -214,12 +198,8 @@ public static bool Verify(string jwtToken, out string jwtPayload) // Jwkを使用 if (isJWE_FAPI2) { -#if NET45 || NET46 - throw new NotSupportedException("FAPI2 is not supported in this dotnet version."); -#else EccPublicKeyConverter epkc = new EccPublicKeyConverter(); jws = new JWS_ES256_Param(epkc.JwkToParam(jwkObject), false); -#endif } else { @@ -260,11 +240,7 @@ public static string CreateJitClaim() /// public static string CreateIatClaim() { -#if NET45 - return PubCmnFunction.ToUnixTime(DateTimeOffset.Now).ToString(); -#else return DateTimeOffset.Now.ToUnixTimeSeconds().ToString(); -#endif } /// @@ -276,11 +252,7 @@ public static string CreateIatClaim() /// public static string CreateExpClaim(TimeSpan forExp) { -#if NET45 - return PubCmnFunction.ToUnixTime(DateTimeOffset.Now.Add(forExp)).ToString(); -#else return DateTimeOffset.Now.Add(forExp).ToUnixTimeSeconds().ToString(); -#endif } /// CheckClaims @@ -325,11 +297,7 @@ public static bool CheckClaims( /// bool public static bool VerifyExp(string exp) { -#if NET45 - return (long.Parse(exp) >= PubCmnFunction.ToUnixTime(DateTimeOffset.Now)); -#else return (long.Parse(exp) >= DateTimeOffset.Now.ToUnixTimeSeconds()); -#endif } /// VerifyNbf @@ -337,11 +305,7 @@ public static bool VerifyExp(string exp) /// bool public static bool VerifyNbf(string nbf) { -#if NET45 - return (long.Parse(nbf) <= PubCmnFunction.ToUnixTime(DateTimeOffset.Now)); -#else return (long.Parse(nbf) <= DateTimeOffset.Now.ToUnixTimeSeconds()); -#endif } #endregion } diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs index 3e6c10e30..be8e9092b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/IdToken.cs @@ -153,13 +153,7 @@ public static bool Verify(string id_token, #endregion - long unixTimeSeconds = 0; - -#if NET45 - unixTimeSeconds = PubCmnFunction.ToUnixTime(DateTimeOffset.Now); -#else - unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); -#endif + long unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); if (iss == CmnClientParams.Isser && long.Parse(exp) >= unixTimeSeconds) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwtAssertion.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwtAssertion.cs index 61528017d..006567c23 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwtAssertion.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/JwtAssertion.cs @@ -75,15 +75,12 @@ public static string Create( return JwtAssertion.CreateByRsa(iss, aud, forExp, scopes, rpkc.JwkToParam(jwkPrivateKey)); } -#if NET45 || NET46 -#else else if (((string)temp["kty"]).ToUpper() == "EC") { EccPrivateKeyConverter epkc = new EccPrivateKeyConverter(JWS_ECDSA.ES._256); return JwtAssertion.CreateByECDsa(iss, aud, forExp, scopes, epkc.JwkToParam(jwkPrivateKey)); } -#endif } return ""; @@ -127,8 +124,6 @@ public static string CreateByRsa( #endregion } -#if NET45 || NET46 -#else /// CreateByECDsa /// client_id /// Token2 EndPointのuri @@ -208,7 +203,6 @@ public static string CreateByECDsa( #endregion } -#endif #endregion #region Verify @@ -238,8 +232,6 @@ public static bool Verify(string jwtAssertion, out iss, out aud, out scopes, out jobj, rpkc.JwkToParam(jwkPublicKey)); } -#if NET45 || NET46 -#else else if (((string)temp["kty"]).ToUpper() == "EC") { EccPublicKeyConverter epkc = new EccPublicKeyConverter(); @@ -247,7 +239,6 @@ public static bool Verify(string jwtAssertion, out iss, out aud, out scopes, out jobj, epkc.JwkToParam(jwkPublicKey)); } -#endif } return false; @@ -283,12 +274,8 @@ public static bool VerifyByRsa(string jwtAssertion, //string iat = (string)jobj[OAuth2AndOIDCConst.iat]; scopes = (string)jobj[OAuth2AndOIDCConst.scope]; - long unixTimeSeconds = 0; -#if NET45 - unixTimeSeconds = PubCmnFunction.ToUnixTime(DateTimeOffset.Now); -#else - unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); -#endif + long unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); + string exp = (string)jobj[OAuth2AndOIDCConst.exp]; if (long.Parse(exp) >= unixTimeSeconds) { @@ -308,8 +295,6 @@ public static bool VerifyByRsa(string jwtAssertion, return false; } -#if NET45 || NET46 -#else /// VerifyByECDsa /// string /// client_id @@ -340,12 +325,7 @@ public static bool VerifyByECDsa(string jwtAssertion, //string iat = (string)jobj[OAuth2AndOIDCConst.iat]; scopes = (string)jobj[OAuth2AndOIDCConst.scope]; - long unixTimeSeconds = 0; -#if NET45 - unixTimeSeconds = PubCmnFunction.ToUnixTime(DateTimeOffset.Now); -#else - unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); -#endif + long unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); string exp = (string)jobj[OAuth2AndOIDCConst.exp]; if (long.Parse(exp) >= unixTimeSeconds) { @@ -364,7 +344,6 @@ public static bool VerifyByECDsa(string jwtAssertion, // 認証に失敗 return false; } -#endif #endregion } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/RequestObject.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/RequestObject.cs index 996b97f73..01c745fb5 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/RequestObject.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/RequestObject.cs @@ -236,8 +236,6 @@ public static bool Verify(string ro, out string iss, RSAParameters rsaPublicKey) #endregion -#if NET45 || NET46 -#else #region FAPI CIBA // - OpenID Connect Client Initiated Backchannel Authentication Flow - Core 1.0 draft-01 @@ -419,6 +417,5 @@ public static bool VerifyCiba(string ro, out string iss, ECParameters ecPublicKe #endregion #endregion -#endif } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/ResponseObject.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/ResponseObject.cs index 4fd2e5963..01f8cfd4e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/ResponseObject.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/ResponseObject.cs @@ -82,12 +82,7 @@ public static bool Verify(string response, out JObject jobj) //string iat = (string)jobj[OAuth2AndOIDCConst.iat]; string exp = (string)jobj[OAuth2AndOIDCConst.exp]; - long unixTimeSeconds = 0; -#if NET45 - unixTimeSeconds = PubCmnFunction.ToUnixTime(DateTimeOffset.Now); -#else - unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); -#endif + long unixTimeSeconds = DateTimeOffset.Now.ToUnixTimeSeconds(); if (iss == CmnClientParams.Isser && long.Parse(exp) >= unixTimeSeconds) diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/SAML2Client.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/SAML2Client.cs index 90cc7fb46..f3b726f49 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/SAML2Client.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Authentication/SAML2Client.cs @@ -61,14 +61,7 @@ public static string CreateRedirectRequest( string iss, string assertionConsumerService, string relayState, out string id) { // DigitalSignX509 - DigitalSignX509 dsX509 = new DigitalSignX509( - CmnClientParams.RsaPfxFilePath, CmnClientParams.RsaPfxPassword, -#if NET45 - HashNameConst.SHA1 -#else - HashAlgorithmName.SHA1 -#endif - ); + DigitalSignX509 dsX509 = new DigitalSignX509(CmnClientParams.RsaPfxFilePath, CmnClientParams.RsaPfxPassword, HashAlgorithmName.SHA1); // SamlRequestの生成 @@ -95,8 +88,11 @@ public static string CreatePostRequest( string iss, string assertionConsumerService, string relayState, out string id) { // RSA - X509Certificate2 x509 = new X509Certificate2( - CmnClientParams.RsaPfxFilePath, CmnClientParams.RsaPfxPassword); +#if NETSTD + X509Certificate2 x509 = X509CertificateLoader.LoadPkcs12FromFile(CmnClientParams.RsaPfxFilePath, CmnClientParams.RsaPfxPassword); +#else + X509Certificate2 x509 = new X509Certificate2(CmnClientParams.RsaPfxFilePath, CmnClientParams.RsaPfxPassword); +#endif // SamlRequestの生成 string samlRequest = SAML2Bindings.CreateRequest( @@ -104,12 +100,7 @@ public static string CreatePostRequest( assertionConsumerService, out id).OuterXml; // SamlRequestのエンコと署名 - return SAML2Bindings.EncodeAndSignPost(samlRequest, id, -#if NET45 - (RSA)x509.PrivateKey); -#else - x509.GetRSAPrivateKey()); -# endif + return SAML2Bindings.EncodeAndSignPost(samlRequest, id, x509.GetRSAPrivateKey()); } #endregion @@ -186,14 +177,7 @@ public static bool VerifyResponse( #region 検証 // Metadata利用を検討 - DigitalSignX509 dsX509 = new DigitalSignX509( - CmnClientParams.RsaCerFilePath, "", -#if NET45 - HashNameConst.SHA1 -#else - HashAlgorithmName.SHA1 -#endif - ); + DigitalSignX509 dsX509 = new DigitalSignX509(CmnClientParams.RsaCerFilePath, "", HashAlgorithmName.SHA1); if (!string.IsNullOrEmpty(queryString)) { @@ -209,12 +193,7 @@ public static bool VerifyResponse( { // VerifyPost string id = SAML2Bindings.GetIdInResponse(samlResponse2, samlNsMgr); - if (SAML2Bindings.VerifyPost(decodeSaml, id, -#if NET45 - (RSA)dsX509.PublicKey)) -#else - dsX509.X509Certificate.GetRSAPublicKey())) -#endif + if (SAML2Bindings.VerifyPost(decodeSaml, id, dsX509.X509Certificate.GetRSAPublicKey())) { // XPathによる検証 verified = SAML2Bindings.VerifyByXPath( diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj index 341329c45..97834fbad 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore100.csproj @@ -9,19 +9,19 @@ - TRACE;DEBUG; ..\Build_netcore100\ ..\Build_netcore100\net10.0\OpenTouryo.Framework.xml full true + $(DefineConstants);NETSTD - TRACE;NETSTD ..\Build_netcore100\ ..\Build_netcore100\net10.0\OpenTouryo.Framework.xml portable true + $(DefineConstants);NETSTD @@ -51,8 +51,6 @@ - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore80.csproj deleted file mode 100644 index 95b73674b..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Framework_netcore80.csproj +++ /dev/null @@ -1,67 +0,0 @@ - - - - net8.0 - Touryo.Infrastructure.Framework - OpenTouryo.Framework - 3.0.0.0 - Hitachi Solutions - - - - TRACE;DEBUG; - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Framework.xml - full - true - - - - TRACE;NETSTD - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Framework.xml - portable - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore80.csproj deleted file mode 100644 index dcefa514b..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/RichClient/Framework.RichClient_netcore80.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - Library - net8.0-windows7.0 - true - true - - - Touryo.Infrastructure.Framework.RichClient - OpenTouryo.Framework.RichClient - 3.0.0.0 - - - - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.xml - full - true - TRACE;NETCOREAPP - - - - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.xml - portable - true - TRACE;NETCOREAPP - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs index d130c7ada..3906260b1 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Framework/Transmission/CallController.cs @@ -1248,7 +1248,11 @@ private X509Certificate2 CreateX509Certificate(Dictionary props) // XML定義:キーが無い // クライアント証明書のファイルパス - x509 = new X509Certificate2(props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE]); +#if NETSTD + x509 = X509CertificateLoader.LoadCertificateFromFile(props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE]); +#else + x509 = new X509Certificate2(props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE]); +#endif } else { @@ -1257,16 +1261,26 @@ private X509Certificate2 CreateX509Certificate(Dictionary props) // XML定義:null or 空文字列 // クライアント証明書のファイルパス +#if NETSTD + x509 = X509CertificateLoader.LoadCertificateFromFile(props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE]); +#else x509 = new X509Certificate2(props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE]); +#endif } else { // XML定義:あり // クライアント証明書のファイルパス + クライアント証明書DBのパスワード +#if NETSTD + x509 = X509CertificateLoader.LoadPkcs12FromFile( + props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE], + props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_PASSWORD]); +#else x509 = new X509Certificate2( props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_FILE], props[FxLiteral.TRANSMISSION_HTTP_PROP_X509CERTIFICATE_PASSWORD]); +#endif } } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net48.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net48.sln index 8bb7d5bba..017f29ecf 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net48.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_net48.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework.RichClient", "Framework\RichClient\Framework.RichClient_net48.csproj", "{3468B633-2CFE-4A1E-870F-396961E49A9E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework.RichClient_net48", "Framework\RichClient\Framework.RichClient_net48.csproj", "{3468B633-2CFE-4A1E-870F-396961E49A9E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore80.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore80.sln deleted file mode 100644 index ac5ec03ea..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_RichClient_netcore80.sln +++ /dev/null @@ -1,37 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework.RichClient_netcore80", "Framework\RichClient\Framework.RichClient_netcore80.csproj", "{7518B624-536C-4F4B-8E73-E5421EDCF1DD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Public_netcore80", "Public\Public_netcore80.csproj", "{B7B97B7C-B8A2-44CC-AB00-107D634A45E7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Framework_netcore80", "Framework\Framework_netcore80.csproj", "{D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7518B624-536C-4F4B-8E73-E5421EDCF1DD}.Release|Any CPU.Build.0 = Release|Any CPU - {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B7B97B7C-B8A2-44CC-AB00-107D634A45E7}.Release|Any CPU.Build.0 = Release|Any CPU - {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D5A5BE98-2C29-48BE-95B3-0E6A8F500E14}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {F8E24A69-525F-46B8-B01A-3223411B148E} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_net48.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_net48.sln index 87acb4a6d..9ae119495 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_net48.sln +++ b/root/programs/CS/Frameworks/Infrastructure/Nuget_net48.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Public_net48", "Public\Public_net48.csproj", "{81CC573A-0DF9-49E5-AF10-A50F9B194DA5}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore80.sln b/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore80.sln deleted file mode 100644 index 88ed4df08..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Nuget_netcore80.sln +++ /dev/null @@ -1,55 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Public_netcore80", "Public\Public_netcore80.csproj", "{603EB991-F629-4207-A45C-A7979F0B27F8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Public.Security_netcore80", "Public\Security\Public.Security_netcore80.csproj", "{140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Framework_netcore80", "Framework\Framework_netcore80.csproj", "{FA092A28-3954-D33E-69C3-EDFD83BECB3D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamManagedOdp_netcore80", "Public\Db\DamManagedOdp\DamManagedOdp_netcore80.csproj", "{91F656A8-2AC1-291F-38C1-E4D63B55A2E7}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamMySQL_netcore80", "Public\Db\DamMySQL\DamMySQL_netcore80.csproj", "{C8D6A524-2855-3573-005C-7C1BC95A758E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DamPstGrS_netcore80", "Public\Db\DamPstGrS\DamPstGrS_netcore80.csproj", "{00EB689D-08F5-6996-C459-F81B654229AF}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {603EB991-F629-4207-A45C-A7979F0B27F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {603EB991-F629-4207-A45C-A7979F0B27F8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {603EB991-F629-4207-A45C-A7979F0B27F8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {603EB991-F629-4207-A45C-A7979F0B27F8}.Release|Any CPU.Build.0 = Release|Any CPU - {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {140D7AC4-1E52-0E0F-10EB-0E2087E39DCC}.Release|Any CPU.Build.0 = Release|Any CPU - {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FA092A28-3954-D33E-69C3-EDFD83BECB3D}.Release|Any CPU.Build.0 = Release|Any CPU - {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {91F656A8-2AC1-291F-38C1-E4D63B55A2E7}.Release|Any CPU.Build.0 = Release|Any CPU - {C8D6A524-2855-3573-005C-7C1BC95A758E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C8D6A524-2855-3573-005C-7C1BC95A758E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C8D6A524-2855-3573-005C-7C1BC95A758E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C8D6A524-2855-3573-005C-7C1BC95A758E}.Release|Any CPU.Build.0 = Release|Any CPU - {00EB689D-08F5-6996-C459-F81B654229AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {00EB689D-08F5-6996-C459-F81B654229AF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {00EB689D-08F5-6996-C459-F81B654229AF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {00EB689D-08F5-6996-C459-F81B654229AF}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {2FF75561-B8E7-4F22-A5F7-E967511FD51B} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore80.csproj deleted file mode 100644 index 16c4e202b..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamManagedOdp/DamManagedOdp_netcore80.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - net8.0 - OpenTouryo.DamManagedOdp - Touryo.Infrastructure.Public.Db - 3.0.0.0 - Hitachi Solutions - - - - TRACE;DEBUG;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.xml - full - true - - - - TRACE;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.xml - portable - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore80.csproj deleted file mode 100644 index be58442b5..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamMySQL/DamMySQL_netcore80.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - net8.0 - OpenTouryo.DamMySQL - Touryo.Infrastructure.Public.Db - 3.0.0.0 - Hitachi Solutions - - - - TRACE;DEBUG;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.xml - full - true - - - - TRACE;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamMySQL.xml - portable - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore80.csproj deleted file mode 100644 index d571c7d62..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Db/DamPstGrS/DamPstGrS_netcore80.csproj +++ /dev/null @@ -1,41 +0,0 @@ - - - net8.0 - OpenTouryo.DamPstGrS - Touryo.Infrastructure.Public.Db - 3.0.0.0 - Hitachi Solutions - - - - TRACE;DEBUG;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.xml - full - true - - - - TRACE;NETSTD - ..\..\..\Build_netcore80\ - ..\..\..\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.xml - portable - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_net48.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_net48.csproj index 65e9570ae..63619373c 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Public_net48.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Public_net48.csproj @@ -97,9 +97,6 @@ - - - @@ -171,9 +168,6 @@ - - 1.16.0 - 3.1.0 diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj index b427dae5d..553e1cc41 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore100.csproj @@ -64,6 +64,9 @@ + + + @@ -86,7 +89,6 @@ - @@ -96,8 +98,6 @@ - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore80.csproj deleted file mode 100644 index 57ae6897d..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Public_netcore80.csproj +++ /dev/null @@ -1,108 +0,0 @@ - - - - net8.0 - OpenTouryo.Public - Touryo.Infrastructure.Public - 3.0.0.0 - Hitachi Solutions - - - - $(DefineConstants);NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Public.xml - full - true - - - - TRACE;NETCOREAPP - ..\Build_netcore80\ - ..\Build_netcore80\net8.0\OpenTouryo.Public.xml - portable - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/ASymmetricCryptography.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/ASymmetricCryptography.cs index 4aa288c6d..4f5296137 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/ASymmetricCryptography.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/ASymmetricCryptography.cs @@ -116,52 +116,7 @@ public ASymmetricCryptography( #endregion #region Encrypt(publicXmlKey) -#if NET45 - /// 文字列を暗号化する - /// 暗号化する文字列 - /// 暗号化に使用する公開鍵 - /// - /// ・true : OAEPパディング(XP以降) - /// ・false : PKCS#1 v1.5パディング - /// - /// 非対称アルゴリズムで暗号化された文字列 - public string EncryptString(string sourceString, string publicXmlKey = "", bool fOAEP = false) - { - // 元文字列をbyte型配列に変換する(UTF-8 Enc) - byte[] source = CustomEncode.StringToByte(sourceString, CustomEncode.UTF_8); - - // 暗号化(Base64) - return CustomEncode.ToBase64String( - this.EncryptBytes(source, publicXmlKey, fOAEP)); - } - - /// バイト配列を暗号化する - /// 暗号化するバイト配列 - /// 暗号化に使用する公開鍵 - /// - /// ・true : OAEPパディング(XP以降) - /// ・false : PKCS#1 v1.5パディング - /// - /// 非対称アルゴリズムで暗号化されたバイト配列 - public byte[] EncryptBytes(byte[] source, string publicXmlKey = "", bool fOAEP = false) - { - // NET45はCSPのみ。 - RSACryptoServiceProvider rsa = (RSACryptoServiceProvider)this._asa; - // 公開鍵 - if (string.IsNullOrEmpty(publicXmlKey)) - { - //rsa.FromXmlString(this.PublicXmlKey); - } - else - { - rsa.FromXmlString(publicXmlKey); - } - - // 暗号化 - return rsa.Encrypt(source, fOAEP); - } -#else /// 文字列を暗号化する /// 暗号化する文字列 /// 暗号化に使用する公開鍵 @@ -204,58 +159,11 @@ public byte[] EncryptBytes(byte[] source, string publicXmlKey = "", RSAEncryptio return rsa.Encrypt(source, padding); } -#endif #endregion #region Decrypt(privateXmlKey) -#if NET45 - /// 暗号化された文字列を復号化する - /// 暗号化された文字列 - /// 復号化に使用する秘密鍵 - /// - /// ・true : OAEPパディング(XP以降) - /// ・false : PKCS#1 v1.5パディング - /// - /// 非対称アルゴリズムで復号化された文字列 - public string DecryptString(string sourceString, string privateXmlKey = "", bool fOAEP = false) - { - // 暗号化文字列をbyte型配列に変換する(Base64) - byte[] source = CustomEncode.FromBase64String(sourceString); - - // 復号化(UTF-8 Enc) - return CustomEncode.ByteToString( - this.DecryptBytes(source, privateXmlKey, fOAEP), CustomEncode.UTF_8); - } - - /// 暗号化されたバイト配列を復号化する - /// 暗号化されたバイト配列 - /// 復号化に使用する秘密鍵 - /// - /// ・true : OAEPパディング(XP以降) - /// ・false : PKCS#1 v1.5パディング - /// - /// 非対称アルゴリズムで復号化されたバイト配列 - public byte[] DecryptBytes(byte[] source, string privateXmlKey = "", bool fOAEP = false) - { - // NET45はCSPのみ。 - RSACryptoServiceProvider rsa = (RSACryptoServiceProvider)this._asa; - - // 秘密鍵 - if (string.IsNullOrEmpty(privateXmlKey)) - { - //rsa.FromXmlString(this.PrivateXmlKey); - } - else - { - rsa.FromXmlString(privateXmlKey); - } - - // 復号化 - return rsa.Decrypt(source, fOAEP); - } -#else /// 暗号化された文字列を復号化する /// 暗号化された文字列 /// 復号化に使用する秘密鍵 @@ -298,7 +206,6 @@ public byte[] DecryptBytes(byte[] source, string privateXmlKey = "", RSAEncrypti return rsa.Decrypt(source, padding); } -#endif #endregion } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs index c38dd48cd..1abbc0f20 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/AsymmetricAlgorithmCmnFunc.cs @@ -159,7 +159,20 @@ public static AsymmetricAlgorithm CreateCryptographySP( if (easa == EnumASymmetricAlgorithm.X509) { // X.509対応 +#if NETSTD + X509Certificate2 x509Key = null; + + if (string.IsNullOrEmpty(password)) + { + x509Key = X509CertificateLoader.LoadCertificateFromFile(certificateFilePath); + } + else + { + x509Key = X509CertificateLoader.LoadPkcs12FromFile(certificateFilePath, password, flag); + } +#else X509Certificate2 x509Key = new X509Certificate2(certificateFilePath, password, flag); +#endif if (string.IsNullOrEmpty(password)) { @@ -179,14 +192,11 @@ public static AsymmetricAlgorithm CreateCryptographySP( // RSACryptoServiceProviderサービスプロバイダ asa = RSACryptoServiceProvider.Create(); // devps(1703) } - -#if !NET45 else if (easa == EnumASymmetricAlgorithm.RsaCng) { // RSACngサービスプロバイダ asa = RSACng.Create(); // devps(1703) } -#endif #if NETSTD else if (easa == EnumASymmetricAlgorithm.RsaOpenSsl) { @@ -214,6 +224,7 @@ public static AsymmetricAlgorithm CreateCryptographySP( public static void CreateDigitalSignSP( EnumDigitalSignAlgorithm eaa, out AsymmetricAlgorithm aa, out HashAlgorithm ha) { +#pragma warning disable CA1416 // アルゴリズム名で暗喩的に振り分けるため。 aa = null; ha = null; @@ -286,10 +297,11 @@ public static void CreateDigitalSignSP( } #if NETSTD - else if (eaa == EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1) + else if (eaa == EnumDigitalSignAlgorithm.DsaOpenSsl_SHA256)//DsaOpenSsl_SHA1) { // DSAOpenSslサービスプロバイダ aa = new DSAOpenSsl(); + ha = SHA1.Create(); } #endif @@ -342,7 +354,7 @@ public static void CreateDigitalSignSP( } // https://qiita.com/yoship1639/items/6dd0cc8623d7f3969d78 - if (Environment.OSVersion.Platform == PlatformID.Unix) + if (OperatingSystem.IsLinux()) //(Environment.OSVersion.Platform == PlatformID.Unix) { eCDsa = ECDsa.Create(); // ECDsaOpenSslと思われる。 eCDsa.GenerateKey(eCCurve); @@ -361,6 +373,7 @@ public static void CreateDigitalSignSP( PublicExceptionMessage.ARGUMENT_INCORRECT, "EnumDigitalSignAlgorithm parameter is incorrect."); } +#pragma warning restore CA1416 } #endregion } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSign.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSign.cs index f8849633b..4b0f15d56 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSign.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSign.cs @@ -62,11 +62,8 @@ public abstract class DigitalSign : IDisposable /// AsymmetricAlgorithm public AsymmetricAlgorithm AsymmetricAlgorithm { get; protected set; } -#if NET45 -#else /// RSASignaturePadding public RSASignaturePadding Padding = RSASignaturePadding.Pkcs1; -#endif #region Hash @@ -92,8 +89,6 @@ protected set } } -#if NET45 -#else /// HashAlgorithmName public HashAlgorithmName HashAlgorithmName { @@ -106,7 +101,7 @@ protected set this.HashAlgorithm = HashAlgorithmCmnFunc.GetHashAlgorithmFromNameString(value.Name); } } -#endif + #endregion #endregion @@ -131,15 +126,7 @@ public virtual byte[] Sign(byte[] data) { // RSA RSA rsa = (RSA)aa; -#if NET45 - if (rsa is RSACryptoServiceProvider) - { - signedByte = ((RSACryptoServiceProvider)rsa).SignData(data, this.HashAlgorithmString); - } - // NET45にRSACng、RSAOpenSsl等は無し。 -#else signedByte = rsa.SignData(data, this.HashAlgorithmName, this.Padding); -#endif } else if (aa is DSA) { @@ -169,15 +156,7 @@ public virtual bool Verify(byte[] data, byte[] sign) if (aa is RSA) { // RSA -#if NET45 - if (aa is RSACryptoServiceProvider) - { - return ((RSACryptoServiceProvider)aa).VerifyData(data, this.HashAlgorithmString, sign); - } - // NET45にRSACng、RSAOpenSsl等は無し。 -#else return ((RSA)aa).VerifyData(data, sign, this.HashAlgorithmName, this.Padding); -#endif } else if (aa is DSA) { diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaCng.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaCng.cs index 4deeeadec..f4eac2600 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaCng.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaCng.cs @@ -36,6 +36,7 @@ // CngKeyBlobFormat.EccPublicBlobでインポート・エクスポートする。 using System; +using System.Runtime.Versioning; using System.Security.Cryptography; using Touryo.Infrastructure.Public.Util; @@ -50,7 +51,10 @@ public class DigitalSignECDsaCng : DigitalSign #region mem & prop & constructor #region mem & prop - + + /// OperatingSystem + private OperatingSystem os = Environment.OSVersion; + /// _privateKey private CngKey _privateKey = null; /// PrivateKey @@ -126,18 +130,30 @@ public DigitalSignECDsaCng(CngKey cngKey, bool isPrivate) /// Constructor /// 任意鍵 /// 秘密鍵か否か + //[SupportedOSPlatform("windows")] // #if できない。 public DigitalSignECDsaCng(ECParameters ecp, bool isPrivate) { - ECDsaCng ecDsaCng = new ECDsaCng(); - ecDsaCng.ImportParameters(ecp); - CngKey cngKey = ecDsaCng.Key; +#if NETSTD + if (OperatingSystem.IsWindows()) +#else + if (os.Platform == PlatformID.Win32NT) +#endif + { + ECDsaCng ecDsaCng = new ECDsaCng(); + ecDsaCng.ImportParameters(ecp); + CngKey cngKey = ecDsaCng.Key; - this._publicKey = cngKey.Export(CngKeyBlobFormat.GenericPublicBlob); + this._publicKey = cngKey.Export(CngKeyBlobFormat.GenericPublicBlob); - if (isPrivate) - { - this._privateKey = cngKey; + if (isPrivate) + { + this._privateKey = cngKey; + } } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } #endregion @@ -149,22 +165,44 @@ public DigitalSignECDsaCng(ECParameters ecp, bool isPrivate) /// デジタル署名を作成する /// デジタル署名を行なう対象データ /// 対象データに対してデジタル署名したデジタル署名部分のデータ + //[SupportedOSPlatform("windows")] // #if できない。 public override byte[] Sign(byte[] data) { - ECDsaCng aa = new ECDsaCng(this._privateKey); - return aa.SignData(data); +#if NETSTD + if (OperatingSystem.IsWindows()) +#else + if (os.Platform == PlatformID.Win32NT) +#endif + { + ECDsaCng aa = new ECDsaCng(this._privateKey); + return aa.SignData(data); + } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } /// デジタル署名を検証する /// デジタル署名を行なった対象データ /// 対象データに対してデジタル署名したデジタル署名部分のデータ /// 検証結果( true:検証成功, false:検証失敗 ) + //[SupportedOSPlatform("windows")] // #if できない。 public override bool Verify(byte[] data, byte[] sign) { - ECDsaCng aa = new ECDsaCng(CngKey.Import( - this._publicKey, CngKeyBlobFormat.EccPublicBlob)); - - return aa.VerifyData(data, sign); +#if NETSTD + if (OperatingSystem.IsWindows()) +#else + if (os.Platform == PlatformID.Win32NT) +#endif + { + ECDsaCng aa = new ECDsaCng(CngKey.Import(this._publicKey, CngKeyBlobFormat.EccPublicBlob)); + return aa.VerifyData(data, sign); + } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } /// デジタル署名を作成する diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaOpenSsl.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaOpenSsl.cs index 6ae20f72d..24d34eb67 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaOpenSsl.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaOpenSsl.cs @@ -35,6 +35,7 @@ // ExportParameters(bool includePrivateParameters)でインポート・エクスポートする。 using System; +using System.Runtime.Versioning; using System.Security.Cryptography; using Touryo.Infrastructure.Public.Util; @@ -105,6 +106,7 @@ public DigitalSignECDsaOpenSsl(EnumDigitalSignAlgorithm eaa, HashAlgorithm hashA /// Constructor /// ECParameters(任意) /// HashAlgorithm + [SupportedOSPlatform("linux")] public DigitalSignECDsaOpenSsl(ECParameters eCParameters, HashAlgorithm hashAlgorithm) { ECDsaOpenSsl ecdsa = new ECDsaOpenSsl(eCParameters.Curve); diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaX509.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaX509.cs index 4ec5b695c..8abfe6978 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaX509.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignECDsaX509.cs @@ -90,7 +90,18 @@ public DigitalSignECDsaX509(string certificateFilePath, string password, HashAlg // X509KeyStorageFlags // - MachineKeySet : ECDsaは、インストールできない模様。 // - Exportable : PrepareでGetECDsaPrivateKeyするので。 +#if NETSTD + if (string.IsNullOrEmpty(password)) + { + this.X509Certificate = X509CertificateLoader.LoadCertificateFromFile(certificateFilePath); + } + else + { + this.X509Certificate = X509CertificateLoader.LoadPkcs12FromFile(certificateFilePath, password, flag); + } +#else this.X509Certificate = new X509Certificate2(certificateFilePath, password, flag); +#endif if (this.X509Certificate.HasPrivateKey) { diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs index a26ffd196..979f2315e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/DigitalSignX509.cs @@ -103,13 +103,24 @@ public DigitalSignX509( X509KeyStorageFlags flag = X509KeyStorageFlags.Exportable | X509KeyStorageFlags.MachineKeySet) { flag = flag | X509KeyStorageFlags.Exportable; // PrepareでExportParametersする可能性があるので足す。 + +#if NETSTD + if (string.IsNullOrEmpty(password)) + { + this.X509Certificate = X509CertificateLoader.LoadCertificateFromFile(certificateFilePath); + } + else + { + this.X509Certificate = X509CertificateLoader.LoadPkcs12FromFile(certificateFilePath, password, flag); + } +#else this.X509Certificate = new X509Certificate2(certificateFilePath, password, flag); +#endif + this.HashAlgorithm = HashAlgorithmCmnFunc.GetHashAlgorithmFromNameString(hashAlgorithmName); this.Prepare(); } -#if NET45 -#else /// /// Constructor /// X.509証明書(*.pfx, *.cer)からキーを設定する。 @@ -125,11 +136,23 @@ public DigitalSignX509( X509KeyStorageFlags flag = X509KeyStorageFlags.Exportable | X509KeyStorageFlags.MachineKeySet) { flag = flag | X509KeyStorageFlags.Exportable; // PrepareでExportParametersする可能性があるので足す。 + +#if NETSTD + if (string.IsNullOrEmpty(password)) + { + this.X509Certificate = X509CertificateLoader.LoadCertificateFromFile(certificateFilePath); + } + else + { + this.X509Certificate = X509CertificateLoader.LoadPkcs12FromFile(certificateFilePath, password, flag); + } +#else this.X509Certificate = new X509Certificate2(certificateFilePath, password, flag); +#endif + this.HashAlgorithm = HashAlgorithmCmnFunc.GetHashAlgorithmFromNameString(hashAlgorithmName.Name); this.Prepare(); } -#endif #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs index 01b4d5a0d..eccfdc6ab 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/EnumDigitalSignAlgorithm.cs @@ -100,8 +100,13 @@ public enum EnumDigitalSignAlgorithm RsaOpenSsl_SHA512, */ - /// DSAOpenSsl:SHA1 - DsaOpenSsl_SHA1, + ///// DSAOpenSsl:SHA1 + //DsaOpenSsl_SHA1, + + // 古いのでリネームしたが、使用箇所でSHA1を明示している訳ではなかった... + + /// DSAOpenSsl:SHA256 + DsaOpenSsl_SHA256, /// ECDsaOpenSsl:P256 ECDsaOpenSsl_P256, diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPrivateKeyConverter.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPrivateKeyConverter.cs index 449451658..0b74b20be 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPrivateKeyConverter.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPrivateKeyConverter.cs @@ -59,8 +59,7 @@ public EccPrivateKeyConverter(JWS_ECDSA.ES esNNN = JWS_ECDSA.ES._256) : base(esN #endregion #region method -#if NET45 || NET46 -#else + #region ParamToJwk /// ParamToJwk /// ECParameters @@ -124,7 +123,7 @@ public ECParameters JwkToParam(Dictionary jwk) return ecParams; } #endregion -#endif + #endregion } } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs index c18a89698..86fea6e49 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/EccPublicKeyConverter.cs @@ -68,8 +68,6 @@ public EccPublicKeyConverter(JWS_ECDSA.ES esNNN = JWS_ECDSA.ES._256) : base(esNN #region X.509 鍵 → ECDsaProvider(Cngkey, ECParameters) → Jwk // X.509 は、NET47以降 -#if NET45 || NET46 -#else #region *.cer #region Jwk @@ -188,7 +186,6 @@ public ECDsa X509PfxToProvider( #endregion #endregion -#endif #endregion @@ -269,8 +266,7 @@ public CngKey JwkToCng(Dictionary jwk) #endregion #region ECParameters -#if NET45 || NET46 -#else + // ECCurve and ECParameters to Jwt // https://github.com/psteniusubi/jose-jwt/blob/master/jose-jwt/jwk/JwkEc.cs @@ -333,7 +329,7 @@ public ECParameters JwkToParam(JObject jwkObject) return ecParams; } #endregion -#endif + #endregion #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_Rsa15A128CbcHS256.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_Rsa15A128CbcHS256.cs index 640f2bc4a..004d38a6d 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_Rsa15A128CbcHS256.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_Rsa15A128CbcHS256.cs @@ -69,24 +69,6 @@ public JWE_Rsa15A128CbcHS256() #region CEK 暗号化・復号化 -#if NET45 - /// CEK 暗号化 - /// byte[] - /// byte[] - protected override byte[] CreateKey(byte[] data) - { - // RSAES-PKCS1-v1_5 は、fOAEP: false - return this.ASymmetricCryptography.EncryptBytes(data, fOAEP: false); - } - - /// CEK 復号化 - /// byte[] - /// byte[] - protected override byte[] DecryptKey(byte[] data) - { - return this.ASymmetricCryptography.DecryptBytes(data, fOAEP: false); - } -#else /// CEK 暗号化 /// byte[] /// byte[] @@ -105,7 +87,7 @@ protected override byte[] DecryptKey(byte[] data) return this.ASymmetricCryptography.DecryptBytes( data, padding: RSAEncryptionPadding.Pkcs1); } -#endif + #endregion #region 本文 暗号化・復号化 diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_RsaOaepAesGcm.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_RsaOaepAesGcm.cs index cc0202bd5..b7e5a745e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_RsaOaepAesGcm.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWE_RsaOaepAesGcm.cs @@ -66,25 +66,6 @@ public JWE_RsaOaepAesGcm() #region CEK 暗号化・復号化 -#if NET45 - /// CEK 暗号化 - /// byte[] - /// byte[] - protected override byte[] CreateKey(byte[] data) - { - // RSA-OAEP = RSAES OAEP using default parameters は、 - // SHA-1ハッシュ関数とSHA-1マスク生成機能付きMGF1 - return this.ASymmetricCryptography.EncryptBytes(data, fOAEP: true); - } - - /// CEK 復号化 - /// byte[] - /// byte[] - protected override byte[] DecryptKey(byte[] data) - { - return this.ASymmetricCryptography.DecryptBytes(data, fOAEP: true); - } -#else /// CEK 暗号化 /// byte[] /// byte[] @@ -104,7 +85,7 @@ protected override byte[] DecryptKey(byte[] data) return this.ASymmetricCryptography.DecryptBytes( data, padding: RSAEncryptionPadding.OaepSHA1); } -#endif + #endregion #region 本文 暗号化・復号化 diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs index 39d822d59..1ac3ad38b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES256_Param.cs @@ -121,11 +121,19 @@ public JWS_ES256_Param() public JWS_ES256_Param(ECParameters param, bool isPrivate) { // Cng or OpenSsl +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { this.DigitalSignECDsaCng = new DigitalSignECDsaCng(param, isPrivate); } - else +#if NETSTD + else if (OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(param, SHA256.Create()); @@ -133,6 +141,10 @@ public JWS_ES256_Param(ECParameters param, bool isPrivate) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } #endregion @@ -144,7 +156,11 @@ public JWS_ES256_Param(ECParameters param, bool isPrivate) /// byte[] protected override byte[] Create2(byte[] data) { +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { return this.DigitalSignECDsaCng.Sign(data); } @@ -165,7 +181,11 @@ protected override byte[] Create2(byte[] data) protected override bool Verify2(byte[] data, byte[] sign) { // Cng or OpenSsl +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { return this.DigitalSignECDsaCng.Verify(data, sign); } diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs index f84e2aac7..799944939 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES384_Param.cs @@ -122,11 +122,19 @@ public JWS_ES384_Param() public JWS_ES384_Param(ECParameters param, bool isPrivate) { // Cng or OpenSsl +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { this.DigitalSignECDsaCng = new DigitalSignECDsaCng(param, isPrivate); } - else +#if NETSTD + else if (OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(param, SHA384.Create()); @@ -134,6 +142,10 @@ public JWS_ES384_Param(ECParameters param, bool isPrivate) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } #endregion @@ -145,11 +157,19 @@ public JWS_ES384_Param(ECParameters param, bool isPrivate) /// byte[] protected override byte[] Create2(byte[] data) { +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { return this.DigitalSignECDsaCng.Sign(data); } - else +#if NETSTD + else if (OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD return this.DigitalSignECDsaOpenSsl.Sign(data); @@ -157,6 +177,10 @@ protected override byte[] Create2(byte[] data) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } /// Verify2 @@ -166,11 +190,19 @@ protected override byte[] Create2(byte[] data) protected override bool Verify2(byte[] data, byte[] sign) { // Cng or OpenSsl +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { return this.DigitalSignECDsaCng.Verify(data, sign); } - else +#if NETSTD + else if (OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD return this.DigitalSignECDsaOpenSsl.Verify(data, sign); @@ -178,6 +210,10 @@ protected override bool Verify2(byte[] data, byte[] sign) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs index bc06462fe..abdafcbf8 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Jwt/JWS_ES512_Param.cs @@ -35,6 +35,7 @@ using Touryo.Infrastructure.Public.Util; using Touryo.Infrastructure.Public.Security; +using System.Diagnostics.Eventing.Reader; namespace Touryo.Infrastructure.Public.Security.Jwt { @@ -120,11 +121,19 @@ public JWS_ES512_Param() public JWS_ES512_Param(ECParameters param, bool isPrivate) { // Cng or OpenSsl +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { this.DigitalSignECDsaCng = new DigitalSignECDsaCng(param, isPrivate); } - else +#if NETSTD + else if(OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD this.DigitalSignECDsaOpenSsl = new DigitalSignECDsaOpenSsl(param, SHA512.Create()); @@ -133,6 +142,10 @@ public JWS_ES512_Param(ECParameters param, bool isPrivate) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } #endregion @@ -144,11 +157,19 @@ public JWS_ES512_Param(ECParameters param, bool isPrivate) /// byte[] protected override byte[] Create2(byte[] data) { +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { return this.DigitalSignECDsaCng.Sign(data); } - else +#if NETSTD + else if(OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD return this.DigitalSignECDsaOpenSsl.Sign(data); @@ -156,6 +177,10 @@ protected override byte[] Create2(byte[] data) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } /// Verify2 @@ -165,11 +190,19 @@ protected override byte[] Create2(byte[] data) protected override bool Verify2(byte[] data, byte[] sign) { // Cng or OpenSsl +#if NETSTD + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { return this.DigitalSignECDsaCng.Verify(data, sign); } - else +#if NETSTD + else if(OperatingSystem.IsLinux()) +#else + else if (os.Platform == PlatformID.Unix) +#endif { #if NETSTD return this.DigitalSignECDsaOpenSsl.Verify(data, sign); @@ -177,6 +210,10 @@ protected override bool Verify2(byte[] data, byte[] sign) throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); #endif } + else + { + throw new NotImplementedException(PublicExceptionMessage.NOT_IMPLEMENTED); + } } #endregion diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs index 716bfa7d2..17aec77d0 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/KeyExg/RsaBob.cs @@ -31,6 +31,7 @@ //* 2018/11/09 西野 大介 RSAOpenSsl、DSAOpenSsl、HashAlgorithmName対応 //********************************************************************************** +using System; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; @@ -64,7 +65,20 @@ protected RsaBob(string rsaPfxFilePath, string password) : /// X509KeyStorageFlags protected RsaBob(string rsaPfxFilePath, string password, X509KeyStorageFlags flag) { +#if NETSTD + X509Certificate2 x509Certificate = null; + + //if (string.IsNullOrEmpty(password)) + //{ + // x509Certificate = X509CertificateLoader.LoadCertificateFromFile(rsaPfxFilePath); + //} + //else + //{ + x509Certificate = X509CertificateLoader.LoadPkcs12FromFile(rsaPfxFilePath, password, flag); + //} +#else X509Certificate2 x509Certificate = new X509Certificate2(rsaPfxFilePath, password, flag); +#endif // RSA // *.pfxの場合、ExportParameters(true)して生成し直している。 diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/PrivacyEnhancedMail.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/PrivacyEnhancedMail.cs index 5de7aa0b9..341812f3e 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/PrivacyEnhancedMail.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/PrivacyEnhancedMail.cs @@ -244,9 +244,15 @@ public static X509Certificate2 GetX509FromPemFilePath(string pemFilePath, RFC746 { string pemString = File.ReadAllText(pemFilePath); +#if NETSTD + return X509CertificateLoader.LoadCertificate( + PrivacyEnhancedMail.GetBytesFromPemString( + pemString, PrivacyEnhancedMail.EnumToString(label))); +#else return new X509Certificate2( PrivacyEnhancedMail.GetBytesFromPemString( pemString, PrivacyEnhancedMail.EnumToString(label))); +#endif } /// GetBase64StringFromPemFilePath diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj index ea764230d..e19bfe877 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore100.csproj @@ -40,8 +40,6 @@ - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore80.csproj b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore80.csproj deleted file mode 100644 index e507eb928..000000000 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Public.Security_netcore80.csproj +++ /dev/null @@ -1,56 +0,0 @@ - - - - net8.0 - OpenTouryo.Public.Security - Touryo.Infrastructure.Public.Security - 3.0.0.0 - Hitachi Solutions - - - - TRACE;DEBUG;NETSTD - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.Security.xml - full - true - - - - TRACE;NETSTD - ..\..\Build_netcore80\ - ..\..\Build_netcore80\net8.0\OpenTouryo.Public.Security.xml - portable - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs index 1fd5b2ec7..289d8daa6 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/Pwd/GetPasswordHashV2.cs @@ -31,6 +31,7 @@ //********************************************************************************** using System.Security.Cryptography; +using System.Text; using Touryo.Infrastructure.Public.Str; namespace Touryo.Infrastructure.Public.Security.Pwd @@ -146,7 +147,16 @@ public static string GetSaltedPassword(string rawPassword, byte[] saltByte = CustomEncode.StringToByte(salt, CustomEncode.UTF_8); // KeyedHashのキーを生成する。 +#if NETSTD + var passwordKey = Rfc2898DeriveBytes.Pbkdf2( + password: Encoding.UTF8.GetBytes(key), + salt: saltByte, + iterations: stretchCount, + hashAlgorithm: hashAlgorithmName, + outputLength: 24); +#else Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(key, saltByte, stretchCount, hashAlgorithmName); +#endif // Salted and hashed password(文字列)を生成して返す。 return @@ -160,11 +170,20 @@ public static string GetSaltedPassword(string rawPassword, // stretchCount + "." + CustomEncode.ToBase64String(CustomEncode.StringToByte(stretchCount.ToString(), CustomEncode.UTF_8)) +#if NETSTD + // Salted and hashed password + + "." + CustomEncode.ToBase64String( + GetPasswordHashV2.GetKeyedHashBytes( + CustomEncode.StringToByte(salt + rawPassword, CustomEncode.UTF_8), + ekha, passwordKey)); +#else // Salted and hashed password + "." + CustomEncode.ToBase64String( GetPasswordHashV2.GetKeyedHashBytes( CustomEncode.StringToByte(salt + rawPassword, CustomEncode.UTF_8), ekha, passwordKey.GetBytes(24))); +#endif + } /// パスワードを比較して認証する。 @@ -212,6 +231,20 @@ public static bool EqualSaltedPassword( string hashedPassword = temp[3]; // KeyedHashのキーを生成する。 +#if NETSTD + var passwordKey = Rfc2898DeriveBytes.Pbkdf2( + password: Encoding.UTF8.GetBytes(key), + salt: saltByte, + iterations: stretchCount, + hashAlgorithm: hashAlgorithmName, + outputLength: 24); + + // 引数のsaltedPasswordと、rawPasswordから自作したsaltedPasswordを比較 + string compare = CustomEncode.ToBase64String( + GetPasswordHashV2.GetKeyedHashBytes( + CustomEncode.StringToByte(salt + rawPassword, CustomEncode.UTF_8), + ekha, passwordKey)); +#else Rfc2898DeriveBytes passwordKey = new Rfc2898DeriveBytes(key, saltByte, stretchCount, hashAlgorithmName); // 引数のsaltedPasswordと、rawPasswordから自作したsaltedPasswordを比較 @@ -219,6 +252,7 @@ public static bool EqualSaltedPassword( GetPasswordHashV2.GetKeyedHashBytes( CustomEncode.StringToByte(salt + rawPassword, CustomEncode.UTF_8), ekha, passwordKey.GetBytes(24))); +#endif if (hashedPassword == compare) { diff --git a/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs b/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs index cefc00327..2942cfca1 100644 --- a/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs +++ b/root/programs/CS/Frameworks/Infrastructure/Public/Security/SymmetricCryptography.cs @@ -44,6 +44,7 @@ //********************************************************************************** using System; +using System.Text; using System.Security.Cryptography; using Touryo.Infrastructure.Public.Str; @@ -217,15 +218,33 @@ private void GenerateKeyFromPassword(string password, { //パスワードから共有キーと初期化ベクタを作成する + ////.NET Framework 1.1以下の時は、PasswordDeriveBytesを使用する + ////PasswordDeriveBytes deriveBytes = new PasswordDeriveBytes(password, salt); + +#if NETSTD + // 共有キーを生成 + key = Rfc2898DeriveBytes.Pbkdf2( + password: Encoding.UTF8.GetBytes(password), + salt: salt, + iterations: stretching, + hashAlgorithm: hashAlgorithmName, + outputLength: keySize / 8); + + // 初期化ベクタを生成 + iv = Rfc2898DeriveBytes.Pbkdf2( + password: Encoding.UTF8.GetBytes(password), + salt: salt, + iterations: stretching, + hashAlgorithm: hashAlgorithmName, + outputLength: blockSize / 8); +#else //Rfc2898DeriveBytesオブジェクトを作成する Rfc2898DeriveBytes deriveBytes = new Rfc2898DeriveBytes(password, salt, stretching, hashAlgorithmName); - //.NET Framework 1.1以下の時は、PasswordDeriveBytesを使用する - //PasswordDeriveBytes deriveBytes = new PasswordDeriveBytes(password, salt); - //共有キーと初期化ベクタを生成する key = deriveBytes.GetBytes(keySize / 8); iv = deriveBytes.GetBytes(blockSize / 8); +#endif } /// @@ -324,14 +343,11 @@ private SymmetricAlgorithm CreateSymmetricAlgorithm(EnumSymmetricAlgorithm esa, // AesManaged sa = AesManaged.Create(); // devps(1703) }*/ -#if NET45 || NET46 -#else else if (esa.HasFlag(EnumSymmetricAlgorithm.AES_CNG)) { // AesCng sa = AesCng.Create(); // devps(1703) } -#endif #endregion #region TripleDES @@ -341,14 +357,12 @@ private SymmetricAlgorithm CreateSymmetricAlgorithm(EnumSymmetricAlgorithm esa, sa = TripleDES.Create();//TripleDESCryptoServiceProvider.Create(); // devps(1703) } -#if NET45 || NET46 -#else else if (esa.HasFlag(EnumSymmetricAlgorithm.TDES_CNG)) { // TripleDESCng sa = TripleDESCng.Create(); // devps(1703) } -#endif + #endregion #region Others diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService.sln b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService.sln index da53c569b..a716a1f64 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService.sln +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/ASPNETWebService/ASPNETWebService.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASPNETWebService", "ASPNETWebService.csproj", "{31B8CFB3-33AA-4528-AA5F-A1888A73977B}" EndProject diff --git a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.sln b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.sln index c8e71d94b..1dd3fff1b 100644 --- a/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.sln +++ b/root/programs/CS/Frameworks/Infrastructure/ServiceInterface/WCFService/WCFService.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WCFService", "WCFService.csproj", "{096A202A-72E4-41D8-8B61-970E48E38135}" EndProject diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtil/EncAndDecUtil48.sln b/root/programs/CS/Frameworks/Tests/EncAndDecUtil/EncAndDecUtil48.sln index 981001dc4..4d5b8155d 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtil/EncAndDecUtil48.sln +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtil/EncAndDecUtil48.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EncAndDecUtil", "net48\EncAndDecUtil.csproj", "{F236461D-1C61-46D7-BBCE-B96E63CE31DD}" EndProject diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUICore80.sln b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUICore100.sln similarity index 85% rename from root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUICore80.sln rename to root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUICore100.sln index 85b74ce54..17cd6a001 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUICore80.sln +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUICore100.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EncAndDecUtilCUI", "core80\EncAndDecUtilCUICore.csproj", "{E6B7D6EE-D395-4776-ADA5-5DD0968059D8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EncAndDecUtilCUICore", "core100\EncAndDecUtilCUICore.csproj", "{E6B7D6EE-D395-4776-ADA5-5DD0968059D8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUIFx48.sln b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUIFx48.sln index 63f52e291..ec877b693 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUIFx48.sln +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/EncAndDecUtilCUIFx48.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EncAndDecUtilCUIFx", "net48\EncAndDecUtilCUIFx.csproj", "{7DAC4701-A800-4C8A-B70F-2A71C78F7B2F}" EndProject diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs index c123a1b9f..d2cdbbd09 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs @@ -170,10 +170,12 @@ private static void PasswordHash() hashedPassword = "$1$.JU5JJFZXQVIqWQ==.Rkg3YW5WVWt4YQ==.MTAwMA==.ODU0MXJPRWJmVzA9"; key = "%NI$VWAR*Y"; +#pragma warning disable 618 // 下位互換の確認 ret = GetPasswordHashV1.EqualSaltedPassword( providedPassword, hashedPassword.Substring(4), EnumKeyedHashAlgorithm.MACTripleDES, HashAlgorithmName.SHA1); +#pragma warning restore 618 TIPD.MyDebug.OutputDebugAndConsole("GetPasswordHashV1.EqualSaltedPassword (old)", ret.ToString()); @@ -274,8 +276,14 @@ private static void PublicKeyCryptography() #region Test of the X.509 Certificates #region RSA +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicRsaX509Path); +#else privateX509Key = new X509Certificate2(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); publicX509Key = new X509Certificate2(Program.PublicRsaX509Path, "", x509KSF); +#endif + Touryo.Infrastructure.Public.Security. MyDebug.InspectPrivateX509Key("RSA", privateX509Key); @@ -283,12 +291,15 @@ private static void PublicKeyCryptography() MyDebug.InspectPublicX509Key("RSA", publicX509Key); #endregion -#if NETCOREAPP || NET47 #region DSA // https://github.com/dotnet/corefx/issues/18733#issuecomment-296723615 - +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateDsaX509Path, Program.PfxPassword); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicDsaX509Path); +#else privateX509Key = new X509Certificate2(Program.PrivateDsaX509Path, Program.PfxPassword); publicX509Key = new X509Certificate2(Program.PublicDsaX509Path, ""); +#endif Touryo.Infrastructure.Public.Security. MyDebug.InspectPrivateX509Key("DSA", privateX509Key); @@ -302,8 +313,13 @@ private static void PublicKeyCryptography() #region ECDsa // https://github.com/dotnet/corefx/issues/18733#issuecomment-296723615 +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateECDsaX509_256Path, Program.PfxPassword); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicECDsaX509_256Path); +#else privateX509Key = new X509Certificate2(Program.PrivateECDsaX509_256Path, Program.PfxPassword); publicX509Key = new X509Certificate2(Program.PublicECDsaX509_256Path, ""); +#endif Touryo.Infrastructure.Public.Security. MyDebug.InspectPrivateX509Key("ECDsa", privateX509Key); @@ -316,7 +332,6 @@ private static void PublicKeyCryptography() TIPD.MyDebug.OutputDebugAndConsole("publicECDsa", (publicECDsa == null ? "is null" : "is not null")); #endregion -#endif #endregion @@ -344,10 +359,8 @@ private static void PublicKeyCryptography() DigitalSignXML dsXML = null; // ECDsa -#if NETCOREAPP || NET47 DigitalSignECDsaX509 dsECDsaX509 = null; DigitalSignECDsaCng dsECDsaCng = null; -#endif #if NETCOREAPP DigitalSignECDsaOpenSsl dsECDsaOpenSsl = null; #endif @@ -409,8 +422,8 @@ private static void PublicKeyCryptography() #endregion #region ECDsa + #region 256 -#if NETCOREAPP || NET47 // X509 dsECDsaX509 = new DigitalSignECDsaX509(Program.PrivateECDsaX509_256Path, Program.PfxPassword, HashAlgorithmName.SHA256); sign = dsECDsaX509.Sign(data); @@ -419,19 +432,15 @@ private static void PublicKeyCryptography() TIPD.MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA-SHA256)", dsECDsaX509.Verify(data, sign).ToString()); -#if NET47 || NETCOREAPP3_0 // Param dsECDsaCng = new DigitalSignECDsaCng(EnumDigitalSignAlgorithm.ECDsaCng_P256); sign = dsECDsaCng.Sign(data); dsECDsaCng = new DigitalSignECDsaCng(dsECDsaCng.PublicKey); MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(ECDSA-P256)", dsECDsaCng.Verify(data, sign).ToString()); -#endif -#endif #endregion #region 512 -#if NETCOREAPP || NET47 // X509 dsECDsaX509 = new DigitalSignECDsaX509(Program.PrivateECDsaX509_256Path, Program.PfxPassword, HashAlgorithmName.SHA512); sign = dsECDsaX509.Sign(data); @@ -440,16 +449,14 @@ private static void PublicKeyCryptography() TIPD.MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA-SHA512)", dsECDsaX509.Verify(data, sign).ToString()); -#if NET47 || NETCOREAPP3_0 // Param dsECDsaCng = new DigitalSignECDsaCng(EnumDigitalSignAlgorithm.ECDsaCng_P521); sign = dsECDsaCng.Sign(data); dsECDsaCng = new DigitalSignECDsaCng(dsECDsaCng.PublicKey); MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(ECDSA-P521)", dsECDsaCng.Verify(data, sign).ToString()); -#endif -#endif #endregion + #endregion } else //if (os.Platform == PlatformID.Unix) @@ -490,20 +497,20 @@ private static void PublicKeyCryptography() TIPD.MyDebug.OutputDebugAndConsole("DigitalSignX509.Verify(DSA-SHA256)", dsX509.Verify(data, sign).ToString()); // Param - dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); + dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA256); sign = dsParam.Sign(data); - dsParam = new DigitalSignParam((DSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); + dsParam = new DigitalSignParam((DSAParameters)dsParam.PublicKey, EnumDigitalSignAlgorithm.DsaOpenSsl_SHA256); - TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(DSA-SHA1)", dsParam.Verify(data, sign).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(DSA-SHA256)", dsParam.Verify(data, sign).ToString()); // XML - dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); + dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA256); sign = dsXML.Sign(data); - //dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); // 動かない + //dsXML = new DigitalSignXML(dsXML.PublicKey, EnumDigitalSignAlgorithm.DsaOpenSsl_SHA256); // 動かない - TIPD.MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(DSA-SHA1)", dsXML.Verify(data, sign).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("DigitalSignXML.Verify(DSA-SHA256)", dsXML.Verify(data, sign).ToString()); #endregion #region ECDsa (.NET Core on Linux) @@ -516,12 +523,10 @@ private static void PublicKeyCryptography() TIPD.MyDebug.OutputDebugAndConsole("DigitalSignECDsaX509.Verify(ECDSA)", dsECDsaX509.Verify(data, sign).ToString()); // Param - dsECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - EnumDigitalSignAlgorithm.ECDsaOpenSsl_P256, SHA256.Create()); + dsECDsaOpenSsl = new DigitalSignECDsaOpenSsl(EnumDigitalSignAlgorithm.ECDsaOpenSsl_P256, SHA256.Create()); sign = dsECDsaOpenSsl.Sign(data); - dsECDsaOpenSsl = new DigitalSignECDsaOpenSsl( - dsECDsaOpenSsl.PublicKey.Value, SHA256.Create()); + dsECDsaOpenSsl = new DigitalSignECDsaOpenSsl(dsECDsaOpenSsl.PublicKey.Value, SHA256.Create()); TIPD.MyDebug.OutputDebugAndConsole("DigitalSignParam.Verify(ECDSA-P256)", dsParam.Verify(data, sign).ToString()); #endregion @@ -580,9 +585,8 @@ private static void MyJwt() byte[] key = null; string jwk = ""; RsaPublicKeyConverter rpkc = null; -#if NETCOREAPP || NET47 EccPublicKeyConverter epkc = null; -#endif + #endregion #region Jws @@ -598,7 +602,6 @@ private static void MyJwt() JWS_RS512_X509 jWS_RS512_X509 = null; JWS_RS512_Param jWS_RS512_Param = null; -#if NETCOREAPP || NET47 // ES256 JWS_ES256_X509 jWS_ES256_X509 = null; JWS_ES256_Param jWS_ES256_Param = null; @@ -610,7 +613,7 @@ private static void MyJwt() // ES512 JWS_ES512_X509 jWS_ES512_X509 = null; JWS_ES512_Param jWS_ES512_Param = null; -#endif + #endregion #region Jwe @@ -683,8 +686,7 @@ private static void MyJwt() TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); #endregion -#if NETCOREAPP -#else + #region 384 // 署名(XML) jWS_RS384_XML = new JWS_RS384_XML(); @@ -732,12 +734,11 @@ private static void MyJwt() TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_Param.Verify", jWS_RS512_Param.Verify(token).ToString()); #endregion -#endif + #endregion // DSA -#if NETCOREAPP || NET47 #region ECDsa(ES) #region 256 @@ -760,21 +761,17 @@ private static void MyJwt() TIPD.MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); -#if NET47 || NETCOREAPP3_0 // 検証(Param) //// Core2.0-2.2 on WinでVerifyがエラーになる。 //// DigitalSignECDsaOpenSslを試してみるが生成できない、 //// Core on Win に OpenSSLベースのプロバイダは無いため) jWS_ES256_Param = new JWS_ES256_Param(epkc.JwkToParam(jwk), false); MyDebug.OutputDebugAndConsole("JWS_ES256_Param.Verify", jWS_ES256_Param.Verify(token).ToString()); -#elif NETCOREAPP2_0 - // Core2.0-2.2 on Winで ECDsaCngは動作しない。 -#endif + // ★ xLibTest Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES256); #endregion -#if NETCOREAPP -#else + #region 384 // 署名(X509) jWS_ES384_X509 = new JWS_ES384_X509(Program.PrivateECDsaX509_384Path, Program.PfxPassword); @@ -796,16 +793,13 @@ private static void MyJwt() jWS_ES384_X509 = new JWS_ES384_X509(Program.PublicECDsaX509_384Path, ""); MyDebug.OutputDebugAndConsole("JWS_ES384_X509.Verify", jWS_ES384_X509.Verify(token).ToString()); -#if NET47 || NETCOREAPP3_0 // 検証(Param) //// Core2.0-2.2 on WinでVerifyがエラーになる。 //// DigitalSignECDsaOpenSslを試してみるが生成できない、 //// Core on Win に OpenSSLベースのプロバイダは無いため) jWS_ES384_Param = new JWS_ES384_Param(epkc.JwkToParam(jwk), false); MyDebug.OutputDebugAndConsole("JWS_ES384_Param.Verify", jWS_ES384_Param.Verify(token).ToString()); -#elif NETCOREAPP2_0 - // Core2.0-2.2 on Winで ECDsaCngは動作しない。 -#endif + // ★ xLibTest Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES384_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES384); #endregion @@ -831,26 +825,21 @@ private static void MyJwt() jWS_ES512_X509 = new JWS_ES512_X509(Program.PublicECDsaX509_512Path, ""); MyDebug.OutputDebugAndConsole("JWS_ES512_X509.Verify", jWS_ES512_X509.Verify(token).ToString()); -#if NET47 || NETCOREAPP3_0 // 検証(Param) //// Core2.0-2.2 on WinでVerifyがエラーになる。 //// DigitalSignECDsaOpenSslを試してみるが生成できない、 //// Core on Win に OpenSSLベースのプロバイダは無いため) jWS_ES512_Param = new JWS_ES512_Param(epkc.JwkToParam(jwk), false); MyDebug.OutputDebugAndConsole("JWS_ES512_Param.Verify", jWS_ES512_Param.Verify(token).ToString()); -#elif NETCOREAPP2_0 - // Core2.0-2.2 on Winで ECDsaCngは動作しない。 -#endif + // ★ xLibTest Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES512_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES512); #endregion -#endif + #endregion -#endif } else //if (os.Platform == PlatformID.Unix) { -#if NETCOREAPP #region RSA(RS256) // 署名(X509) jWS_RS256_X509 = new JWS_RS256_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); @@ -905,7 +894,6 @@ private static void MyJwt() // ★ xLibTest Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES256); #endregion -#endif } #endregion @@ -1002,9 +990,8 @@ private static void JoseJwt() CngKey privateKeyOfCng = null; RsaPublicKeyConverter rpkc = null; -#if NETCOREAPP || NET47 EccPublicKeyConverter epkc = null; -#endif + #endregion #endregion @@ -1036,8 +1023,13 @@ private static void JoseJwt() // RS256, RS384, RS512 and PS256, PS384, PS512 // https://github.com/dvsekhvalnov/jose-jwt#rs--and-ps--family // X509Certificate2 x509Certificate2 = new X509Certificate2(); +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicRsaX509Path); +#else privateX509Key = new X509Certificate2(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); publicX509Key = new X509Certificate2(Program.PublicRsaX509Path, "", x509KSF); +#endif token = ""; @@ -1061,7 +1053,11 @@ private static void JoseJwt() y = new byte[] { 131, 116, 8, 14, 22, 150, 18, 75, 24, 181, 159, 78, 90, 51, 71, 159, 214, 186, 250, 47, 207, 246, 142, 127, 54, 183, 72, 72, 253, 21, 88, 53 }; d = new byte[] { 42, 148, 231, 48, 225, 196, 166, 201, 23, 190, 229, 199, 20, 39, 226, 70, 209, 148, 29, 70, 125, 14, 174, 66, 9, 198, 80, 251, 95, 107, 98, 206 }; +#if NETCOREAPP + if (OperatingSystem.IsWindows()) +#else if (os.Platform == PlatformID.Win32NT) +#endif { // https://github.com/dvsekhvalnov/jose-jwt/blob/master/jose-jwt/Security/Cryptography/EccKey.cs privateKeyOfCng = EccKey.New(x, y, d); @@ -1071,9 +1067,9 @@ private static void JoseJwt() token = JWT.Encode(payload, privateKeyOfCng, JwsAlgorithm.ES256); Program.VerifyResultJwt("JwsAlgorithm.ES256", token, publicKeyOfCng); } - else //if (os.Platform == PlatformID.Unix) - { #if NETCOREAPP + else if (OperatingSystem.IsLinux()) + { ECParameters eCParameters = new ECParameters(); epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._256); @@ -1093,26 +1089,32 @@ private static void JoseJwt() token = ""; token = JWT.Encode(payload, eCDsaOpenSsl, JwsAlgorithm.ES256); Program.VerifyResultJwt("JwsAlgorithm.ES256", token, eCDsaOpenSsl); + } #endif + else + { + // その他のプラットフォーム } -#if NETCOREAPP || NET47 +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateECDsaX509_256Path, Program.PfxPassword); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicECDsaX509_256Path); +#else privateX509Key = new X509Certificate2(Program.PrivateECDsaX509_256Path, Program.PfxPassword); publicX509Key = new X509Certificate2(Program.PublicECDsaX509_256Path, ""); +#endif try { #if NETCOREAPP - if (os.Platform == PlatformID.Win32NT) - { - } - else //if (os.Platform == PlatformID.Unix) + if (OperatingSystem.IsLinux()) { // ECCurveを分析してみる。 ECCurve eCCurve = ((ECDsaOpenSsl)privateX509Key.GetECDsaPrivateKey()).ExportExplicitParameters(true).Curve; TIPD.MyDebug.OutputDebugAndConsole("Inspect ECCurve", TIPD.ObjectInspector.Inspect(eCCurve)); } #endif + token = ""; token = JWT.Encode(payload, privateX509Key.GetECDsaPrivateKey(), JwsAlgorithm.ES256); Program.VerifyResultJwt("JwsAlgorithm.ES256", token, publicX509Key.GetECDsaPublicKey()); @@ -1121,7 +1123,6 @@ private static void JoseJwt() { TIPD.MyDebug.OutputDebugAndConsole("JwsAlgorithm.ES256", ex.GetType().ToString() + ", " + ex.Message); } -#endif #endregion @@ -1133,8 +1134,13 @@ private static void JoseJwt() #region RSA-* key management family of algorithms // RSA-OAEP-256, RSA-OAEP and RSA1_5 key // https://github.com/dvsekhvalnov/jose-jwt#rsa--key-management-family-of-algorithms +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicRsaX509Path); +#else privateX509Key = new X509Certificate2(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); publicX509Key = new X509Certificate2(Program.PublicRsaX509Path, "", x509KSF); +#endif // RSAES-PKCS1-v1_5 and AES_128_CBC_HMAC_SHA_256 token = ""; @@ -1236,8 +1242,14 @@ private static void JoseJwt() { "keyid", "111-222-333"} }; +#if NETCOREAPP + privateX509Key = X509CertificateLoader.LoadPkcs12FromFile(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); + publicX509Key = X509CertificateLoader.LoadCertificateFromFile(Program.PublicRsaX509Path); +#else privateX509Key = new X509Certificate2(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); publicX509Key = new X509Certificate2(Program.PublicRsaX509Path, "", x509KSF); +#endif + #if NETCOREAPP rsa = (RSA)privateX509Key.GetRSAPrivateKey(); diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt index c5cd64098..6d53435aa 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Result48.txt @@ -1,163 +1,223 @@ -HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== -HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= -HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -HashAlgorithm.MD5_CNG > FQ2+bMMhF8fDG0fkIOd9fA== -HashAlgorithm.SHA1_CNG > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA256_CNG > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA384_CNG > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA512_CNG > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== -KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= -KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= -KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms -KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== -KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= -GetPasswordHashV1.EqualSaltedPassword (old) > True -GetPasswordHashV2.EqualSaltedPassword (old) > False -GetPasswordHashV2.EqualSaltedPassword (new) > True -GetPasswordHashV2.EqualSaltedPassword (new) > True ----------------------------------------------------------------------------------------------------- -RSA > X509Certificate2.PrivateKey: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng -RSA > publicX509Key: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSACng -ASymCrypt(X509).Enc&Dec > True -DigitalSignX509.Verify(RS256) > True -DigitalSignParam.Verify(RS256) > True -DigitalSignXML.Verify(RS256) > True -DigitalSignParam.Verify(DSA-SHA1) > True -DigitalSignXML.Verify(DSA-SHA1) > True ----------------------------------------------------------------------------------------------------- -JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} -JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ -JWS_HS256.Verify > True -JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} -JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb -JWS_HS384.Verify > True -JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify > True -JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify with JWK > True -JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} -JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} -JWS_RS256_X509.Verify > True -JWS_RS256_Param.Verify > True -jWS_RS384_XML.Create > JWS Header: {"alg":"RS384","typ":"JWT"} -jWS_RS384_XML.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -jWS_RS384_XML.Create > JWS Signature: j_8_p49JMuj4oWK0fvINt7XaD7T_Vs4KqaAPqDTQKC8a_rOyvCmgixGIZKs-vFKNtTKYbFOkL8Ug8Dy6TLfefPr4kDJzpR0Tpy69KvMbAnI7HJ2m-Q-k-Cycl6cM4CzRmOmtln1ieHw79aNAS2xfEcULCiyN9sKcyWxGdAu5d3g -RSA JWK > {"kty":"RSA","alg":"RS384","n":"u-QgSeb6onBuLbMDC7bRLTLOBMwvEcRlJ45AnYd2qNTGUIhd2UJLfpcLQ6AbCepA8SnTngmNXf3gwZ_7UiMc07Ws5L4iVqgj8H-IiQr77Z85iDFZPmzuObOHzv01KtbcTEgYnQhVdVWd-bQE5KjFVv_4DlekWRaM27pSV_21c_E","e":"AQAB","kid":"o9E7O39DcsiWjetSr7LwecLh_pKBqNPIueEe_ZrxWakgN4vq__-d6e1IpvpGV3pF"} -JWS_RS384_XML.Verify > True -JWS_RS384_Param.Verify > True -JWS_RS512_X509.Create > JWS Header: {"alg":"RS512","typ":"JWT"} -JWS_RS512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_RS512_X509.Create > JWS Signature: Hu7kkEBidhzIDOT-GDElTyZutarV9q5K29say3_dNNTTkK1QV13r_0wfEg-g52mOXgBHtM0ITiUMz3KkB71RYk6_Ga7GXCxQQGJ-v_aI-49N4pnCZ9CLEehiaZ-76XDSS3VrOlhYEGxGznACMyAF6maxvkJF2kANTTKYk7Z-EZ6T90lD-6C5lOy3h_CEx_WzUoLD2u_4oa2apNFEtMtbRYI50gq4gUSFjFmh2lnm-_xvgLYbruM5Q7VJK5c_8uCu39SetNanCnAps816Ve2JqCRd6XfMQgfsl1Uc4iC26B51dUmR-SXCpOMmlJ3vKC5gFFmX7aY5iaqEKaiR2JAgLA -RSA JWK > {"kty":"RSA","alg":"RS512","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"w8oMM75dlmuzJhKJmh8lS3VtmPxuWPxFk6SlZ0BGOdcE67qkeIDNhHwc1ZDO8_sfqNxBxBXSS6MU96wFO6J_Iw"} -JWS_RS512_X509.Verify > True -JWS_RS512_Param.Verify > True -JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.Tq1k819ccGEl9vpwXjk3f74StdUf6xKC_UvCLdvkwB837gc78jqdX3HfEn2N5ynqANuZwcW3hIrJIUG_HVQuE54upYx57BomI-pyA26zWq8YDRCnbOsyyK2EVs3D5Rrs_w2k16vEOmTgmrfV4iBqo4lvPHp1ve9yPhn8zqRMkxrxEJtcFeijacbP6n7WELHaSbio2WmTdVYyrGxhSRkGxQTX-f_Ptw4VmM6bKx9T3SZeitsg6iAdmVfe3vWpStsz-pUUCtQ5wlZBAIQasqm_ZAwZvg9ZG38bIgGJ1vu9ekYAXEsKBDiLFTrENoptaZu6NUS8fg1wga6CKRDawj4B7A.RxbKKvK0Sxdk9clz.nmDZPyvYpKKno2YxMpn-k5lmfc8UzlG55GDkgED0TfNSozWVGMsrU9wt7A.K61ruZ8em8BUjf2dNnsvbw -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: Tq1k819ccGEl9vpwXjk3f74StdUf6xKC_UvCLdvkwB837gc78jqdX3HfEn2N5ynqANuZwcW3hIrJIUG_HVQuE54upYx57BomI-pyA26zWq8YDRCnbOsyyK2EVs3D5Rrs_w2k16vEOmTgmrfV4iBqo4lvPHp1ve9yPhn8zqRMkxrxEJtcFeijacbP6n7WELHaSbio2WmTdVYyrGxhSRkGxQTX-f_Ptw4VmM6bKx9T3SZeitsg6iAdmVfe3vWpStsz-pUUCtQ5wlZBAIQasqm_ZAwZvg9ZG38bIgGJ1vu9ekYAXEsKBDiLFTrENoptaZu6NUS8fg1wga6CKRDawj4B7A -JweAlgorithm.xLibTest > JWE Initialization Vector: RxbKKvK0Sxdk9clz -JweAlgorithm.xLibTest > JWE Ciphertext: nmDZPyvYpKKno2YxMpn-k5lmfc8UzlG55GDkgED0TfNSozWVGMsrU9wt7A -JweAlgorithm.xLibTest > JWE Authentication Tag: K61ruZ8em8BUjf2dNnsvbw -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.Yl3J0A12Wa_v8MNbjoMgmkezSclWFZRRQee7PlGlCu5Gf59ll_aTMZy3OURe_piIczgoIPY3C7wMZYnAHWyeUX1wplg0-GMUfhz-V2inqkyPm_Elzg50VyNtuqyb7THkZPi-jba22mx7uXPtO5StDq-FPnaPv8A80mQnwqnBsZOda1WWwK0LiIaPiLgQ2GUn2kJIHbXLTrdUmrmuGknOmsCoqlkbi0YxP6J3ou-TGohgj-gG78HmAwCVP4w6WYMMg1Q_iUNME3VjC0SZb0k0da5Pl9wZTmFE9dPBR32ohZPsSeJIo6fQHW8mhFJZUcZ27y5kTkUDeDW-2DbpQbkd0g.mxHpkJil2mqeAwxx7c4a5A.-wXvCdUQwgzU0itUrCQLxwQl7dkHTCwe7OTL6WezyNkwUMFpOXqWRZW2E6VyUQty.K3GNXHOD3tZiiGCfw3f6wA -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: Yl3J0A12Wa_v8MNbjoMgmkezSclWFZRRQee7PlGlCu5Gf59ll_aTMZy3OURe_piIczgoIPY3C7wMZYnAHWyeUX1wplg0-GMUfhz-V2inqkyPm_Elzg50VyNtuqyb7THkZPi-jba22mx7uXPtO5StDq-FPnaPv8A80mQnwqnBsZOda1WWwK0LiIaPiLgQ2GUn2kJIHbXLTrdUmrmuGknOmsCoqlkbi0YxP6J3ou-TGohgj-gG78HmAwCVP4w6WYMMg1Q_iUNME3VjC0SZb0k0da5Pl9wZTmFE9dPBR32ohZPsSeJIo6fQHW8mhFJZUcZ27y5kTkUDeDW-2DbpQbkd0g -JweAlgorithm.xLibTest > JWE Initialization Vector: mxHpkJil2mqeAwxx7c4a5A -JweAlgorithm.xLibTest > JWE Ciphertext: -wXvCdUQwgzU0itUrCQLxwQl7dkHTCwe7OTL6WezyNkwUMFpOXqWRZW2E6VyUQty -JweAlgorithm.xLibTest > JWE Authentication Tag: K3GNXHOD3tZiiGCfw3f6wA -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. -JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} -JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.eiRb1sbFSx6PfuVrivWq8bAA07VZ3WqruC6vA4WAmhQFckxAtKYEdQFW1ReX2N8X6HfZaeuddYhJRUeXVrsI1rKSOivTp1BW-3GVKCmiFeI5Eqx3pYwkX9abYonLf2gJKWlsdrkmgwOwZTdsIuMLv6tq6GLQC7P-KPPEf6xrJDQ -JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} -JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > JWS Signature: eiRb1sbFSx6PfuVrivWq8bAA07VZ3WqruC6vA4WAmhQFckxAtKYEdQFW1ReX2N8X6HfZaeuddYhJRUeXVrsI1rKSOivTp1BW-3GVKCmiFeI5Eqx3pYwkX9abYonLf2gJKWlsdrkmgwOwZTdsIuMLv6tq6GLQC7P-KPPEf6xrJDQ -JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.5hscGRvHN73723o9wN-jZ7kYjaIstPEQJDJaDBsUF0iWvjL2Pg-nAP9Po3AWsEzASoHUEAL0R_A7FlbhG6lYjw -JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > JWS Signature: 5hscGRvHN73723o9wN-jZ7kYjaIstPEQJDJaDBsUF0iWvjL2Pg-nAP9Po3AWsEzASoHUEAL0R_A7FlbhG6lYjw -JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.NNmEFUtSzPgD90ZXILDNTCQxJPpEfmtDyxLHr7k7paYcCWQ8MMaR8o3XFiGjSTf2C3i8Z4zj07spDm89SpeOZNksz4ZGni7Cw88h3p2brCLgLD2jp8mF0uJugZSuz5BFFsCpgfw91IyzeQIUk-QX5SeyreBZQjyozmjcrbdGBTxzrAqLzxvUESeY_Bdv9ctV9QCTGJaWKq0Axa2F-aofWWUUlwtcsHUOVKjv9ArsPRtTqPQIR49xpQ3mIccXxbkvaasub9hxiRh2gz9GOH3tMOqxDqG2NRYJnDQNTP1Y-NVcJ1eAvEcjadAvT2NzhnS_ltdTJbjuwiQzxeYor9ijdw.yDk_IZNYk95hDrWA96979w.d48baUwVenQXerBLlGdP1hJMevvZUkqIi5nyNhmfu8fPcHk1qYBnj2jaOoi7mCr6.2ZsnIf_i67NL-GK1okGs7Q -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: NNmEFUtSzPgD90ZXILDNTCQxJPpEfmtDyxLHr7k7paYcCWQ8MMaR8o3XFiGjSTf2C3i8Z4zj07spDm89SpeOZNksz4ZGni7Cw88h3p2brCLgLD2jp8mF0uJugZSuz5BFFsCpgfw91IyzeQIUk-QX5SeyreBZQjyozmjcrbdGBTxzrAqLzxvUESeY_Bdv9ctV9QCTGJaWKq0Axa2F-aofWWUUlwtcsHUOVKjv9ArsPRtTqPQIR49xpQ3mIccXxbkvaasub9hxiRh2gz9GOH3tMOqxDqG2NRYJnDQNTP1Y-NVcJ1eAvEcjadAvT2NzhnS_ltdTJbjuwiQzxeYor9ijdw -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: yDk_IZNYk95hDrWA96979w -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: d48baUwVenQXerBLlGdP1hJMevvZUkqIi5nyNhmfu8fPcHk1qYBnj2jaOoi7mCr6 -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: 2ZsnIf_i67NL-GK1okGs7Q -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.Es6WGqnnieaNOkJ8h5Z7-HTNsXFunB05TkhtQLi_5CManXEh4k8jFYNGYPT2YnC7dQ2bd5FBQ4ByqPZiKU6lTJfqB9yapLe7lueNJIsDsjXd9RDwrfdZX-WjEnmk9dFHscvU_tIDsvGatSoCVgE5edZNdvVxgZvmkY56Aix57Zj2vN5YqQTaMJ1L-k6cxASEJepNe5c9g9c2h_MfL0OmkjNe2Asg4y5tGNsLGRHk1WYYzBBlHVmNgCSsJ6qCqRZx1wYD8jihCzx3rLfHWVFYTegpF7G1S5lYMTmz7SpooMYMEyqs_2nOzJkE4X5oiRyTHhtf6r3bNT49jsBB0Gkewg.bfMPDuYlagZt6BlW.zQcent8b7C7I0PofyTTBmMIHNA322Td-rdJsS50qHRHJYELnWZbvp83yTw.ndyNG2k4CRVM_rYcR37N8g -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: Es6WGqnnieaNOkJ8h5Z7-HTNsXFunB05TkhtQLi_5CManXEh4k8jFYNGYPT2YnC7dQ2bd5FBQ4ByqPZiKU6lTJfqB9yapLe7lueNJIsDsjXd9RDwrfdZX-WjEnmk9dFHscvU_tIDsvGatSoCVgE5edZNdvVxgZvmkY56Aix57Zj2vN5YqQTaMJ1L-k6cxASEJepNe5c9g9c2h_MfL0OmkjNe2Asg4y5tGNsLGRHk1WYYzBBlHVmNgCSsJ6qCqRZx1wYD8jihCzx3rLfHWVFYTegpF7G1S5lYMTmz7SpooMYMEyqs_2nOzJkE4X5oiRyTHhtf6r3bNT49jsBB0Gkewg -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: bfMPDuYlagZt6BlW -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: zQcent8b7C7I0PofyTTBmMIHNA322Td-rdJsS50qHRHJYELnWZbvp83yTw -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: ndyNG2k4CRVM_rYcR37N8g -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..fLzqpTINnNBMfacbzcf-rA.Gu2UNocFCNO8_nl_mGXfLz-6EBAxuwcdCgStDRIBSp1cBr9kgLAnmnPx3vdJzoHq.WSZIoHrYkbmpuu89JHAPfA -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: fLzqpTINnNBMfacbzcf-rA -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: Gu2UNocFCNO8_nl_mGXfLz-6EBAxuwcdCgStDRIBSp1cBr9kgLAnmnPx3vdJzoHq -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: WSZIoHrYkbmpuu89JHAPfA -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.7ncTj2YcD5w12BRXoamSPGZuQ0LrWnYqZAQHkg0HN70-9_B5D3OCO_TGqu2mo8qmO3nFDqscn3RpNLA4HAUp3OExCzA8t8Eh.NmhB440aS_gMHcY6y2RJdg.9bZP75RGP9O0R_8h8Y4sttTYMFRUWEJuCbmMTYW4i2InXzL3DDzzT9Y0XCBG8EYd.UBVwl14J9Etn2srVqMQVFZBLEGQ3jWIcP7g0vXnZse4 -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 7ncTj2YcD5w12BRXoamSPGZuQ0LrWnYqZAQHkg0HN70-9_B5D3OCO_TGqu2mo8qmO3nFDqscn3RpNLA4HAUp3OExCzA8t8Eh -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: NmhB440aS_gMHcY6y2RJdg -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: 9bZP75RGP9O0R_8h8Y4sttTYMFRUWEJuCbmMTYW4i2InXzL3DDzzT9Y0XCBG8EYd -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: UBVwl14J9Etn2srVqMQVFZBLEGQ3jWIcP7g0vXnZse4 -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6Ind6MnBMeEVEbnQtNmd1NUYiLCJ0YWciOiJQSnFjVk1nZF9GSDhHQV9CRG9VNlRnIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.Niq6pWy6EmXiYiEiRWNCbuaJGWlbqPzlSjhv48m5gw1qZAJ6qjGM58BCdu1V77btqnYCG8JEnNtItApqcpxoGw.kMkRcDmvCvedKVKfXwvb0Q.ZbNQlOVWCf7NZRJ4EwRZkggm64dGECIFm0zPy3QpX3fYWF1eNDokAYpM193r_tPQ.2YjEc_66AUiUZDqhf0S-5V1Tez4qGDa1h4GA3ew-iEY -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"wz2pLxEDnt-6gu5F","tag":"PJqcVMgd_FH8GA_BDoU6Tg","enc":"A256CBC-HS512"} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: Niq6pWy6EmXiYiEiRWNCbuaJGWlbqPzlSjhv48m5gw1qZAJ6qjGM58BCdu1V77btqnYCG8JEnNtItApqcpxoGw -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: kMkRcDmvCvedKVKfXwvb0Q -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: ZbNQlOVWCf7NZRJ4EwRZkggm64dGECIFm0zPy3QpX3fYWF1eNDokAYpM193r_tPQ -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: 2YjEc_66AUiUZDqhf0S-5V1Tez4qGDa1h4GA3ew-iEY -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6InFTaGczcnlHWXJqM1NNRVlsd1plVlNCWjB2TExRM3JXaWIybmszZWZSVk0iLCJ5IjoieEtQS1NQRGRWMlpOclR2Zno4LVdKOGt5ZkdNQTFWNjR0SU5kZUlqMVlZayIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..1eZFDw0BbEdrB5Og.-yZC2z7sgHYYEkF1Dob6nhBONd_y6sIh-Yngy71OtsrPdHOiLndPgCexGQ.keyT3QEmbUXwtrYEmOmqQQ -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"qShg3ryGYrj3SMEYlwZeVSBZ0vLLQ3rWib2nk3efRVM","y":"xKPKSPDdV2ZNrTvfz8-WJ8kyfGMA1V64tINdeIj1YYk","crv":"P-256"},"enc":"A256GCM"} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: 1eZFDw0BbEdrB5Og -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: -yZC2z7sgHYYEkF1Dob6nhBONd_y6sIh-Yngy71OtsrPdHOiLndPgCexGQ -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: keyT3QEmbUXwtrYEmOmqQQ -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 - -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6Il9lWlJxSGxHYU1rRG84Y2IiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.3FIJQ8grXDLRMl1F-CeevmbheWQETCFM5BVj2-cL0SNyx_HH_rHKDqun0MFFX48yXLb7O-4A2z1VIjziZByR8b_Ht9oA45or.ZCsuW_K_oAw2UNOjDGuFww.EHD3HfEBzcUdZKhK7aE-5HoT6xy7nrPrvFkeT_yGojQzIqxkEG_82HVzzQL2qTfK.eK16f2wYqceYSqToyJf9bQmtsLkRyPHDpoRVFf1ijKQ -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"_eZRqHlGaMkDo8cb","enc":"A256CBC-HS512"} -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 3FIJQ8grXDLRMl1F-CeevmbheWQETCFM5BVj2-cL0SNyx_HH_rHKDqun0MFFX48yXLb7O-4A2z1VIjziZByR8b_Ht9oA45or -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: ZCsuW_K_oAw2UNOjDGuFww -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: EHD3HfEBzcUdZKhK7aE-5HoT6xy7nrPrvFkeT_yGojQzIqxkEG_82HVzzQL2qTfK -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: eK16f2wYqceYSqToyJf9bQmtsLkRyPHDpoRVFf1ijKQ -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.pFKBACbxomd7xMrFKuAoacqMiwmnbLCGY83eeRMAm99HOfVN5vLPmsiEIMNXTE-H1D8--73OYXQWKJvr8aQVkDINiUyu1kI-2KAUOo5RrkW-tzk3vg8OIt0Fx-BSIDUtMyLzjbEDutQVROUX6kcZn_z-fCsTxWh1wtAaiSWaN34 -Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} -Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > JWS Signature: pFKBACbxomd7xMrFKuAoacqMiwmnbLCGY83eeRMAm99HOfVN5vLPmsiEIMNXTE-H1D8--73OYXQWKJvr8aQVkDINiUyu1kI-2KAUOo5RrkW-tzk3vg8OIt0Fx-BSIDUtMyLzjbEDutQVROUX6kcZn_z-fCsTxWh1wtAaiSWaN34 -Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} -Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=sM5f2l8puHVOl/NNc92gAXUq00ornVTtyg3eGtmZ6H7CsYvJFu43MrpKEw0ohYZvNLNBIGSeY/dKO6JZtf5OzdmzoAYpKmYk3Oy6pR8ByiCPYVDUYCfb8vVSjozY9gY3YGcGcl/R8ft4U3T1sUKR20Fobn+LwvSWHzOhJ51qd/o=JCusQvFRXCKCXpJYo08WByO514gRTQuDwZQHjKhPPEE=N52lE1k/8OQrCtQ8N3yIPHQ70e/4aPOoibeCek1sGKrWC3+qIGDwj4uEBUtOMgTkR3Zlh6UZmPFK1WTJolZqQ3aIuHs1qMkvKBiulWViMxCD+x0EbgD2DSKb/6h0ulwS7wS+Oa0oFyMS4HyT9vnTcY1vSrORHvAprLPvULTLuxY= - \ No newline at end of file +HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= +HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +HashAlgorithm.MD5_CNG > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.SHA1_CNG > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256_CNG > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384_CNG > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512_CNG > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== +KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= +KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= +KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms +KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== +KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= +GetPasswordHashV1.EqualSaltedPassword (old) > True +GetPasswordHashV2.EqualSaltedPassword (old) > False +GetPasswordHashV2.EqualSaltedPassword (new) > True +GetPasswordHashV2.EqualSaltedPassword (new) > True +---------------------------------------------------------------------------------------------------- +RSA > X509Certificate2.PrivateKey: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng +RSA > publicX509Key: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSACng +DSA > X509Certificate2.PrivateKey: is not null +DSA > SignatureAlgorithm.FriendlyName: +DSA > PrivateKey.ToString(): is System.Security.Cryptography.DSACng +DSA > publicX509Key: is not null +DSA > SignatureAlgorithm.FriendlyName: +DSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +DSA > PublicKey.Key.ToString(): is System.Security.Cryptography.DSACng +privateDSA > is not null +ECDsa > X509Certificate2.PrivateKey: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PrivateKey.ToString(): is System.Security.Cryptography.ECDsaCng +ECDsa > publicX509Key: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +ECDsa > PublicKey.Key.ToString(): is System.Security.Cryptography.ECDsaCng +privateECDsa > is not null +publicECDsa > is not null +ASymCrypt(X509).Enc&Dec > True +DigitalSignX509.Verify(RS256) > True +DigitalSignParam.Verify(RS256) > True +DigitalSignXML.Verify(RS256) > True +DigitalSignParam.Verify(DSA-SHA1) > True +DigitalSignXML.Verify(DSA-SHA1) > True +DigitalSignECDsaX509.Verify(ECDSA-SHA256) > True +DigitalSignParam.Verify(ECDSA-P256) > True +DigitalSignECDsaX509.Verify(ECDSA-SHA512) > True +DigitalSignParam.Verify(ECDSA-P521) > True +---------------------------------------------------------------------------------------------------- +JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} +JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ +JWS_HS256.Verify > True +JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} +JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb +JWS_HS384.Verify > True +JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify > True +JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify with JWK > True +JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} +JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} +JWS_RS256_X509.Verify > True +JWS_RS256_Param.Verify > True +jWS_RS384_XML.Create > JWS Header: {"alg":"RS384","typ":"JWT"} +jWS_RS384_XML.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +jWS_RS384_XML.Create > JWS Signature: GYtiAAj6L44GHM2qypvONV8lNM2OPtwrTnfYD6j5Q9lyIHWP6h0iK9bp3TNno_-A63xosowbWK3IuyMx1FKsu2IqLiyjjBwp7jsE8UbOlPF2usFizii_5hgiVYVAXos7A0VdbTs8A0bINjGjh4cH3yPAXzHKsD4-6hYANWilod8 +RSA JWK > {"kty":"RSA","alg":"RS384","n":"vBRhj9ifBc_zAm5kkH9KOMKf1m_xrbXpkaMsFw_ZZtl3kD-fQzquUd04E7-OAbbe5xj4W1O_ec2w4ODqdcZGeD4vCqr9aiO04a3iPyncdPq07in2Va_gUa8VGJZPrOv25tt2vDvLeY9gs4COgPpvem39kgBaPSrdZ5wi6t8P3TE","e":"AQAB","kid":"ckOA08yMty7xvdwDUtRWO28qoilvZssjrj41DONhyGOT6FY5aN-nLsTp02_Co08c"} +JWS_RS384_XML.Verify > True +JWS_RS384_Param.Verify > True +JWS_RS512_X509.Create > JWS Header: {"alg":"RS512","typ":"JWT"} +JWS_RS512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS512_X509.Create > JWS Signature: Hu7kkEBidhzIDOT-GDElTyZutarV9q5K29say3_dNNTTkK1QV13r_0wfEg-g52mOXgBHtM0ITiUMz3KkB71RYk6_Ga7GXCxQQGJ-v_aI-49N4pnCZ9CLEehiaZ-76XDSS3VrOlhYEGxGznACMyAF6maxvkJF2kANTTKYk7Z-EZ6T90lD-6C5lOy3h_CEx_WzUoLD2u_4oa2apNFEtMtbRYI50gq4gUSFjFmh2lnm-_xvgLYbruM5Q7VJK5c_8uCu39SetNanCnAps816Ve2JqCRd6XfMQgfsl1Uc4iC26B51dUmR-SXCpOMmlJ3vKC5gFFmX7aY5iaqEKaiR2JAgLA +RSA JWK > {"kty":"RSA","alg":"RS512","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"w8oMM75dlmuzJhKJmh8lS3VtmPxuWPxFk6SlZ0BGOdcE67qkeIDNhHwc1ZDO8_sfqNxBxBXSS6MU96wFO6J_Iw"} +JWS_RS512_X509.Verify > True +JWS_RS512_Param.Verify > True +JWS_ES256_X509.Create > JWS Header: {"alg":"ES256","typ":"JWT"} +JWS_ES256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES256_X509.Create > JWS Signature: bDS8uIGDfDIuYcOOiEbl0GsEVSUNSl22y1vXERK_KbORH2VdJVdULkxkBXw15fMfRrGYUQkVWwlKW3EdkQ1rPg +ECDSA JWK > {"kty":"EC","alg":"ES256","crv":"P-256","x":"qdS3bsts3UXi5p0G71GofUB9ls1fJz_z0dRQw9RZ99A","y":"hX6HISTIiDLt90VDEqGmsMj2kSlGLOcXgXSqz75EhV4","kid":"asm1SGqVczG7zj0saZPKiggv2xwRlb6c23CDCNBqBNA"} +JWS_ES256_X509.Verify > True +JWS_ES256_Param.Verify > True +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.bDS8uIGDfDIuYcOOiEbl0GsEVSUNSl22y1vXERK_KbORH2VdJVdULkxkBXw15fMfRrGYUQkVWwlKW3EdkQ1rPg +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: bDS8uIGDfDIuYcOOiEbl0GsEVSUNSl22y1vXERK_KbORH2VdJVdULkxkBXw15fMfRrGYUQkVWwlKW3EdkQ1rPg +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES384_X509.Create > JWS Header: {"alg":"ES384","typ":"JWT"} +JWS_ES384_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES384_X509.Create > JWS Signature: Mqm-d-FC7NZ9bniVD9UYcnMJe5pJB-Hi_Kff18AyZ068k3aDac_Rb8ijEXf0TYJLTrbl-E6ToPpgfK7N0VZxPy1sFMygZDAIi_D40jwTFqJXmaplMFhAnt6bACQG7mby +JWS_ES384_X509.Verify > True +ECDSA JWK > {"kty":"EC","alg":"ES384","crv":"P-384","x":"qeyd2iMw8DZT7Yy3KO0mOuok1JBBdMwEuJTa81Upg06fbVbotK8yuhDSVkzSFsw3","y":"thH6faasSDmEO4zeVNdc5LbZJprQmL7JN3NZzYUJmF1GhQEl6QaZh-6f1QhDH0St","kid":"e_kI1ZJ_x9ttzEU_DICgGhJeNK8ghcW3bSl7KFM6eVefpKJHA5ecCowzJw69r9Vr"} +JWS_ES384_X509.Verify > True +JWS_ES384_Param.Verify > False +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Mqm-d-FC7NZ9bniVD9UYcnMJe5pJB-Hi_Kff18AyZ068k3aDac_Rb8ijEXf0TYJLTrbl-E6ToPpgfK7N0VZxPy1sFMygZDAIi_D40jwTFqJXmaplMFhAnt6bACQG7mby +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES384","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: Mqm-d-FC7NZ9bniVD9UYcnMJe5pJB-Hi_Kff18AyZ068k3aDac_Rb8ijEXf0TYJLTrbl-E6ToPpgfK7N0VZxPy1sFMygZDAIi_D40jwTFqJXmaplMFhAnt6bACQG7mby +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES512_X509.Create > JWS Header: {"alg":"ES512","typ":"JWT"} +JWS_ES512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES512_X509.Create > JWS Signature: AJxgTQH_qS55UyUyYSrNG1G5bfnU_g8qto77lsWSLRSqgGzK5aIhYz1jBx3doDJTEmDthiB7Ane52TvOnj_XnIIIAG-iGaMKlEEbyS0S6esD7pRcp7wUuAp1iZt-GTY9d_xN1wKayxJPw-T2H7fXGzq8YgF2doLvP5YSdIHiLzYm4n9E +JWS_ES512_X509.Verify > True +ECDSA JWK > {"kty":"EC","alg":"ES512","crv":"P-521","x":"AQoRdSDzXLfin6CFhLxDOL0_Cfn-QcwgdbMkMGgwTeA4gDIygCOEy4m0eyTmEnjYdBOMN5JtYUiprdZZriAGzrHC","y":"ATj5JBej9ztfsArJLUMCs4edyCgPuItefh7KFGfeefI7YjB-pakcKxzhHZ1h2UhR183bnQ4rrXc71N5WAl3d5BqZ","kid":"OaO51pUD4-aJ8skED2eag0nvd1kfqIwo9BhB86PEZ34PBLE4TiHv6v9LCK20r0c6x06bULLSi84PcldSN2n6DQ"} +JWS_ES512_X509.Verify > True +JWS_ES512_Param.Verify > False +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.AJxgTQH_qS55UyUyYSrNG1G5bfnU_g8qto77lsWSLRSqgGzK5aIhYz1jBx3doDJTEmDthiB7Ane52TvOnj_XnIIIAG-iGaMKlEEbyS0S6esD7pRcp7wUuAp1iZt-GTY9d_xN1wKayxJPw-T2H7fXGzq8YgF2doLvP5YSdIHiLzYm4n9E +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES512","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: AJxgTQH_qS55UyUyYSrNG1G5bfnU_g8qto77lsWSLRSqgGzK5aIhYz1jBx3doDJTEmDthiB7Ane52TvOnj_XnIIIAG-iGaMKlEEbyS0S6esD7pRcp7wUuAp1iZt-GTY9d_xN1wKayxJPw-T2H7fXGzq8YgF2doLvP5YSdIHiLzYm4n9E +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.QzqiUMQh1bbmG8As9A4s0XXsMUR27oj5IJ8aazVZAWc2yf9F3BfCQaFR8M2Mcwglr9SXTgcBqJSgGItFgXiSt7UEtey06ubImo9gAp9BgcQmQTjsVTBHW5VWLJH23jnOCDl_XmqqE_Aqb992QvpiKdrgnvTg4qlyFymtJxU_xlcfsL8B5JqApiTQBPj96J7ta9vgZQx7tFOh23jGS5kt-7onNWs7NLOPVVM1wtEh4a49JLQl9gLfocMGnV9q_X2CEq-35XIe8dkfX_BsSh50YvMlbRSTCCmiGnumsMF77v_22WakHtFqsgEiNq7ZWXhaSKPLe-rVXaikkzUbtn8Mnw.p5ht61WtDaG_z9si.Hr2vtD16A9_rQDBn1F8kMp2OCsByvZXxF_4GAOvFugkwTnbOi1h_AJdtjg.3zK5dgHR3hZB4l5I2tTmFg +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: QzqiUMQh1bbmG8As9A4s0XXsMUR27oj5IJ8aazVZAWc2yf9F3BfCQaFR8M2Mcwglr9SXTgcBqJSgGItFgXiSt7UEtey06ubImo9gAp9BgcQmQTjsVTBHW5VWLJH23jnOCDl_XmqqE_Aqb992QvpiKdrgnvTg4qlyFymtJxU_xlcfsL8B5JqApiTQBPj96J7ta9vgZQx7tFOh23jGS5kt-7onNWs7NLOPVVM1wtEh4a49JLQl9gLfocMGnV9q_X2CEq-35XIe8dkfX_BsSh50YvMlbRSTCCmiGnumsMF77v_22WakHtFqsgEiNq7ZWXhaSKPLe-rVXaikkzUbtn8Mnw +JweAlgorithm.xLibTest > JWE Initialization Vector: p5ht61WtDaG_z9si +JweAlgorithm.xLibTest > JWE Ciphertext: Hr2vtD16A9_rQDBn1F8kMp2OCsByvZXxF_4GAOvFugkwTnbOi1h_AJdtjg +JweAlgorithm.xLibTest > JWE Authentication Tag: 3zK5dgHR3hZB4l5I2tTmFg +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.AbOg32Wq4VUypLhrYFe9ibRCUFV89I0mlK5W8U9kTiyifX6OGuYqhSDYzSlznhva3TWkiq4nYrKU-7Ke9JV3sQu_02r5YP1kymko7h-511AOWg7cSgfMLCMbMZNBSwi5DMZq4YZSvSCtdEyLR0qGTolPJ5B1mzrBuSqrGHR7YIJfdD7ppDyt6Ovb1zgMJ-9q3eQ-GTYcsz9sM8oe7V8_g3YgzpslUQRYoUS8n_Clrv4lJQvNxQkJBoAUU_u2OLkV77LpiThnYCGxyYIlzEHchMZyVH0NMf6A_GwEljo_hl0xt_nLPZjcargsA0GOkVnudsMDsvmArND2fvGhgihyVg.1cv_E7mfMc3aDY_c62IorQ.zwZqEErqyU4ykynxzXTkv_12UW4C7A4lP-PWV9DhPxr655vhi8jVEemLMMkpyxFf.zaQQjMyTDimHUC0aEcDLcA +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: AbOg32Wq4VUypLhrYFe9ibRCUFV89I0mlK5W8U9kTiyifX6OGuYqhSDYzSlznhva3TWkiq4nYrKU-7Ke9JV3sQu_02r5YP1kymko7h-511AOWg7cSgfMLCMbMZNBSwi5DMZq4YZSvSCtdEyLR0qGTolPJ5B1mzrBuSqrGHR7YIJfdD7ppDyt6Ovb1zgMJ-9q3eQ-GTYcsz9sM8oe7V8_g3YgzpslUQRYoUS8n_Clrv4lJQvNxQkJBoAUU_u2OLkV77LpiThnYCGxyYIlzEHchMZyVH0NMf6A_GwEljo_hl0xt_nLPZjcargsA0GOkVnudsMDsvmArND2fvGhgihyVg +JweAlgorithm.xLibTest > JWE Initialization Vector: 1cv_E7mfMc3aDY_c62IorQ +JweAlgorithm.xLibTest > JWE Ciphertext: zwZqEErqyU4ykynxzXTkv_12UW4C7A4lP-PWV9DhPxr655vhi8jVEemLMMkpyxFf +JweAlgorithm.xLibTest > JWE Authentication Tag: zaQQjMyTDimHUC0aEcDLcA +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. +JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} +JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dCnfv92uWPC6q3quXU_a_fYPjZQreuNQIpFx5Qc1k61F_sQch8aNafx_SOP5vIm_eSaqKQSpg7f4BukGAvDMCBTTRANJvj4olE7nhEgzD3jmuvEcrovcM6c3Q6C7oTdNVCDZSRvluiI7rKLgFuLq1iQfTJdX_jPxOIkyO7VR8kA +JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} +JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > JWS Signature: dCnfv92uWPC6q3quXU_a_fYPjZQreuNQIpFx5Qc1k61F_sQch8aNafx_SOP5vIm_eSaqKQSpg7f4BukGAvDMCBTTRANJvj4olE7nhEgzD3jmuvEcrovcM6c3Q6C7oTdNVCDZSRvluiI7rKLgFuLq1iQfTJdX_jPxOIkyO7VR8kA +JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.5sjTJ18OthXG2r7iWeuwX5F63oyMTYmHYEhTWaDnsZNbiImVfoMsv9m4ovocZmzeJRIuHnxokyEd1sHBtrSAog +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: 5sjTJ18OthXG2r7iWeuwX5F63oyMTYmHYEhTWaDnsZNbiImVfoMsv9m4ovocZmzeJRIuHnxokyEd1sHBtrSAog +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.y9GTdsHGsPJwZbBXI54d1J-AFfpRmcxIEeJ7KqlyPyehkGS0p3h9OIyXJL67Nykg1IFPFkkk6cSI6aEpzRf36g +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: y9GTdsHGsPJwZbBXI54d1J-AFfpRmcxIEeJ7KqlyPyehkGS0p3h9OIyXJL67Nykg1IFPFkkk6cSI6aEpzRf36g +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.Y-Z-EuZU8migC37s312S2qyiLYHuT3e5SD4aswf9FKGtQ35V2OcsY4DqS1TRk8RF5e_YjHMAbXNz8heBNYmspx9PU8tJvAVfWrJhRvvt_SO0jpv7YD-HweQLAGMbE2WWGFrSFDWIJO2Hbijy4xKXqy920U1OrfK02rW-sOtNAXoCGrSV3WQd5eEUV4Z0gF16V3RiO33xtc6Gqy8kmSHSVdC7ThhUVhxGygbAZBbGdnq45iWj-SLD3l143nthn_6I51DKxuzrxTI8rnRFqgCiyrFXRYDJ4haLdg9vkMUg65WjE9OpUo2CD5TqzeW01K2_l5gvo3i_rV54TWWi0wld7Q.O6p_BYf5ETk6OXMPzLArpw.IxCHmLYKCg9DWcXIVJyzAYQ31efTIeDRH00NcDwdzgDqhE80zcIYm6t2TH88ers1.TtaEl82V_-cfXnI2fPPd2w +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: Y-Z-EuZU8migC37s312S2qyiLYHuT3e5SD4aswf9FKGtQ35V2OcsY4DqS1TRk8RF5e_YjHMAbXNz8heBNYmspx9PU8tJvAVfWrJhRvvt_SO0jpv7YD-HweQLAGMbE2WWGFrSFDWIJO2Hbijy4xKXqy920U1OrfK02rW-sOtNAXoCGrSV3WQd5eEUV4Z0gF16V3RiO33xtc6Gqy8kmSHSVdC7ThhUVhxGygbAZBbGdnq45iWj-SLD3l143nthn_6I51DKxuzrxTI8rnRFqgCiyrFXRYDJ4haLdg9vkMUg65WjE9OpUo2CD5TqzeW01K2_l5gvo3i_rV54TWWi0wld7Q +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: O6p_BYf5ETk6OXMPzLArpw +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: IxCHmLYKCg9DWcXIVJyzAYQ31efTIeDRH00NcDwdzgDqhE80zcIYm6t2TH88ers1 +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: TtaEl82V_-cfXnI2fPPd2w +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.IOfHVVGvdIJiMfsRG6L28LVOD0t14-EXFEFLYZrGJiXoRHwoYVnP1IcQOK5Wx28V7AzkZ7zNnKEymrMPedt5nsORo4ctv8LsHX1zS_xFGfB4OB1EfSj5LUaZ0JkKcEyH0aJ7gcyv578hci1gVu-zloTRUb56IgLUUiCi0MkjXVAYocY2wgDeFtiLdgaTP_aIpVEwCOrCjQWDrguyhQzI52O9sa0W7HjV34iAAWFf1eLqx0klp48NOvegHh0hTu1850t3PE9FsCzfNqFclsWHjzRpCzxE2IZCUzXxaHNd79KlaXRhzphJ5OocCvOF7me1GGMEz7XwZRAjft_GPDeEDg.akAAMGRTkDsjmr7x.kOOA9YbIk8oUIe_Yp4EnwSjo-bQm_aVaWO1LNwwzDQexvmmPrIjJOzX-tQ.AzhMl3Kmr_eoiNrZjelA3w +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: IOfHVVGvdIJiMfsRG6L28LVOD0t14-EXFEFLYZrGJiXoRHwoYVnP1IcQOK5Wx28V7AzkZ7zNnKEymrMPedt5nsORo4ctv8LsHX1zS_xFGfB4OB1EfSj5LUaZ0JkKcEyH0aJ7gcyv578hci1gVu-zloTRUb56IgLUUiCi0MkjXVAYocY2wgDeFtiLdgaTP_aIpVEwCOrCjQWDrguyhQzI52O9sa0W7HjV34iAAWFf1eLqx0klp48NOvegHh0hTu1850t3PE9FsCzfNqFclsWHjzRpCzxE2IZCUzXxaHNd79KlaXRhzphJ5OocCvOF7me1GGMEz7XwZRAjft_GPDeEDg +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: akAAMGRTkDsjmr7x +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: kOOA9YbIk8oUIe_Yp4EnwSjo-bQm_aVaWO1LNwwzDQexvmmPrIjJOzX-tQ +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: AzhMl3Kmr_eoiNrZjelA3w +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..gcGPcw6lYQ4-nUCB-I-Q-A.XROkpOO8PEr3IPKGnRWLp3sur6B3SqSogYb_TiUKi1sJuz1KgCIRoGZnZvHH9xCg.GbbV94uHu6Juz9GSW3-2ug +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: gcGPcw6lYQ4-nUCB-I-Q-A +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: XROkpOO8PEr3IPKGnRWLp3sur6B3SqSogYb_TiUKi1sJuz1KgCIRoGZnZvHH9xCg +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: GbbV94uHu6Juz9GSW3-2ug +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.nvzrNLij1eLkzWX9OvZv3lYCcKgxUjP5cqTUdq6SAT5jmB4Y6pdQ-1Gb_6NGJTf6k_AyjQca7cYHlijToocnekneR7dpibAS.wC0BKrRqaaure-mQP8DWuQ.QPL69JM4Nw6_iNlRJu63J8_eiHOVhAB591n2lewNZZlrmTjMeITdU69vuzlZebKZ.nxhdVnuH8G6ZtlPVIvQui2TxOvfuClY3A-sfZjs8aeo +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: nvzrNLij1eLkzWX9OvZv3lYCcKgxUjP5cqTUdq6SAT5jmB4Y6pdQ-1Gb_6NGJTf6k_AyjQca7cYHlijToocnekneR7dpibAS +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: wC0BKrRqaaure-mQP8DWuQ +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: QPL69JM4Nw6_iNlRJu63J8_eiHOVhAB591n2lewNZZlrmTjMeITdU69vuzlZebKZ +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: nxhdVnuH8G6ZtlPVIvQui2TxOvfuClY3A-sfZjs8aeo +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6IlcwbHQ1T1B0YzB5cHVybzYiLCJ0YWciOiJvMUd0VXR1YjhQTHBKb2I5ekdYVUtnIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.UiTUcWTyHjkxA2khlzfJcEc62t-EHA8QpjeZu_K2xgeSbSSpNWJH9X_XsHYUU1W2aMG9cSMmw77ULxUWZLOUTg.jKUCAdU3VQ9GNECTVL27ug.FkbDex80HqKcsQ-M-HnJsL3VZSq49CkCHrL77VGTlTed7m135Jiy4kHsdgbbQqYL.rcQUTu0zg2oToqtZIS7oKvSlz94gfOaonwbDmNYwrRA +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"W0lt5OPtc0ypuro6","tag":"o1GtUtub8PLpJob9zGXUKg","enc":"A256CBC-HS512"} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: UiTUcWTyHjkxA2khlzfJcEc62t-EHA8QpjeZu_K2xgeSbSSpNWJH9X_XsHYUU1W2aMG9cSMmw77ULxUWZLOUTg +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: jKUCAdU3VQ9GNECTVL27ug +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: FkbDex80HqKcsQ-M-HnJsL3VZSq49CkCHrL77VGTlTed7m135Jiy4kHsdgbbQqYL +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: rcQUTu0zg2oToqtZIS7oKvSlz94gfOaonwbDmNYwrRA +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6IlhEMmJkSDFONmtBRVJURE9pZ3J6M1dwVWdHVUxLTzNMdXJ3QVpnWHoxZ28iLCJ5IjoiREtpdFM5eFQ5Vy1vUW1GUE1OcmgySGlXbDV5Q3NGREdEQWJpaDBBLVdiTSIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..4_YxIEHgT0S3THYo.fgzS9zycj3N3Ts4BNN5kIduq0dxmc-p7FPsxQRsLoPly7bxBjbRZWyMinw.pSS_005rtwkI8zS2ci4RcQ +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"XD2bdH1N6kAERTDOigrz3WpUgGULKO3LurwAZgXz1go","y":"DKitS9xT9W-oQmFPMNrh2HiWl5yCsFDGDAbih0A-WbM","crv":"P-256"},"enc":"A256GCM"} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: 4_YxIEHgT0S3THYo +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: fgzS9zycj3N3Ts4BNN5kIduq0dxmc-p7FPsxQRsLoPly7bxBjbRZWyMinw +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: pSS_005rtwkI8zS2ci4RcQ +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 + +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6IjhoZVFTUXhHUTFsekZMOGkiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.4w8H_QQeqtndy2gxSZoPQXYkErH5ynn9XblJCOoiSSCzBL9o2PmrbWHGOxS7ot0WA5YXlFzqLP6RPe27JwbsFW_dNG4rZTjE.SkrHmQA8V4vV-O6QppWSzg.Oj4F5E9wx7wFLTs-zq45PQNfqVjK4H2D4fRs0AiGyRnzSfquNau49hpKg6fERiNJ.MkcoNWK1OgXT0BsrJ83HhhoTTno_1RdHqHtl1-BfyMM +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"8heQSQxGQ1lzFL8i","enc":"A256CBC-HS512"} +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 4w8H_QQeqtndy2gxSZoPQXYkErH5ynn9XblJCOoiSSCzBL9o2PmrbWHGOxS7ot0WA5YXlFzqLP6RPe27JwbsFW_dNG4rZTjE +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: SkrHmQA8V4vV-O6QppWSzg +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: Oj4F5E9wx7wFLTs-zq45PQNfqVjK4H2D4fRs0AiGyRnzSfquNau49hpKg6fERiNJ +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: MkcoNWK1OgXT0BsrJ83HhhoTTno_1RdHqHtl1-BfyMM +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.FSr9pqYSF8WxBNdahQ30fFnmATRtUIvuNPn8Vzeb7tncuC-m3AiEqqP02hTskzYWb5yL65Ms8WUSPUpPuq3fpOAEPaMQlB_tD1Cm9VdUWVVb2QenpYErlwghhieiaRwhNxb_HtgMEVSaUGl19rbuVSQrFZbK4xF2vcl1Mf0AIcQ +Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} +Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > JWS Signature: FSr9pqYSF8WxBNdahQ30fFnmATRtUIvuNPn8Vzeb7tncuC-m3AiEqqP02hTskzYWb5yL65Ms8WUSPUpPuq3fpOAEPaMQlB_tD1Cm9VdUWVVb2QenpYErlwghhieiaRwhNxb_HtgMEVSaUGl19rbuVSQrFZbK4xF2vcl1Mf0AIcQ +Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} +Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=FBB/YzsLszo0rDe8Mvb1s8JbHxNm59IEVdU8q+rkKa13lsXuSiuSDq/Cw3C3RW3VFy5nJJiOVbCQ6FwHSGhY4vSa3fgohWIPDYKFDTzToxuqrX2W5wsjnl26DiHpBCkWjpGJqEWD6VH9yLWBgo+5ltRLVJRLMoGPj+9/EmjFY/4=puYEL9d9TeBL7MbOia9vcx3qOeyBRiciAwi4MxsjAoI=sbNtaEdIQUxdzJG+ihGnJD9+03JjcKhcG1rRdL2dNA0FhUmSY3D0yT58UNTDOWZ1482op1ixGqLcMhtFs1+PyxoQsA0++YndIf8biE5L+gzktyx6j4d3LtbxujHtT3+HxcEvOOjOXsk2jaTngCJMTrX0Ig3PaF39l/RSok6xVME= diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100.txt similarity index 52% rename from root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt rename to root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100.txt index f426e5a69..48a9fcc70 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore80.txt +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100.txt @@ -1,179 +1,217 @@ -HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== -HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= -HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= -HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= -HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V -HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== -KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== -KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= -KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= -KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= -KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms -KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== -KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= -GetPasswordHashV1.EqualSaltedPassword (old) > True -GetPasswordHashV2.EqualSaltedPassword (old) > False -GetPasswordHashV2.EqualSaltedPassword (new) > True -GetPasswordHashV2.EqualSaltedPassword (new) > True ----------------------------------------------------------------------------------------------------- -RSA > X509Certificate2.PrivateKey: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng -RSA > publicX509Key: is not null -RSA > SignatureAlgorithm.FriendlyName: sha256RSA -RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSABCrypt -DSA > X509Certificate2.PrivateKey: is not null -DSA > SignatureAlgorithm.FriendlyName: -DSA > PrivateKey.ToString(): is System.Security.Cryptography.DSACng -DSA > publicX509Key: is not null -DSA > SignatureAlgorithm.FriendlyName: -DSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -DSA > PublicKey.Key.ToString(): System.Security.Cryptography.CryptographicException, プロバイダーの公開キーは無効です。 -privateDSA > is not null -ECDsa > X509Certificate2.PrivateKey: is not null -ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA -ECDsa > PrivateKey.ToString(): is System.Security.Cryptography.ECDsaCng -ECDsa > publicX509Key: is not null -ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA -ECDsa > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey -ECDsa > PublicKey.Key.ToString(): is System.Security.Cryptography.ECDsaCng -privateECDsa > is not null -publicECDsa > is not null -ASymCrypt(X509).Enc&Dec > True -DigitalSignX509.Verify(RS256) > True -DigitalSignParam.Verify(RS256) > True -DigitalSignXML.Verify(RS256) > True -DigitalSignParam.Verify(DSA-SHA1) > True -DigitalSignXML.Verify(DSA-SHA1) > True -DigitalSignECDsaX509.Verify(ECDSA-SHA256) > True -DigitalSignECDsaX509.Verify(ECDSA-SHA512) > True ----------------------------------------------------------------------------------------------------- -JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} -JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ -JWS_HS256.Verify > True -JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} -JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb -JWS_HS384.Verify > True -JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify > True -JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} -JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw -JWS_HS512.Verify with JWK > True -JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} -JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} -JWS_RS256_X509.Verify > True -JWS_RS256_Param.Verify > True -JWS_ES256_X509.Create > JWS Header: {"alg":"ES256","typ":"JWT"} -JWS_ES256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JWS_ES256_X509.Create > JWS Signature: Pjf9BP5Nb8INvMWD0GU1_wjRhyffeQdsowNGGFvee4P1Uvt43R56wRO5fREA7y-UGcVDCAOWi0N-hfa0uTpvTQ -ECDSA JWK > {"kty":"EC","alg":"ES256","crv":"P-256","x":"qdS3bsts3UXi5p0G71GofUB9ls1fJz_z0dRQw9RZ99A","y":"hX6HISTIiDLt90VDEqGmsMj2kSlGLOcXgXSqz75EhV4","kid":"asm1SGqVczG7zj0saZPKiggv2xwRlb6c23CDCNBqBNA"} -JWS_ES256_X509.Verify > True -JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Pjf9BP5Nb8INvMWD0GU1_wjRhyffeQdsowNGGFvee4P1Uvt43R56wRO5fREA7y-UGcVDCAOWi0N-hfa0uTpvTQ -JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.xLibTest > JWS Signature: Pjf9BP5Nb8INvMWD0GU1_wjRhyffeQdsowNGGFvee4P1Uvt43R56wRO5fREA7y-UGcVDCAOWi0N-hfa0uTpvTQ -JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.UtiNtwiSplIrPTe2YKxT01duYjEq5CrRU-R-DQHDSxbFO1-yFJvxIL2X7P101M0f6qyv6Bu23rE4ZNnKePMZJbcrdjdPw-hpseO2D0H8p4L_TVf4TAKR5LgoaX2Wa6cWGPgUih6tQJA7Fgw6Joue1uyP7WrJIe2ye5KAuLg2rkIr2kZVUCXCb3pbtc5fk12-V4nX9MltewkEAuwk3Aq-djx8VjG1gsitd2Esd5_h1fPL6gy7b5_lj9nESQpMiIML1Oob_k9rUbM1-SCU2bB9qylArbni8IsJ2ZFxvGQpyl09GPnSlhgYHqx-uBEn-G50Bk3ixcaXd2NlJXAZ9s4xLg.XdS6issiTypEFCKB.G86fdRLumHkcdQusm13sEr3-JR5tTbQP9-3_3pXs4eZVLf2VTmQjI5mJNQ.WizDb9GRQvS79wIPS3PAsA -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: UtiNtwiSplIrPTe2YKxT01duYjEq5CrRU-R-DQHDSxbFO1-yFJvxIL2X7P101M0f6qyv6Bu23rE4ZNnKePMZJbcrdjdPw-hpseO2D0H8p4L_TVf4TAKR5LgoaX2Wa6cWGPgUih6tQJA7Fgw6Joue1uyP7WrJIe2ye5KAuLg2rkIr2kZVUCXCb3pbtc5fk12-V4nX9MltewkEAuwk3Aq-djx8VjG1gsitd2Esd5_h1fPL6gy7b5_lj9nESQpMiIML1Oob_k9rUbM1-SCU2bB9qylArbni8IsJ2ZFxvGQpyl09GPnSlhgYHqx-uBEn-G50Bk3ixcaXd2NlJXAZ9s4xLg -JweAlgorithm.xLibTest > JWE Initialization Vector: XdS6issiTypEFCKB -JweAlgorithm.xLibTest > JWE Ciphertext: G86fdRLumHkcdQusm13sEr3-JR5tTbQP9-3_3pXs4eZVLf2VTmQjI5mJNQ -JweAlgorithm.xLibTest > JWE Authentication Tag: WizDb9GRQvS79wIPS3PAsA -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.V83-2d8oansXtuchHrmNLfBn0HOvy0pm-z15rRJpXsFUhzZ3HfbXflLpzJRcnq16f6K83lvHgLE42Sm9MGTMm9aFcyZrYIfdObh0jw_1cVcDYl1p_75hojDoVrxr-gX73bQcmuo1y3Vek-UBOtS1vXdNNPGYcN5F-XIx_HCCndzdGul3ISu689d4_j0O_ieM4unlGw_uYe3gq7gVvezcNvMLFAC_9mLHmklRvQuKBVYIo1Ptuu4PfCJgPUMrozfkMPAkuHHZxAbnHfCCKGfDWk4Wpfwhk-rSXjsK1iwZrxs-qQh70hUm1PPYNfQj0iHIE_acJeikSPHU_hK9a5UE5A.uiitarwp7RZHGI7UAo3OvA.scnln-zwKvcjuRbvbXQeosqLRueEZTSog6yhpxIdJ2qwALnqTNRITyOQplhmcXzs.Fm-gsPEAE1iym9F-QPqPcg -JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} -JweAlgorithm.xLibTest > JWE Encrypted Key: V83-2d8oansXtuchHrmNLfBn0HOvy0pm-z15rRJpXsFUhzZ3HfbXflLpzJRcnq16f6K83lvHgLE42Sm9MGTMm9aFcyZrYIfdObh0jw_1cVcDYl1p_75hojDoVrxr-gX73bQcmuo1y3Vek-UBOtS1vXdNNPGYcN5F-XIx_HCCndzdGul3ISu689d4_j0O_ieM4unlGw_uYe3gq7gVvezcNvMLFAC_9mLHmklRvQuKBVYIo1Ptuu4PfCJgPUMrozfkMPAkuHHZxAbnHfCCKGfDWk4Wpfwhk-rSXjsK1iwZrxs-qQh70hUm1PPYNfQj0iHIE_acJeikSPHU_hK9a5UE5A -JweAlgorithm.xLibTest > JWE Initialization Vector: uiitarwp7RZHGI7UAo3OvA -JweAlgorithm.xLibTest > JWE Ciphertext: scnln-zwKvcjuRbvbXQeosqLRueEZTSog6yhpxIdJ2qwALnqTNRITyOQplhmcXzs -JweAlgorithm.xLibTest > JWE Authentication Tag: Fm-gsPEAE1iym9F-QPqPcg -JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. -JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} -JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE -JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} -JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.RS256 > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A -JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.lZCoTIckdl55HDhuCh1WSZNucBcKoZGjmTVdDxgOrjHlBHJVW9hj1dJHmegkaHnALl7ppYJEAnY1_KwP4L51GA -JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > JWS Signature: lZCoTIckdl55HDhuCh1WSZNucBcKoZGjmTVdDxgOrjHlBHJVW9hj1dJHmegkaHnALl7ppYJEAnY1_KwP4L51GA -JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.AMiyJvAMIReG9PoLd-HhVzMnkRnXDigV1ZLlX-uf9YYe60PJ806Abb-ocagRuofbEZWXSyElbMF_mPzG0U0lHQ -JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} -JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -JwsAlgorithm.ES256 > JWS Signature: AMiyJvAMIReG9PoLd-HhVzMnkRnXDigV1ZLlX-uf9YYe60PJ806Abb-ocagRuofbEZWXSyElbMF_mPzG0U0lHQ -JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.LoLIyXVUv4w3ShFJ4Rs2sSoavs16OSsgSUuh-JU4LXO_6T_frmNH8zMeuDcY0uh47UrqGxvdh-RvWl7DNccpsRHBXPXQ0lyGNhLn6zf1QxVYn8LRt59wv3jHnxETG-4MF0LmBAB0hvSKDFZggEwo8r5pOOXJIPwgGoWwxcXt5yYXihqvlYb1NG65HaIND8zcLURRLacTeo7SN3DzSDHWW71cmAasW7z1lQh9rYtAFW9_hJaQ5gbtZeji59SsITrb5ANEQlTZdP87RUO4IOAKJYJWNA65TKRjd-JIz67Ud3PVWvkqYGGjYGP-XhzlObYJjnyYqYS5cP8usNQCKJ2vLA.3xW8Ymr4Fv3N-dXmS9jAgg.v_oJhSwHRfJ6wPLrhrYW3vWe_tsT1tLThDk5P0priEIk2wpR2nfYR4KTHd0j_zN0.SIR4ZImq70cWjOU90mpqBA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: LoLIyXVUv4w3ShFJ4Rs2sSoavs16OSsgSUuh-JU4LXO_6T_frmNH8zMeuDcY0uh47UrqGxvdh-RvWl7DNccpsRHBXPXQ0lyGNhLn6zf1QxVYn8LRt59wv3jHnxETG-4MF0LmBAB0hvSKDFZggEwo8r5pOOXJIPwgGoWwxcXt5yYXihqvlYb1NG65HaIND8zcLURRLacTeo7SN3DzSDHWW71cmAasW7z1lQh9rYtAFW9_hJaQ5gbtZeji59SsITrb5ANEQlTZdP87RUO4IOAKJYJWNA65TKRjd-JIz67Ud3PVWvkqYGGjYGP-XhzlObYJjnyYqYS5cP8usNQCKJ2vLA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: 3xW8Ymr4Fv3N-dXmS9jAgg -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: v_oJhSwHRfJ6wPLrhrYW3vWe_tsT1tLThDk5P0priEIk2wpR2nfYR4KTHd0j_zN0 -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: SIR4ZImq70cWjOU90mpqBA -JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.gVWfxHlKFb2x5fIC9V6d-lqV4z80Zz65-u0upo1RpbcAUQPGsDibMnTuo397HXAZWMi9WuB34sYBUQP8kYaauVE8Ta79LXbEDEQ7ly7DLxH_vH0fMWNZUE_KOx48MQ50DCtYsxRYVMv9sKwe2CLgTUs4noGFI371qT0pZFLL8HM7ALUTuYFna0PHFYweyvyXmub5We8cFFAiKFFeTPM__JP1w0HeFXakkAcRB6JiAD7lm8AGTfuNj7Ql0BjyXPP4OGNNSIqjzogybxxvB4jpTZhXEDVOnZIvbln9TuuTTmjxdSUj3KtGkY_Td169dCpBkoE3nLbwhJk18zXljtUZAA.jS0VZPRGVX98l4Cv.bBKpcSpf3HWH2HSGmlnE5i3bXD8cxEJtY0XJsG5KJpM1b7lh_x95mcw2ug.zhJ47VRPsIhYWZv0r0_oPg -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: gVWfxHlKFb2x5fIC9V6d-lqV4z80Zz65-u0upo1RpbcAUQPGsDibMnTuo397HXAZWMi9WuB34sYBUQP8kYaauVE8Ta79LXbEDEQ7ly7DLxH_vH0fMWNZUE_KOx48MQ50DCtYsxRYVMv9sKwe2CLgTUs4noGFI371qT0pZFLL8HM7ALUTuYFna0PHFYweyvyXmub5We8cFFAiKFFeTPM__JP1w0HeFXakkAcRB6JiAD7lm8AGTfuNj7Ql0BjyXPP4OGNNSIqjzogybxxvB4jpTZhXEDVOnZIvbln9TuuTTmjxdSUj3KtGkY_Td169dCpBkoE3nLbwhJk18zXljtUZAA -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: jS0VZPRGVX98l4Cv -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: bBKpcSpf3HWH2HSGmlnE5i3bXD8cxEJtY0XJsG5KJpM1b7lh_x95mcw2ug -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: zhJ47VRPsIhYWZv0r0_oPg -JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..GOEBrmFwwiYXf6rX55CI2A.R3pqt780jNUeGJQHv60G5uyL7EOwDW_ZlMJDAwG6CwY_g33G6mjTciboGWR_2Hbe.fA3sUY8obbfBeIHxSRzKEA -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: GOEBrmFwwiYXf6rX55CI2A -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: R3pqt780jNUeGJQHv60G5uyL7EOwDW_ZlMJDAwG6CwY_g33G6mjTciboGWR_2Hbe -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: fA3sUY8obbfBeIHxSRzKEA -JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.W9fOKfPK-cfofnjyVtdm-Y_9Sm1De_QL6PAx0ldMqRdoW0IOxzZyECsr28qAv-gpdUX4sF_y2QcI7gWNKEuYivipfSHb-SDv.qEWCmBn788Mv0C1QcUgPqg.q3DEjJTC1FtzBap3M_-LrM5734RcJhWsvX_eaqObLNzLwRbMPNoUHChtUyF4wVq6.Xw4PSIhHcyU2lVdCWbM4Y0rVm9dQVwFVsaoO2JL-rnc -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: W9fOKfPK-cfofnjyVtdm-Y_9Sm1De_QL6PAx0ldMqRdoW0IOxzZyECsr28qAv-gpdUX4sF_y2QcI7gWNKEuYivipfSHb-SDv -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: qEWCmBn788Mv0C1QcUgPqg -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: q3DEjJTC1FtzBap3M_-LrM5734RcJhWsvX_eaqObLNzLwRbMPNoUHChtUyF4wVq6 -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: Xw4PSIhHcyU2lVdCWbM4Y0rVm9dQVwFVsaoO2JL-rnc -JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6IlZzNDhjSWdmRXk2X3hQMmEiLCJ0YWciOiJyM1hSZEQ3YmxEZUhIZk9wb3Y2QklBIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.Pjgke6amvEVhXrDTnAsPEUqjunOq4K3axJGmEHdqh4i-Jpmg6kUMxEIC1J1SKUO1Q5nIXDV5JTq_JfUcat639A.jw5eCol2_7CHyFkCOdiTMw.LIM1Yt3pkJ3BcDa3FldEnJ84VDejVyd50C-lv_xMtBMuGk90lJaIPOX4ZaMRig0r.cAdCvQnsND_Or5y49BuVx9biXzvDKpjGCpv6YpVx6SQ -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"Vs48cIgfEy6_xP2a","tag":"r3XRdD7blDeHHfOpov6BIA","enc":"A256CBC-HS512"} -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: Pjgke6amvEVhXrDTnAsPEUqjunOq4K3axJGmEHdqh4i-Jpmg6kUMxEIC1J1SKUO1Q5nIXDV5JTq_JfUcat639A -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: jw5eCol2_7CHyFkCOdiTMw -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: LIM1Yt3pkJ3BcDa3FldEnJ84VDejVyd50C-lv_xMtBMuGk90lJaIPOX4ZaMRig0r -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: cAdCvQnsND_Or5y49BuVx9biXzvDKpjGCpv6YpVx6SQ -JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6ImxwanFITW4xdXc5ZXotOXR5bUR1cE51RldINExMQS02WThTaEhldUtROHMiLCJ5IjoicTAxQmlTUjlBMHZrdzlwQzhJSUZWeXZxX0QwbWJEUV9ZSHVQVENNVHBJayIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..RV5r1i1h4OJ02TXL.kyhPVQDbVpL-IB6B5iqEUGlKgMf9Rq191jFXuqPodcliodTETDPP3fhWaQ.YCtJx5FA6mNwEc358PYxpw -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"lpjqHMn1uw9ez-9tymDupNuFWH4LLA-6Y8ShHeuKQ8s","y":"q01BiSR9A0vkw9pC8IIFVyvq_D0mbDQ_YHuPTCMTpIk","crv":"P-256"},"enc":"A256GCM"} -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: RV5r1i1h4OJ02TXL -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: kyhPVQDbVpL-IB6B5iqEUGlKgMf9Rq191jFXuqPodcliodTETDPP3fhWaQ -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: YCtJx5FA6mNwEc358PYxpw -JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6Im9VVTB2R0tYR0xXLWIyVkwiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.v2HmPZ61JE6ln5csqr77ChcMYs6NlvWN_vE9ZKW0sgGGEgpXaSfL1I7vTldD2IERrzhj1I_iwvgS6wMzF_xi4oNbrtRXnR0-.AGkkB7KMKg3SgqVEsKpNQA.NHqy4mTy5J-H3BpqzfqzVgEth79BErJJePL5yYK7JBDgj7ZA8mMI0jnhQgp-Gx5E.sF_rR0D9ovS1SKSfWlNYZ31W0Y71Dfo_22gDDBIo20w -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"oUU0vGKXGLW-b2VL","enc":"A256CBC-HS512"} -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: v2HmPZ61JE6ln5csqr77ChcMYs6NlvWN_vE9ZKW0sgGGEgpXaSfL1I7vTldD2IERrzhj1I_iwvgS6wMzF_xi4oNbrtRXnR0- -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: AGkkB7KMKg3SgqVEsKpNQA -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: NHqy4mTy5J-H3BpqzfqzVgEth79BErJJePL5yYK7JBDgj7ZA8mMI0jnhQgp-Gx5E -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: sF_rR0D9ovS1SKSfWlNYZ31W0Y71Dfo_22gDDBIo20w -JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w -Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} -Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} -Adding extra headers to RS256 > JWS Signature: KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w -Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} -Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} -Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=GGRonAG4u/s/8YUEEis15XMr5Oldqe3YWf8ZYlHruWjxRkgAHS5BcrVbr6Jb3EduXlTa92X8Neo+lT1QTNE9Pb6VhtAn2qOB+HytrnJaljhTrTgHCz6de6gBomLeM1303PoODtp6yuMWVbKmBCCQqwuPJi/3QY0EK0QEPmA7IC0=F9I+7Fl6vGdbmR6P1RMTXmgr8QgpieQa8iPwz3RvMf4=AXeSoWKAjd2eU4+OFDPI4yHGBiodnSn7IaBHkbHJ6GsEiwNGcKwkfnWDz/vagQTw2zrVFww74NUJ2iUqEGt+gktyqMlKWbS7nHfP/JgJVZY3PwWhEOJOWFPvCYJjV/rWC+SWdgP1LaK6m3BNiFQ/J4iLM23EN4vpA92SQkINxDo= - \ No newline at end of file +HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= +HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== +KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= +KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= +KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms +KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== +KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= +GetPasswordHashV1.EqualSaltedPassword (old) > True +GetPasswordHashV2.EqualSaltedPassword (old) > False +GetPasswordHashV2.EqualSaltedPassword (new) > True +GetPasswordHashV2.EqualSaltedPassword (new) > True +---------------------------------------------------------------------------------------------------- +RSA > X509Certificate2.PrivateKey: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSACng +RSA > publicX509Key: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSABCrypt +DSA > X509Certificate2.PrivateKey: is not null +DSA > SignatureAlgorithm.FriendlyName: +DSA > PrivateKey.ToString(): is System.Security.Cryptography.DSACng +DSA > publicX509Key: is not null +DSA > SignatureAlgorithm.FriendlyName: +DSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +DSA > PublicKey.Key.ToString(): System.Security.Cryptography.CryptographicException, プロバイダーの公開キーは無効です。 +privateDSA > is not null +ECDsa > X509Certificate2.PrivateKey: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PrivateKey.ToString(): is System.Security.Cryptography.ECDsaCng +ECDsa > publicX509Key: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +ECDsa > PublicKey.Key.ToString(): is System.Security.Cryptography.ECDsaCng +privateECDsa > is not null +publicECDsa > is not null +ASymCrypt(X509).Enc&Dec > True +DigitalSignX509.Verify(RS256) > True +DigitalSignParam.Verify(RS256) > True +DigitalSignXML.Verify(RS256) > True +DigitalSignParam.Verify(DSA-SHA1) > True +DigitalSignXML.Verify(DSA-SHA1) > True +DigitalSignECDsaX509.Verify(ECDSA-SHA256) > True +DigitalSignParam.Verify(ECDSA-P256) > True +DigitalSignECDsaX509.Verify(ECDSA-SHA512) > True +DigitalSignParam.Verify(ECDSA-P521) > True +---------------------------------------------------------------------------------------------------- +JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} +JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ +JWS_HS256.Verify > True +JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} +JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb +JWS_HS384.Verify > True +JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify > True +JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify with JWK > True +JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} +JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} +JWS_RS256_X509.Verify > True +JWS_RS256_Param.Verify > True +jWS_RS384_XML.Create > JWS Header: {"alg":"RS384","typ":"JWT"} +jWS_RS384_XML.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +jWS_RS384_XML.Create > JWS Signature: shqAjKO-YTBsx6DASpCZW5QtbZWkYC1kYrpZap2eZoNkKVipKekHSnFDoNj3soPMY6hCk5onVOtO9-Ev5_rmJeggEsJ-Vr7JBWRjTc9wRaOmhdXj0wlN_b146TgPTeRTyKeMjeEvp8PiY8hHDKqXHO_b0FeMEwpQU3OBio60AGA +RSA JWK > {"kty":"RSA","alg":"RS384","n":"z0Id6i1UAMLlF8rf5RAtbewG-ncNFFSwK91VXKXqzLPLLK35nxkyQ47zhHXBwtvGcuva3Oe2Nu-xBR33nKrzXPuLb9lvW6T3MnIMU57RyXSKM-nRWWUfgXNrD_r7sa7U5keBjt0l03zVLNRuoPAB9niY2D2N2GH0GMvijRUygq0","e":"AQAB","kid":"dP-zVYRWaQmRfFH2bLdBearWhgmgd3AO4vxdv34FyDN8stXCtz4le8cY1NDYfq7U"} +JWS_RS384_XML.Verify > True +JWS_RS384_Param.Verify > True +JWS_RS512_X509.Create > JWS Header: {"alg":"RS512","typ":"JWT"} +JWS_RS512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS512_X509.Create > JWS Signature: Hu7kkEBidhzIDOT-GDElTyZutarV9q5K29say3_dNNTTkK1QV13r_0wfEg-g52mOXgBHtM0ITiUMz3KkB71RYk6_Ga7GXCxQQGJ-v_aI-49N4pnCZ9CLEehiaZ-76XDSS3VrOlhYEGxGznACMyAF6maxvkJF2kANTTKYk7Z-EZ6T90lD-6C5lOy3h_CEx_WzUoLD2u_4oa2apNFEtMtbRYI50gq4gUSFjFmh2lnm-_xvgLYbruM5Q7VJK5c_8uCu39SetNanCnAps816Ve2JqCRd6XfMQgfsl1Uc4iC26B51dUmR-SXCpOMmlJ3vKC5gFFmX7aY5iaqEKaiR2JAgLA +RSA JWK > {"kty":"RSA","alg":"RS512","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"w8oMM75dlmuzJhKJmh8lS3VtmPxuWPxFk6SlZ0BGOdcE67qkeIDNhHwc1ZDO8_sfqNxBxBXSS6MU96wFO6J_Iw"} +JWS_RS512_X509.Verify > True +JWS_RS512_Param.Verify > True +JWS_ES256_X509.Create > JWS Header: {"alg":"ES256","typ":"JWT"} +JWS_ES256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES256_X509.Create > JWS Signature: FdhyZVwp5zW2SDL72d6yIdtJCSPwnfduiyWYL9XvzyFNrLl8pfdDuY2jR6RT41SRvX8ukbowAzSZJrxK0D35RQ +ECDSA JWK > {"kty":"EC","alg":"ES256","crv":"P-256","x":"qdS3bsts3UXi5p0G71GofUB9ls1fJz_z0dRQw9RZ99A","y":"hX6HISTIiDLt90VDEqGmsMj2kSlGLOcXgXSqz75EhV4","kid":"asm1SGqVczG7zj0saZPKiggv2xwRlb6c23CDCNBqBNA"} +JWS_ES256_X509.Verify > True +JWS_ES256_Param.Verify > True +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.FdhyZVwp5zW2SDL72d6yIdtJCSPwnfduiyWYL9XvzyFNrLl8pfdDuY2jR6RT41SRvX8ukbowAzSZJrxK0D35RQ +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: FdhyZVwp5zW2SDL72d6yIdtJCSPwnfduiyWYL9XvzyFNrLl8pfdDuY2jR6RT41SRvX8ukbowAzSZJrxK0D35RQ +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES384_X509.Create > JWS Header: {"alg":"ES384","typ":"JWT"} +JWS_ES384_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES384_X509.Create > JWS Signature: Y4rg0Z_1ew7Ih3bV1CENag45BWA221TjHAMkY1YSILgWs7e4wnEPq10PnEwIDWOah2sqd_98D1D5KV9tcZ5sMRfZRfuWC7WBvtza9lFrF1A4ZjAzZZ2hJu4WOJWSJqRH +JWS_ES384_X509.Verify > True +ECDSA JWK > {"kty":"EC","alg":"ES384","crv":"P-384","x":"qeyd2iMw8DZT7Yy3KO0mOuok1JBBdMwEuJTa81Upg06fbVbotK8yuhDSVkzSFsw3","y":"thH6faasSDmEO4zeVNdc5LbZJprQmL7JN3NZzYUJmF1GhQEl6QaZh-6f1QhDH0St","kid":"e_kI1ZJ_x9ttzEU_DICgGhJeNK8ghcW3bSl7KFM6eVefpKJHA5ecCowzJw69r9Vr"} +JWS_ES384_X509.Verify > True +JWS_ES384_Param.Verify > False +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Y4rg0Z_1ew7Ih3bV1CENag45BWA221TjHAMkY1YSILgWs7e4wnEPq10PnEwIDWOah2sqd_98D1D5KV9tcZ5sMRfZRfuWC7WBvtza9lFrF1A4ZjAzZZ2hJu4WOJWSJqRH +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES384","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: Y4rg0Z_1ew7Ih3bV1CENag45BWA221TjHAMkY1YSILgWs7e4wnEPq10PnEwIDWOah2sqd_98D1D5KV9tcZ5sMRfZRfuWC7WBvtza9lFrF1A4ZjAzZZ2hJu4WOJWSJqRH +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES512_X509.Create > JWS Header: {"alg":"ES512","typ":"JWT"} +JWS_ES512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES512_X509.Create > JWS Signature: AZnwnyNqkpF1QoU0Iu2eiEQRMI6O-YMMrJXLe8k26w-1uGEx2tLQZr0DLt2IRfML9SbklhlwDAOAqlXJZLZ0-20RAeIsiyHBOJChGktYKsTvQcEicVofispEUHYtiV7eVYeHF_FY07rkw08h3dqq2vdj0XhchQkbgrTAz5CCSPXyBj8F +JWS_ES512_X509.Verify > True +ECDSA JWK > {"kty":"EC","alg":"ES512","crv":"P-521","x":"AQoRdSDzXLfin6CFhLxDOL0_Cfn-QcwgdbMkMGgwTeA4gDIygCOEy4m0eyTmEnjYdBOMN5JtYUiprdZZriAGzrHC","y":"ATj5JBej9ztfsArJLUMCs4edyCgPuItefh7KFGfeefI7YjB-pakcKxzhHZ1h2UhR183bnQ4rrXc71N5WAl3d5BqZ","kid":"OaO51pUD4-aJ8skED2eag0nvd1kfqIwo9BhB86PEZ34PBLE4TiHv6v9LCK20r0c6x06bULLSi84PcldSN2n6DQ"} +JWS_ES512_X509.Verify > True +JWS_ES512_Param.Verify > False +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.AZnwnyNqkpF1QoU0Iu2eiEQRMI6O-YMMrJXLe8k26w-1uGEx2tLQZr0DLt2IRfML9SbklhlwDAOAqlXJZLZ0-20RAeIsiyHBOJChGktYKsTvQcEicVofispEUHYtiV7eVYeHF_FY07rkw08h3dqq2vdj0XhchQkbgrTAz5CCSPXyBj8F +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES512","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: AZnwnyNqkpF1QoU0Iu2eiEQRMI6O-YMMrJXLe8k26w-1uGEx2tLQZr0DLt2IRfML9SbklhlwDAOAqlXJZLZ0-20RAeIsiyHBOJChGktYKsTvQcEicVofispEUHYtiV7eVYeHF_FY07rkw08h3dqq2vdj0XhchQkbgrTAz5CCSPXyBj8F +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.edcrJWqKOfY080tAusvFJzuprNKTeaw7YILvAyDw_909i5aQ16CK6yuZs2tXd_pRp4UON05_jCNSBwOz-qkMptTjO9UX4B0Ln4LN4UUK-44bPdHWsQHA4-T0OyOHtEcemqElnuWGVL32i6-FmA1hA70OvxzF_DKB6JD65bPV4scfwcaAILySeVzq2Efg3y-6Qu5hOySeT8RLhEH1NAxisTI1jWi5-jIpYHlcRBm5LH25YXiyouc3zxaoZ_8g5dC2D6TTP40CdZBV8IO505FvINHqo6cli7LznVcDjR6AVtsPoBXsuP63GtJA-NCCDSAZ5G8YG3SvZ6LBDO035YClyw.tAX-0ka-sV93KBtw.dRlMYVJtyFL-8JjUiv32PPaE58UGkCnTAFIEAO12ZXSOoqiTS5RG74JRHg.oUbGIhaiV9ohBEMIfuoUWg +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: edcrJWqKOfY080tAusvFJzuprNKTeaw7YILvAyDw_909i5aQ16CK6yuZs2tXd_pRp4UON05_jCNSBwOz-qkMptTjO9UX4B0Ln4LN4UUK-44bPdHWsQHA4-T0OyOHtEcemqElnuWGVL32i6-FmA1hA70OvxzF_DKB6JD65bPV4scfwcaAILySeVzq2Efg3y-6Qu5hOySeT8RLhEH1NAxisTI1jWi5-jIpYHlcRBm5LH25YXiyouc3zxaoZ_8g5dC2D6TTP40CdZBV8IO505FvINHqo6cli7LznVcDjR6AVtsPoBXsuP63GtJA-NCCDSAZ5G8YG3SvZ6LBDO035YClyw +JweAlgorithm.xLibTest > JWE Initialization Vector: tAX-0ka-sV93KBtw +JweAlgorithm.xLibTest > JWE Ciphertext: dRlMYVJtyFL-8JjUiv32PPaE58UGkCnTAFIEAO12ZXSOoqiTS5RG74JRHg +JweAlgorithm.xLibTest > JWE Authentication Tag: oUbGIhaiV9ohBEMIfuoUWg +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.MtulbY_m_n7EnWKU2JtGFuZhuoz060YvMHGDo7rLsXziHN0rtVQKKbCHzWd9Z3bp_rSr99YeeVaDcJSw0dPKJ9Kwt9g5vdqVHin7exOUmFRH3ELlwL26xKQFyV_Dvx1zmMHiYC4fBJ8lpruojg2Sp3hafdZKKyEDIf7wdOodQITH8oTLl63pwALqGUCxY7BikQgBMnaR74DfbvlfZaGwuqW3_IEonL-wFORjYN7PMEMMhBv3BVXNuJX50TgEU1irazHslIqDvRKNpnXJnCvZYMQHWLZLii1QLkXKNtsm712D8wki0cVT8P3Eeu9EuXX1ndmu6K30jesksmUZzthfUw.C2rFKhxUYzz3UKPKznOBmg.nJ8T8e6NYk5C14Yy1HoIDslMg9mAUuP-FgB-wOXvQ-Pgy4r1wJ80gVa0OgJnpDRO.ua5QHzHyKDD7UwqlxBZkpg +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: MtulbY_m_n7EnWKU2JtGFuZhuoz060YvMHGDo7rLsXziHN0rtVQKKbCHzWd9Z3bp_rSr99YeeVaDcJSw0dPKJ9Kwt9g5vdqVHin7exOUmFRH3ELlwL26xKQFyV_Dvx1zmMHiYC4fBJ8lpruojg2Sp3hafdZKKyEDIf7wdOodQITH8oTLl63pwALqGUCxY7BikQgBMnaR74DfbvlfZaGwuqW3_IEonL-wFORjYN7PMEMMhBv3BVXNuJX50TgEU1irazHslIqDvRKNpnXJnCvZYMQHWLZLii1QLkXKNtsm712D8wki0cVT8P3Eeu9EuXX1ndmu6K30jesksmUZzthfUw +JweAlgorithm.xLibTest > JWE Initialization Vector: C2rFKhxUYzz3UKPKznOBmg +JweAlgorithm.xLibTest > JWE Ciphertext: nJ8T8e6NYk5C14Yy1HoIDslMg9mAUuP-FgB-wOXvQ-Pgy4r1wJ80gVa0OgJnpDRO +JweAlgorithm.xLibTest > JWE Authentication Tag: ua5QHzHyKDD7UwqlxBZkpg +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. +JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} +JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} +JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.6TPKtvEBm2VHxGa_9fexyxV7_AfAz-eyJORBoxJdy2oI7viElhe_deqp8lM-15lAZmmJU9iIm7u7ykztquH2sQ +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: 6TPKtvEBm2VHxGa_9fexyxV7_AfAz-eyJORBoxJdy2oI7viElhe_deqp8lM-15lAZmmJU9iIm7u7ykztquH2sQ +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.GeRBw5SiQhVB1chhNwVA-xMKmWr6YGkfEY6VTWGGRUGQLmlqpTV6G85v_aJRvw6ob-yVbhZvPmqXJwUtayRalA +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: GeRBw5SiQhVB1chhNwVA-xMKmWr6YGkfEY6VTWGGRUGQLmlqpTV6G85v_aJRvw6ob-yVbhZvPmqXJwUtayRalA +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.kKCM3QOB7PjZXcQmL3XE3HKb2LPsn_HAXS3GpW9t2yrh6frqciP4MHr8S5S9O0BkZlWzf7fUivZ2auyNow7fuBGynihTn9vVOCMKI12k_LCkdnMdgE52rxnr_tfdhqGlikNQvPIiWLxa1q43ywnFvdZvmx5VaRZzCDFyJm9pL1F0e_iXdz4hzybOuOOXN5fQ3hih7PJmtRyos1CEa86wegiTD6BeYIbJgajWuUMw7jLAPllLzbD4m1s-FCCowZyni53HxLCercOu4Oc3t-jzTYZju_apELrPJ7y0RYPcTzU4TSnuEoTtznYUw1Ls-_ceztoNt5j3Mxp-FMIhFXnZPw.GN3QJ5vAsUq3T5XNzLhuWg.DgxbAehLvwTYErc9-wzpeAnND6hVMuAndrmwyKMaIFHnNoEupw471xHGonsdZt-c.S6y4xWqM7OwMfuO66MlM-A +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: kKCM3QOB7PjZXcQmL3XE3HKb2LPsn_HAXS3GpW9t2yrh6frqciP4MHr8S5S9O0BkZlWzf7fUivZ2auyNow7fuBGynihTn9vVOCMKI12k_LCkdnMdgE52rxnr_tfdhqGlikNQvPIiWLxa1q43ywnFvdZvmx5VaRZzCDFyJm9pL1F0e_iXdz4hzybOuOOXN5fQ3hih7PJmtRyos1CEa86wegiTD6BeYIbJgajWuUMw7jLAPllLzbD4m1s-FCCowZyni53HxLCercOu4Oc3t-jzTYZju_apELrPJ7y0RYPcTzU4TSnuEoTtznYUw1Ls-_ceztoNt5j3Mxp-FMIhFXnZPw +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: GN3QJ5vAsUq3T5XNzLhuWg +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: DgxbAehLvwTYErc9-wzpeAnND6hVMuAndrmwyKMaIFHnNoEupw471xHGonsdZt-c +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: S6y4xWqM7OwMfuO66MlM-A +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.GnmWpfccMRweSdfgnpiEwlhmEAqGMDnwMG4RryLDoHS3SkhhOJ-FVeMUVUoeuIEsXbR_Ea5qg7p9TziXaH8EwiQcClkAkgdn0Fmo51IQ2CoRnleGbF9ysq7Ppr5urPozDvBO9mDrIbAwBY4Q0OVlVio7VUo5sg7UVkM42aR3M7k-KJdyoJLQsHkF6skSyLnajNs9Gc5iozXmK5fpcYqTVhgl0PdazntTxQuvN1ileg5yORvveQ-0zOR4oa0udyJULTeAjWhEfYEopLihNAnGGWj7P_GdvnGCw9W_Y8OMXnR3GJw76l82sWdB53KZlNLtjXWJo37oKQjnWuvjcqtpEw.A2aMGxvBXSlRNG9C.s4J3soaCmwKTJzR2KsxOIuvT5Bj4fevMCtQ6ky4tNB7ZJzqW8HH1hP3qbA.ha1fZH4ofYZlGxYMBf1Xaw +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: GnmWpfccMRweSdfgnpiEwlhmEAqGMDnwMG4RryLDoHS3SkhhOJ-FVeMUVUoeuIEsXbR_Ea5qg7p9TziXaH8EwiQcClkAkgdn0Fmo51IQ2CoRnleGbF9ysq7Ppr5urPozDvBO9mDrIbAwBY4Q0OVlVio7VUo5sg7UVkM42aR3M7k-KJdyoJLQsHkF6skSyLnajNs9Gc5iozXmK5fpcYqTVhgl0PdazntTxQuvN1ileg5yORvveQ-0zOR4oa0udyJULTeAjWhEfYEopLihNAnGGWj7P_GdvnGCw9W_Y8OMXnR3GJw76l82sWdB53KZlNLtjXWJo37oKQjnWuvjcqtpEw +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: A2aMGxvBXSlRNG9C +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: s4J3soaCmwKTJzR2KsxOIuvT5Bj4fevMCtQ6ky4tNB7ZJzqW8HH1hP3qbA +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: ha1fZH4ofYZlGxYMBf1Xaw +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..QVrifvtI6I5Ooo9TD4zhXA.Fi6y6jUXoIhF-ewFpjpunvykW32AuSsg19ucWGcKBe41s7mlurF_YrS9-xEkyjkq.nkhS-2r8JYDiWAnwKg3inQ +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: QVrifvtI6I5Ooo9TD4zhXA +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: Fi6y6jUXoIhF-ewFpjpunvykW32AuSsg19ucWGcKBe41s7mlurF_YrS9-xEkyjkq +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: nkhS-2r8JYDiWAnwKg3inQ +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.I53ooLjzbWEV1c5y53IPg_J18hmJY7MXT_tdTPmJwqP1qZrM0xGiE-Z-V8X_nPpuRYgTfn184cmkaZ7n_dyzejPha9mWLRaM.zuo1PwH-b-c0plvEFtUMBg.bDmhsw1maPd2n3rBNqGqLJOBtWvpjZwyeHQIVO7roT08oweVA22XxCZOy4rpgeNC.4Bcb4-P2IayzjV4lKOkLGFZJ_4W-wO_f3ic2hIirZIw +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: I53ooLjzbWEV1c5y53IPg_J18hmJY7MXT_tdTPmJwqP1qZrM0xGiE-Z-V8X_nPpuRYgTfn184cmkaZ7n_dyzejPha9mWLRaM +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: zuo1PwH-b-c0plvEFtUMBg +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: bDmhsw1maPd2n3rBNqGqLJOBtWvpjZwyeHQIVO7roT08oweVA22XxCZOy4rpgeNC +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: 4Bcb4-P2IayzjV4lKOkLGFZJ_4W-wO_f3ic2hIirZIw +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6IkQ2bUVlLXV3bUw1VEV3dUEiLCJ0YWciOiJOMGRSQV9JUEhhQndjeG9WT3BFYjlBIiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.14yQsB8He2E6eRQTLWaFKyXG6KHtHoWNBswgJfmbDd93g1ioi_ukxXsgo9WSqxme0m-WoVenxSOhZJwk9s6Zrw.6tyAe7zEnsAMIzF_1z_9Nw.sg5995L8QkvHBRoUr4rzNVUhIv-AdNSzgQozFPpAV-9rwbQsrKaO2TJILNGTuKjK.dzRekdA9FNlluMu3hZF9nJWgtxLWWl1gJIUnjMjywJU +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"D6mEe-uwmL5TEwuA","tag":"N0dRA_IPHaBwcxoVOpEb9A","enc":"A256CBC-HS512"} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 14yQsB8He2E6eRQTLWaFKyXG6KHtHoWNBswgJfmbDd93g1ioi_ukxXsgo9WSqxme0m-WoVenxSOhZJwk9s6Zrw +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: 6tyAe7zEnsAMIzF_1z_9Nw +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: sg5995L8QkvHBRoUr4rzNVUhIv-AdNSzgQozFPpAV-9rwbQsrKaO2TJILNGTuKjK +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: dzRekdA9FNlluMu3hZF9nJWgtxLWWl1gJIUnjMjywJU +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > Original:eyJhbGciOiJFQ0RILUVTIiwiZXBrIjp7Imt0eSI6IkVDIiwieCI6IldwbGRSQkJBWktxSktncndpMk56UGplRHdCek1tY09Dd1ZYWUFSb3hqSFUiLCJ5IjoiSUdCRXZXUEtCZEdDQUtoOVc3NVg0bHRXelg0YThJbVR6RW9fb2hlOXVUTSIsImNydiI6IlAtMjU2In0sImVuYyI6IkEyNTZHQ00ifQ..EcC8NIJuuSwfBLOR.u8-_yuTuxDd89ZfP7PumVfgMaqFPJ6Rm5DSfiJZAgSUnEyXg0gHK5HwGwg.g1L4cz-kr2uBf-Tcn_K9cA +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Header: {"alg":"ECDH-ES","epk":{"kty":"EC","x":"WpldRBBAZKqJKgrwi2NzPjeDwBzMmcOCwVXYARoxjHU","y":"IGBEvWPKBdGCAKh9W75X4ltWzX4a8ImTzEo_ohe9uTM","crv":"P-256"},"enc":"A256GCM"} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Encrypted Key: +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Initialization Vector: EcC8NIJuuSwfBLOR +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Ciphertext: u8-_yuTuxDd89ZfP7PumVfgMaqFPJ6Rm5DSfiJZAgSUnEyXg0gHK5HwGwg +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > JWE Authentication Tag: g1L4cz-kr2uBf-Tcn_K9cA +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.Security.Cryptography.CryptographicException, キーがありません。 +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6IlJ2VmZvc1Nua0Vxb3FpMFEiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.3PB8TgWzRJbc__0yLUZ8KFnmFvTJbhNcHm7K523OjNUIDkFRP7nMIn8PQkbWf4eB8sTAArTotqeXSAN8sC8M7TSS_TkRCCAJ.zNB4bHGogG5K3mdQnG7_Rg.TS0HPoeZo6J9pgu6udaXfggeBvN13ppquLXqbF5OqSUbA3H-r69sd0yVN1urTNOF.SOj1Cl58MzoMN3Itu5vzoiotjPS3hudXlZ4XBXYgo8s +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"RvVfosSnkEqoqi0Q","enc":"A256CBC-HS512"} +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: 3PB8TgWzRJbc__0yLUZ8KFnmFvTJbhNcHm7K523OjNUIDkFRP7nMIn8PQkbWf4eB8sTAArTotqeXSAN8sC8M7TSS_TkRCCAJ +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: zNB4bHGogG5K3mdQnG7_Rg +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: TS0HPoeZo6J9pgu6udaXfggeBvN13ppquLXqbF5OqSUbA3H-r69sd0yVN1urTNOF +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: SOj1Cl58MzoMN3Itu5vzoiotjPS3hudXlZ4XBXYgo8s +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w +Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} +Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > JWS Signature: KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w +Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} +Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=GBYFP0HPapV9CBUVsWWnokOhEWkJeTIVf8U3hy3DxPNUiqungv6jcfVmYPEazzjkSkxvVEEPZZ8tCr6fiWHl2Mlm/9zMwfFDX3pxsNirtkAMTk73xwajGw6SB+NQiA1NgG21TabU4S6CVoQGdW9zAUSYqQ/K/6b8uu+z26uEad0=gOyUYjJl2u0ljtYCKT6it/xfIC45SQUR6RUTq6ngLk4=saT83xL1EoONw2q22s+t1k6vO29mt/znMYNChyOUhJPsY5VWpwWPBBkYEPCFZGLMK2pz6yyv3b3AbyfueGL+kf43ePkOzCeZlYx87j3bG6nKT1FEsIl89LUdVSv+x76WrZM73tb4ZOeQKbF03WIrwHmVyp0OmPuZyeCpnof7/Sk= diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core80/EncAndDecUtilCUICore.csproj b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core100/EncAndDecUtilCUICore.csproj similarity index 89% rename from root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core80/EncAndDecUtilCUICore.csproj rename to root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core100/EncAndDecUtilCUICore.csproj index 89cb25677..0e14bdc55 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core80/EncAndDecUtilCUICore.csproj +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core100/EncAndDecUtilCUICore.csproj @@ -3,7 +3,7 @@ Exe $(NoWarn);NU1605 - net8.0 + net10.0 @@ -19,8 +19,6 @@ - - @@ -96,10 +94,10 @@ - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/net48/EncAndDecUtilCUIFx.csproj b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/net48/EncAndDecUtilCUIFx.csproj index e2d87ed09..9ee7fe632 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/net48/EncAndDecUtilCUIFx.csproj +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/net48/EncAndDecUtilCUIFx.csproj @@ -33,6 +33,9 @@ prompt 4 + + true + ..\..\..\Infrastructure\Build_net48\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt index e9638b6c6..7aedc7544 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt +++ b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatch48.txt @@ -69,7 +69,7 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/08/01 12:38:57,643],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%- +[2025/11/18 15:19:08,286],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%- log4net: configuring repository [log4net-default-repository] using stream log4net: loading XML configuration log4net: Configuring Repository [log4net-default-repository] @@ -144,6 +144,6 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/08/01 12:38:57,839],[INFO ],[1],127,63,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: -[2025/08/01 12:38:57,841],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%-,182,94 +[2025/11/18 15:19:08,522],[INFO ],[1],153,109,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: +[2025/11/18 15:19:08,523],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatch\bin\Debug\SimpleBatch.exe,-,SelectCount,SQL%individual%static%-,214,172 3件のデータがあります diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore100.txt similarity index 97% rename from root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt rename to root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore100.txt index af50507be..6c070d34d 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore80.txt +++ b/root/programs/CS/Frameworks/Tests/TestBatch/ResultSimpleBatchCore100.txt @@ -69,7 +69,7 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/08/01 12:39:42,719],[INFO ],[1],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%- +[2025/11/18 15:19:19,105],[INFO ],[2],,,,----->>,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net10.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%- log4net: configuring repository [log4net-default-repository] using stream log4net: loading XML configuration log4net: Configuring Repository [log4net-default-repository] @@ -144,6 +144,6 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/08/01 12:39:42,799],[INFO ],[1],46,,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: -[2025/08/01 12:39:42,800],[INFO ],[1],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%-,66, +[2025/11/18 15:19:19,225],[INFO ],[2],67,,[commandText]:SELECT COUNT(*) FROM Shippers [commandParameter]: +[2025/11/18 15:19:19,227],[INFO ],[2],,,,<<-----,C:\OpenTouryo\root\programs\CS\Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net10.0\SimpleBatchCore.dll,-,SelectCount,SQL%individual%static%-,97, 3件のデータがあります diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SimpleBatch.sln b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SimpleBatch.sln index abe718327..016e35d26 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SimpleBatch.sln +++ b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatch/SimpleBatch.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBatch", "SimpleBatch.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.csproj b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.csproj index c5cfe9bef..3107c6493 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.csproj +++ b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 SimpleBatchCore SimpleBatchCore @@ -25,28 +25,27 @@ - - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.sln b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.sln index e935816af..172653244 100644 --- a/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.sln +++ b/root/programs/CS/Frameworks/Tests/TestBatch/SimpleBatchCore/SimpleBatchCore.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleBatchCore", "SimpleBatchCore.csproj", "{4E1E7400-A012-49E2-8D28-A361F0E1BEE2}" EndProject diff --git a/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt b/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt index 555e4d41f..bd93ca737 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt +++ b/root/programs/CS/Frameworks/Tests/TestCode/Result48.txt @@ -70,11 +70,11 @@ log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.Level log4net: Created Appender [OPERATION2] log4net: Adding appender named [OPERATION2] to logger [OPERATION]. log4net: Hierarchy Threshold [] -[2025/08/01 12:38:08,484],[DEBUG],[1],LogIF.DebugLog("ACCESS"); -[2025/08/01 12:38:08,497],[INFO ],[1],LogIF.InfoLog("ACCESS"); -[2025/08/01 12:38:08,497],[WARN ],[1],LogIF.WarnLog("ACCESS"); -[2025/08/01 12:38:08,498],[ERROR],[1],LogIF.ErrorLog("ACCESS"); -[2025/08/01 12:38:08,498],[FATAL],[1],LogIF.FatalLog("ACCESS"); +[2025/11/18 15:17:57,158],[DEBUG],[1],LogIF.DebugLog("ACCESS"); +[2025/11/18 15:17:57,174],[INFO ],[1],LogIF.InfoLog("ACCESS"); +[2025/11/18 15:17:57,175],[WARN ],[1],LogIF.WarnLog("ACCESS"); +[2025/11/18 15:17:57,175],[ERROR],[1],LogIF.ErrorLog("ACCESS"); +[2025/11/18 15:17:57,175],[FATAL],[1],LogIF.FatalLog("ACCESS"); ---------------------------------------------------------------------------------------------------- GetMessage: ~メッセージID:I0001に対応する記述(正常系)~ GetMessage: ~メッセージID:E0001に対応する記述(異常系)~ diff --git a/root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt b/root/programs/CS/Frameworks/Tests/TestCode/ResultCore100.txt similarity index 95% rename from root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt rename to root/programs/CS/Frameworks/Tests/TestCode/ResultCore100.txt index aca3a34c5..f223484f4 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/ResultCore80.txt +++ b/root/programs/CS/Frameworks/Tests/TestCode/ResultCore100.txt @@ -1,2323 +1,2323 @@ ----------------------------------------------------------------------------------------------------- -log4net: Configuration update mode [Merge]. -log4net: Retrieving an instance of log4net.Repository.Logger for logger [ACCESS]. -log4net: Setting [ACCESS] additivity to [True]. -log4net: Logger [ACCESS] Level string is [All]. -log4net: Logger [ACCESS] level set to [name="ALL",value=-2147483648]. -log4net: Loading Appender [ACCESS2] type: [log4net.Appender.ConsoleAppender] -log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Setting Property [ConversionPattern] to String value [[%date{yyyy/MM/dd HH:mm:ss,fff}],[%-5level],[%thread],%message%newline] -log4net: Converter [literal] Option [[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [date] Option [yyyy/MM/dd HH:mm:ss,fff] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [level] Option [] Format [min=5,max=2147483647,leftAlign=True] -log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [thread] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [literal] Option [],] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Setting Property [Layout] to object [log4net.Layout.PatternLayout] -log4net: Setting Property [LevelMin] to Level value [DEBUG] -log4net: Setting Property [LevelMax] to Level value [FATAL] -log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.LevelRangeFilter] -log4net: Created Appender [ACCESS2] -log4net: Adding appender named [ACCESS2] to logger [ACCESS]. -log4net: Retrieving an instance of log4net.Repository.Logger for logger [SQLTRACE]. -log4net: Setting [SQLTRACE] additivity to [True]. -log4net: Logger [SQLTRACE] Level string is [All]. -log4net: Logger [SQLTRACE] level set to [name="ALL",value=-2147483648]. -log4net: Loading Appender [SQLTRACE2] type: [log4net.Appender.ConsoleAppender] -log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Setting Property [ConversionPattern] to String value [[%date{yyyy/MM/dd HH:mm:ss,fff}],[%-5level],[%thread],%message%newline] -log4net: Converter [literal] Option [[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [date] Option [yyyy/MM/dd HH:mm:ss,fff] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [level] Option [] Format [min=5,max=2147483647,leftAlign=True] -log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [thread] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [literal] Option [],] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Setting Property [Layout] to object [log4net.Layout.PatternLayout] -log4net: Setting Property [LevelMin] to Level value [DEBUG] -log4net: Setting Property [LevelMax] to Level value [FATAL] -log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.LevelRangeFilter] -log4net: Created Appender [SQLTRACE2] -log4net: Adding appender named [SQLTRACE2] to logger [SQLTRACE]. -log4net: Retrieving an instance of log4net.Repository.Logger for logger [OPERATION]. -log4net: Setting [OPERATION] additivity to [True]. -log4net: Logger [OPERATION] Level string is [All]. -log4net: Logger [OPERATION] level set to [name="ALL",value=-2147483648]. -log4net: Loading Appender [OPERATION2] type: [log4net.Appender.ConsoleAppender] -log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Setting Property [ConversionPattern] to String value [[%date{yyyy/MM/dd HH:mm:ss,fff}],[%-5level],[%thread],%message%newline] -log4net: Converter [literal] Option [[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [date] Option [yyyy/MM/dd HH:mm:ss,fff] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [level] Option [] Format [min=5,max=2147483647,leftAlign=True] -log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [thread] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [literal] Option [],] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] -log4net: Setting Property [Layout] to object [log4net.Layout.PatternLayout] -log4net: Setting Property [LevelMin] to Level value [DEBUG] -log4net: Setting Property [LevelMax] to Level value [FATAL] -log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.LevelRangeFilter] -log4net: Created Appender [OPERATION2] -log4net: Adding appender named [OPERATION2] to logger [OPERATION]. -log4net: Hierarchy Threshold [] -[2025/08/01 12:38:11,608],[DEBUG],[1],LogIF.DebugLog("ACCESS"); -[2025/08/01 12:38:11,628],[INFO ],[1],LogIF.InfoLog("ACCESS"); -[2025/08/01 12:38:11,628],[WARN ],[1],LogIF.WarnLog("ACCESS"); -[2025/08/01 12:38:11,629],[ERROR],[1],LogIF.ErrorLog("ACCESS"); -[2025/08/01 12:38:11,629],[FATAL],[1],LogIF.FatalLog("ACCESS"); ----------------------------------------------------------------------------------------------------- -GetMessage: ~メッセージID:I0001に対応する記述(正常系)~ -GetMessage: ~メッセージID:E0001に対応する記述(異常系)~ --------------------------------------------------- -GetSharedProperty: てすと1 -GetSharedProperty: てすと3 ----------------------------------------------------------------------------------------------------- -StringChecker.IsNumbers - あああ: False -StringChecker.IsNumbers - 111: True -StringChecker.IsNumbers_Hankaku - あああ: False -StringChecker.IsNumbers_Hankaku - 111111: True -StringChecker.IsNumbers_Zenkaku - あああ: False -StringChecker.IsNumbers_Zenkaku - 111: True ----------------------------------------------------------------------------------------------------- -StringChecker.IsAlphabet - あああ: False -StringChecker.IsAlphabet - aaa: True -StringChecker.IsAlphabet_Hankaku - あああ: False -StringChecker.IsAlphabet_Hankaku - aaaaaa: True -StringChecker.IsAlphabet_Zenkaku - あああ: False -StringChecker.IsAlphabet_Zenkaku - aaa: True ----------------------------------------------------------------------------------------------------- -StringChecker.IsHiragana - aaa: False -StringChecker.IsHiragana - あああ: True ----------------------------------------------------------------------------------------------------- -StringChecker.IsKatakana - あああ: False -StringChecker.IsKatakana - アアア: True -StringChecker.IsKatakana_Zenkaku - あああ: False -StringChecker.IsKatakana_Zenkaku - アアア: True -StringChecker.IsKatakana_Zenkaku - アアア: False -StringChecker.IsKatakana_Zenkaku - アアアアアア: True ----------------------------------------------------------------------------------------------------- -StringChecker.IsKanji - あああ: False -StringChecker.IsKanji - 亜亜亜: True ----------------------------------------------------------------------------------------------------- -StringChecker.IsShift_Jis - 鱓鱓鱓: False -StringChecker.IsShift_Jis - 亜亜亜: True -StringChecker.IsShift_Jis_Zenkaku - aaaaaa: False -StringChecker.IsShift_Jis_Zenkaku - 亜亜亜: True -StringChecker.IsShift_Jis_Hankaku - aaa: False -StringChecker.IsShift_Jis_Hankaku - aaaaaa: True ----------------------------------------------------------------------------------------------------- -TestFormatChecker.IsJpZipCode -JpZipCode_Hyphen -000-0000: True -aaa-aaaa: False -0000-00000: False -0000-0000: False -000-00000: False -00-000: False -00-0000: False -000-000: False -JpZipKuCode1_Hyphen -000-00: True -aaa-aa: False -0000-000: False -0000-00: False -000-000: False -00-0: False -00-00: False -000-0: False -JpZipKuCode2_Hyphen -000: True -aaa: False -0000: False -00: False -JpZipCode_NoHyphen -0000000: True -aaaaaaa: False -00000000: False -000000: False -JpZipKuCode1_NoHyphen -00000: True -aaaaa: False -000000: False -0000: False -JpZipKuCode2_NoHyphen -000: True -aaa: False -0000: False -00: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode_Hyphen -JpZipCode_Hyphen -000-0000: True -aaa-aaaa: False -0000-00000: False -0000-0000: False -000-00000: False -00-000: False -00-0000: False -000-000: False -JpZipKuCode1_Hyphen -000-00: True -aaa-aa: False -0000-000: False -0000-00: False -000-000: False -00-0: False -00-00: False -000-0: False -JpZipKuCode2_Hyphen -000: True -aaa: False -0000: False -00: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode_NoHyphen -JpZipCode_NoHyphen -0000000: True -aaaaaaa: False -00000000: False -000000: False -JpZipKuCode1_NoHyphen -00000: True -aaaaa: False -000000: False -0000: False -JpZipKuCode2_NoHyphen -000: True -aaa: False -0000: False -00: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode7 -JpZipCode_Hyphen -000-0000: True -aaa-aaaa: False -0000-00000: False -0000-0000: False -000-00000: False -00-000: False -00-0000: False -000-000: False -JpZipCode_NoHyphen -0000000: True -aaaaaaa: False -00000000: False -000000: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode7_Hyphen -JpZipCode_Hyphen -000-0000: True -aaa-aaaa: False -0000-00000: False -0000-0000: False -000-00000: False -00-000: False -00-0000: False -000-000: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode7_NoHyphen -JpZipCode_NoHyphen -0000000: True -aaaaaaa: False -00000000: False -000000: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode5 -JpZipKuCode1_Hyphen -000-00: True -aaa-aa: False -0000-000: False -0000-00: False -000-000: False -00-0: False -00-00: False -000-0: False -JpZipKuCode2_Hyphen -000: True -aaa: False -0000: False -00: False -JpZipKuCode1_NoHyphen -00000: True -aaaaa: False -000000: False -0000: False -JpZipKuCode2_NoHyphen -000: True -aaa: False -0000: False -00: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode5_Hyphen -JpZipKuCode1_Hyphen -000-00: True -aaa-aa: False -0000-000: False -0000-00: False -000-000: False -00-0: False -00-00: False -000-0: False -JpZipKuCode2_Hyphen -000: True -aaa: False -0000: False -00: False --------------------------------------------------- -TestFormatChecker.IsJpZipCode5_NoHyphen -JpZipKuCode1_NoHyphen -00000: True -aaaaa: False -000000: False -0000: False -JpZipKuCode2_NoHyphen -000: True -aaa: False -0000: False -00: False --------------------------------------------------- -TestFormatChecker.IsJpTelephoneNumber -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: True -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: True -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: True -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: True -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: True -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: True -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: True -020-999-9999: True -020-9999-999: False -060-9999-9999: True -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: True -060-999-9999: True -060-9999-999: False -070-9999-9999: True -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: True -070-999-9999: True -070-9999-999: False -080-9999-9999: True -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: True -080-999-9999: True -080-9999-999: False -090-9999-9999: True -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: True -090-999-9999: True -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: True -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: True -06099999999: True -07099999999: True -08099999999: True -09099999999: True -01099999999: False -03099999999: False -04099999999: False -05099999999: True -JpIpPhoneNumber_Hyphen -050-9999-9999: True -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: True -050-999-9999: True -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: True -030-9999-9999: False -040-9999-9999: False -060-9999-9999: True -070-9999-9999: True -080-9999-9999: True -090-9999-9999: True -JpIpPhoneNumber_NoHyphen -05099999999: True -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: True -01099999999: False -02099999999: True -03099999999: False -04099999999: False -06099999999: True -07099999999: True -08099999999: True -09099999999: True --------------------------------------------------- -TestFormatChecker.IsJpTelephoneNumber_Hyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: True -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: True -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: True -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: True -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: True -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: True -020-999-9999: True -020-9999-999: False -060-9999-9999: True -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: True -060-999-9999: True -060-9999-999: False -070-9999-9999: True -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: True -070-999-9999: True -070-9999-999: False -080-9999-9999: True -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: True -080-999-9999: True -080-9999-999: False -090-9999-9999: True -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: True -090-999-9999: True -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: True -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: True -050-999-9999: True -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: True -030-9999-9999: False -040-9999-9999: False -060-9999-9999: True -070-9999-9999: True -080-9999-9999: True -090-9999-9999: True -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpTelephoneNumber_NoHyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: True -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: True -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: True -06099999999: True -07099999999: True -08099999999: True -09099999999: True -01099999999: False -03099999999: False -04099999999: False -05099999999: True -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: True -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: True -01099999999: False -02099999999: True -03099999999: False -04099999999: False -06099999999: True -07099999999: True -08099999999: True -09099999999: True --------------------------------------------------- -TestFormatChecker.IsJpFixedLinePhoneNumber -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: True -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: True -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: True -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: True -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: True -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: True -020-999-9999: True -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: True -060-999-9999: True -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: True -070-999-9999: True -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: True -080-999-9999: True -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: True -090-999-9999: True -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: True -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: True -050-999-9999: True -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: True -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpFixedLinePhoneNumber_Hyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: True -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: True -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: True -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: True -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: True -020-999-9999: True -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: True -060-999-9999: True -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: True -070-999-9999: True -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: True -080-999-9999: True -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: True -090-999-9999: True -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: True -050-999-9999: True -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpFixedLinePhoneNumber_NoHyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: True -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: True -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: True -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpCellularPhoneNumber -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: True -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: True -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: True -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: True -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: True -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: True -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: True -07099999999: True -08099999999: True -09099999999: True -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: True -030-9999-9999: False -040-9999-9999: False -060-9999-9999: True -070-9999-9999: True -080-9999-9999: True -090-9999-9999: True -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: True -03099999999: False -04099999999: False -06099999999: True -07099999999: True -08099999999: True -09099999999: True --------------------------------------------------- -TestFormatChecker.IsJpCellularPhoneNumber_Hyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: True -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: True -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: True -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: True -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: True -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: True -030-9999-9999: False -040-9999-9999: False -060-9999-9999: True -070-9999-9999: True -080-9999-9999: True -090-9999-9999: True -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpCellularPhoneNumber_NoHyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: True -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: True -07099999999: True -08099999999: True -09099999999: True -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: True -03099999999: False -04099999999: False -06099999999: True -07099999999: True -08099999999: True -09099999999: True --------------------------------------------------- -TestFormatChecker.IsJpIpPhoneNumber -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: True -JpIpPhoneNumber_Hyphen -050-9999-9999: True -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: True -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpIpPhoneNumber_Hyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: False -JpIpPhoneNumber_Hyphen -050-9999-9999: True -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: False -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False --------------------------------------------------- -TestFormatChecker.IsJpIpPhoneNumber_NoHyphen -JpFixedLinePhoneNumber_Hyphen -09999-9-9999: False -99999-9-9999: False -0aaaa-a-aaaa: False -099999-9-9999: False -09999-99-9999: False -09999-9-99999: False -0999--999: False -0999-9-9999: False -09999--9999: False -09999-9-999: False -0999-99-9999: False -9999-99-9999: False -0aaa-aa-aaaa: False -09999-999-99999: False -09999-99-9999: False -0999-999-9999: False -0999-99-99999: False -099-9-999: False -099-99-9999: False -0999-9-9999: False -0999-99-999: False -099-999-9999: False -999-999-9999: False -0aa-aaa-aaaa: False -0999-9999-99999: False -0999-999-9999: False -099-9999-9999: False -099-999-99999: False -09-99-999: False -09-999-9999: False -099-99-9999: False -099-999-999: False -09-9999-9999: False -99-9999-9999: False -0a-aaaa-aaaa: False -099-99999-99999: False -099-9999-9999: False -09-99999-9999: False -09-9999-99999: False -0-999-999: False -0-9999-9999: False -09-999-9999: False -09-9999-999: False -JpFixedLinePhoneNumber_NoHyphen -0999999999: False -9999999999: False -0aaaaaaaaa: False -09999999999: False -099999999: False -JpCellularPhoneNumber_Hyphen -020-9999-9999: False -929-9999-9999: False -020-aaaa-aaaa: False -0209-99999-99999: False -0209-9999-9999: False -020-99999-9999: False -020-9999-99999: False -02-999-999: False -02-9999-9999: False -020-999-9999: False -020-9999-999: False -060-9999-9999: False -969-9999-9999: False -060-aaaa-aaaa: False -0609-99999-99999: False -0609-9999-9999: False -060-99999-9999: False -060-9999-99999: False -06-999-999: False -06-9999-9999: False -060-999-9999: False -060-9999-999: False -070-9999-9999: False -979-9999-9999: False -070-aaaa-aaaa: False -0709-99999-99999: False -0709-9999-9999: False -070-99999-9999: False -070-9999-99999: False -07-999-999: False -07-9999-9999: False -070-999-9999: False -070-9999-999: False -080-9999-9999: False -989-9999-9999: False -080-aaaa-aaaa: False -0809-99999-99999: False -0809-9999-9999: False -080-99999-9999: False -080-9999-99999: False -08-999-999: False -08-9999-9999: False -080-999-9999: False -080-9999-999: False -090-9999-9999: False -999-9999-9999: False -090-aaaa-aaaa: False -0909-99999-99999: False -0909-9999-9999: False -090-99999-9999: False -090-9999-99999: False -09-999-999: False -09-9999-9999: False -090-999-9999: False -090-9999-999: False -JpCellularPhoneNumber_NoHyphen -02099999999: False -92999999999: False -020aaaaaaaa: False -020999999999: False -0209999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False -01099999999: False -03099999999: False -04099999999: False -05099999999: True -JpIpPhoneNumber_Hyphen -050-9999-9999: False -959-9999-9999: False -050-aaaa-aaaa: False -0509-99999-99999: False -0509-9999-9999: False -050-99999-9999: False -050-9999-99999: False -05-999-999: False -05-9999-9999: False -050-999-9999: False -050-9999-999: False -9999999999999: False -010-9999-9999: False -020-9999-9999: False -030-9999-9999: False -040-9999-9999: False -060-9999-9999: False -070-9999-9999: False -080-9999-9999: False -090-9999-9999: False -JpIpPhoneNumber_NoHyphen -05099999999: True -95999999999: False -050aaaaaaaa: False -050999999999: False -0509999999: False -01099999999: False -02099999999: False -03099999999: False -04099999999: False -06099999999: False -07099999999: False -08099999999: False -09099999999: False ----------------------------------------------------------------------------------------------------- -StringConverter.ToHankaku - アアア: アアア -StringConverter.ToZenkaku - アアア: アアア -StringConverter.ToHiragana - アアア: あああ -StringConverter.ToKatakana - あああ: アアア ----------------------------------------------------------------------------------------------------- -FormatConverter.SeirekiToWareki -1977/4/24, ggy年M月d日(ddd): 昭和52年4月24日(日) -1977/4/24, ggy年M月d日(ddd)H:m:s: 昭和52年4月24日(日)0:0:0 -1977/4/24 19:15:12, ggy年M月d日(ddd): 昭和52年4月24日(日) -1977/4/24 19:15:12, ggy年M月d日(ddd)H:m:s: 昭和52年4月24日(日)19:15:12 -1977/4/24 19:15:12, ggy年M月d日(ddd)tt h:m:s: 昭和52年4月24日(日)午後 7:15:12 -1992/2/6 1:1:1, ggyy年MM月dd日 dddd HH:mm:ss: 平成04年02月06日 木曜日 01:01:01 -1992/2/6 13:1:1, ggyy年MM月dd日 dddd tt hh:mm:ss: 平成04年02月06日 木曜日 午後 01:01:01 --------------------------------------------------- -FormatConverter.WarekiToSeireki -昭和52年4月24日(日), ggy年M月d日(ddd): 1977/04/24 0:00:00 -昭和52年4月24日(日)19:15:12, ggy年M月d日(ddd)H:m:s: 1977/04/24 19:15:12 -昭和52年4月24日(日)午後 7:15:12, ggy年M月d日(ddd)tt h:m:s: 1977/04/24 19:15:12 -平成04年02月06日 木曜日 01:01:01, ggyy年MM月dd日 dddd HH:mm:ss: 1992/02/06 1:01:01 -平成04年02月06日 木曜日 午後 01:01:01, ggyy年MM月dd日 dddd tt hh:mm:ss: 1992/02/06 13:01:01 --------------------------------------------------- -FormatConverter.AddFigure3 -12,345 -123,456,789 -123.45 -12,345.6789 --12,345 --123,456,789 --123.45 --12,345.6789 -12,345 -123,456,789 -123.45 -12,345.6789 --12,345 --123,456,789 --123.45 --12,345.6789 ----------------------------------------------------------------------------------------------------- -FormatConverter.AddFigure4 -1,2345 -1,2345,6789 -123.45 -1,2345.6789 --1,2345 --1,2345,6789 --123.45 --1,2345.6789 -1,2345 -1,2345,6789 -123.45 -1,2345.6789 --1,2345 --1,2345,6789 --123.45 --1,2345.6789 ----------------------------------------------------------------------------------------------------- -FormatConverter.Suppress -"", 10, '@': @@@@@@@@@@ -"123456789", 0, '@': 123456789 -"123456789", 1, '@': 123456789 -"123456789", 5, '@': 123456789 -"123456789", 9, '@': 123456789 -"123456789", 10, '@': @123456789 -"123456789", 11, '@': @@123456789 -"123456789", 20, '@': @@@@@@@@@@@123456789 -"", 10, '@': @@@@@@@@@@ -"123456789", 0, '@': abcdefg -"123456789", 1, '@': abcdefg -"123456789", 5, '@': abcdefg -"123456789", 9, '@': @@abcdefg -"123456789", 10, '@': @@@abcdefg -"123456789", 11, '@': @@@@abcdefg -"123456789", 20, '@': @@@@@@@@@@@@@abcdefg ----------------------------------------------------------------------------------------------------- -CustomEncode.HtmlEncode: " id="txtXXXXX" /><script type="text/javascript">alert("XSS!!!")</script><input name="txtXXXXX" type="text" value=" ----------------------------------------------------------------------------------------------------- -CustomEncode.UrlEncode: http://www.google.co.jp/search?hl=ja&q=%26 -CustomEncode.UrlEncode2: http%3A%2F%2Fwww.google.co.jp%2Fsearch%3Fhl%3Dja%26q%3D%26 -CustomEncode.UrlEncode2: http%3A%2F%2Fwww.google.co.jp%2Fsearch%3Fhl%3Dja%26q%3D%3C%3E ----------------------------------------------------------------------------------------------------- +---------------------------------------------------------------------------------------------------- +log4net: Configuration update mode [Merge]. +log4net: Retrieving an instance of log4net.Repository.Logger for logger [ACCESS]. +log4net: Setting [ACCESS] additivity to [True]. +log4net: Logger [ACCESS] Level string is [All]. +log4net: Logger [ACCESS] level set to [name="ALL",value=-2147483648]. +log4net: Loading Appender [ACCESS2] type: [log4net.Appender.ConsoleAppender] +log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Setting Property [ConversionPattern] to String value [[%date{yyyy/MM/dd HH:mm:ss,fff}],[%-5level],[%thread],%message%newline] +log4net: Converter [literal] Option [[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [date] Option [yyyy/MM/dd HH:mm:ss,fff] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [level] Option [] Format [min=5,max=2147483647,leftAlign=True] +log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [thread] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [literal] Option [],] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Setting Property [Layout] to object [log4net.Layout.PatternLayout] +log4net: Setting Property [LevelMin] to Level value [DEBUG] +log4net: Setting Property [LevelMax] to Level value [FATAL] +log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.LevelRangeFilter] +log4net: Created Appender [ACCESS2] +log4net: Adding appender named [ACCESS2] to logger [ACCESS]. +log4net: Retrieving an instance of log4net.Repository.Logger for logger [SQLTRACE]. +log4net: Setting [SQLTRACE] additivity to [True]. +log4net: Logger [SQLTRACE] Level string is [All]. +log4net: Logger [SQLTRACE] level set to [name="ALL",value=-2147483648]. +log4net: Loading Appender [SQLTRACE2] type: [log4net.Appender.ConsoleAppender] +log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Setting Property [ConversionPattern] to String value [[%date{yyyy/MM/dd HH:mm:ss,fff}],[%-5level],[%thread],%message%newline] +log4net: Converter [literal] Option [[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [date] Option [yyyy/MM/dd HH:mm:ss,fff] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [level] Option [] Format [min=5,max=2147483647,leftAlign=True] +log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [thread] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [literal] Option [],] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Setting Property [Layout] to object [log4net.Layout.PatternLayout] +log4net: Setting Property [LevelMin] to Level value [DEBUG] +log4net: Setting Property [LevelMax] to Level value [FATAL] +log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.LevelRangeFilter] +log4net: Created Appender [SQLTRACE2] +log4net: Adding appender named [SQLTRACE2] to logger [SQLTRACE]. +log4net: Retrieving an instance of log4net.Repository.Logger for logger [OPERATION]. +log4net: Setting [OPERATION] additivity to [True]. +log4net: Logger [OPERATION] Level string is [All]. +log4net: Logger [OPERATION] level set to [name="ALL",value=-2147483648]. +log4net: Loading Appender [OPERATION2] type: [log4net.Appender.ConsoleAppender] +log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Setting Property [ConversionPattern] to String value [[%date{yyyy/MM/dd HH:mm:ss,fff}],[%-5level],[%thread],%message%newline] +log4net: Converter [literal] Option [[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [date] Option [yyyy/MM/dd HH:mm:ss,fff] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [level] Option [] Format [min=5,max=2147483647,leftAlign=True] +log4net: Converter [literal] Option [],[] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [thread] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [literal] Option [],] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [message] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Converter [newline] Option [] Format [min=-1,max=2147483647,leftAlign=False] +log4net: Setting Property [Layout] to object [log4net.Layout.PatternLayout] +log4net: Setting Property [LevelMin] to Level value [DEBUG] +log4net: Setting Property [LevelMax] to Level value [FATAL] +log4net: Setting Collection Property [AddFilter] to object [log4net.Filter.LevelRangeFilter] +log4net: Created Appender [OPERATION2] +log4net: Adding appender named [OPERATION2] to logger [OPERATION]. +log4net: Hierarchy Threshold [] +[2025/11/18 04:03:14,431],[DEBUG],[2],LogIF.DebugLog("ACCESS"); +[2025/11/18 04:03:14,445],[INFO ],[2],LogIF.InfoLog("ACCESS"); +[2025/11/18 04:03:14,445],[WARN ],[2],LogIF.WarnLog("ACCESS"); +[2025/11/18 04:03:14,446],[ERROR],[2],LogIF.ErrorLog("ACCESS"); +[2025/11/18 04:03:14,446],[FATAL],[2],LogIF.FatalLog("ACCESS"); +---------------------------------------------------------------------------------------------------- +GetMessage: ~メッセージID:I0001に対応する記述(正常系)~ +GetMessage: ~メッセージID:E0001に対応する記述(異常系)~ +-------------------------------------------------- +GetSharedProperty: てすと1 +GetSharedProperty: てすと3 +---------------------------------------------------------------------------------------------------- +StringChecker.IsNumbers - あああ: False +StringChecker.IsNumbers - 111: True +StringChecker.IsNumbers_Hankaku - あああ: False +StringChecker.IsNumbers_Hankaku - 111111: True +StringChecker.IsNumbers_Zenkaku - あああ: False +StringChecker.IsNumbers_Zenkaku - 111: True +---------------------------------------------------------------------------------------------------- +StringChecker.IsAlphabet - あああ: False +StringChecker.IsAlphabet - aaa: True +StringChecker.IsAlphabet_Hankaku - あああ: False +StringChecker.IsAlphabet_Hankaku - aaaaaa: True +StringChecker.IsAlphabet_Zenkaku - あああ: False +StringChecker.IsAlphabet_Zenkaku - aaa: True +---------------------------------------------------------------------------------------------------- +StringChecker.IsHiragana - aaa: False +StringChecker.IsHiragana - あああ: True +---------------------------------------------------------------------------------------------------- +StringChecker.IsKatakana - あああ: False +StringChecker.IsKatakana - アアア: True +StringChecker.IsKatakana_Zenkaku - あああ: False +StringChecker.IsKatakana_Zenkaku - アアア: True +StringChecker.IsKatakana_Zenkaku - アアア: False +StringChecker.IsKatakana_Zenkaku - アアアアアア: True +---------------------------------------------------------------------------------------------------- +StringChecker.IsKanji - あああ: False +StringChecker.IsKanji - 亜亜亜: True +---------------------------------------------------------------------------------------------------- +StringChecker.IsShift_Jis - 鱓鱓鱓: False +StringChecker.IsShift_Jis - 亜亜亜: True +StringChecker.IsShift_Jis_Zenkaku - aaaaaa: False +StringChecker.IsShift_Jis_Zenkaku - 亜亜亜: True +StringChecker.IsShift_Jis_Hankaku - aaa: False +StringChecker.IsShift_Jis_Hankaku - aaaaaa: True +---------------------------------------------------------------------------------------------------- +TestFormatChecker.IsJpZipCode +JpZipCode_Hyphen +000-0000: True +aaa-aaaa: False +0000-00000: False +0000-0000: False +000-00000: False +00-000: False +00-0000: False +000-000: False +JpZipKuCode1_Hyphen +000-00: True +aaa-aa: False +0000-000: False +0000-00: False +000-000: False +00-0: False +00-00: False +000-0: False +JpZipKuCode2_Hyphen +000: True +aaa: False +0000: False +00: False +JpZipCode_NoHyphen +0000000: True +aaaaaaa: False +00000000: False +000000: False +JpZipKuCode1_NoHyphen +00000: True +aaaaa: False +000000: False +0000: False +JpZipKuCode2_NoHyphen +000: True +aaa: False +0000: False +00: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode_Hyphen +JpZipCode_Hyphen +000-0000: True +aaa-aaaa: False +0000-00000: False +0000-0000: False +000-00000: False +00-000: False +00-0000: False +000-000: False +JpZipKuCode1_Hyphen +000-00: True +aaa-aa: False +0000-000: False +0000-00: False +000-000: False +00-0: False +00-00: False +000-0: False +JpZipKuCode2_Hyphen +000: True +aaa: False +0000: False +00: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode_NoHyphen +JpZipCode_NoHyphen +0000000: True +aaaaaaa: False +00000000: False +000000: False +JpZipKuCode1_NoHyphen +00000: True +aaaaa: False +000000: False +0000: False +JpZipKuCode2_NoHyphen +000: True +aaa: False +0000: False +00: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode7 +JpZipCode_Hyphen +000-0000: True +aaa-aaaa: False +0000-00000: False +0000-0000: False +000-00000: False +00-000: False +00-0000: False +000-000: False +JpZipCode_NoHyphen +0000000: True +aaaaaaa: False +00000000: False +000000: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode7_Hyphen +JpZipCode_Hyphen +000-0000: True +aaa-aaaa: False +0000-00000: False +0000-0000: False +000-00000: False +00-000: False +00-0000: False +000-000: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode7_NoHyphen +JpZipCode_NoHyphen +0000000: True +aaaaaaa: False +00000000: False +000000: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode5 +JpZipKuCode1_Hyphen +000-00: True +aaa-aa: False +0000-000: False +0000-00: False +000-000: False +00-0: False +00-00: False +000-0: False +JpZipKuCode2_Hyphen +000: True +aaa: False +0000: False +00: False +JpZipKuCode1_NoHyphen +00000: True +aaaaa: False +000000: False +0000: False +JpZipKuCode2_NoHyphen +000: True +aaa: False +0000: False +00: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode5_Hyphen +JpZipKuCode1_Hyphen +000-00: True +aaa-aa: False +0000-000: False +0000-00: False +000-000: False +00-0: False +00-00: False +000-0: False +JpZipKuCode2_Hyphen +000: True +aaa: False +0000: False +00: False +-------------------------------------------------- +TestFormatChecker.IsJpZipCode5_NoHyphen +JpZipKuCode1_NoHyphen +00000: True +aaaaa: False +000000: False +0000: False +JpZipKuCode2_NoHyphen +000: True +aaa: False +0000: False +00: False +-------------------------------------------------- +TestFormatChecker.IsJpTelephoneNumber +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: True +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: True +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: True +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: True +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: True +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: True +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: True +020-999-9999: True +020-9999-999: False +060-9999-9999: True +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: True +060-999-9999: True +060-9999-999: False +070-9999-9999: True +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: True +070-999-9999: True +070-9999-999: False +080-9999-9999: True +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: True +080-999-9999: True +080-9999-999: False +090-9999-9999: True +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: True +090-999-9999: True +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: True +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: True +06099999999: True +07099999999: True +08099999999: True +09099999999: True +01099999999: False +03099999999: False +04099999999: False +05099999999: True +JpIpPhoneNumber_Hyphen +050-9999-9999: True +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: True +050-999-9999: True +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: True +030-9999-9999: False +040-9999-9999: False +060-9999-9999: True +070-9999-9999: True +080-9999-9999: True +090-9999-9999: True +JpIpPhoneNumber_NoHyphen +05099999999: True +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: True +01099999999: False +02099999999: True +03099999999: False +04099999999: False +06099999999: True +07099999999: True +08099999999: True +09099999999: True +-------------------------------------------------- +TestFormatChecker.IsJpTelephoneNumber_Hyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: True +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: True +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: True +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: True +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: True +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: True +020-999-9999: True +020-9999-999: False +060-9999-9999: True +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: True +060-999-9999: True +060-9999-999: False +070-9999-9999: True +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: True +070-999-9999: True +070-9999-999: False +080-9999-9999: True +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: True +080-999-9999: True +080-9999-999: False +090-9999-9999: True +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: True +090-999-9999: True +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: True +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: True +050-999-9999: True +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: True +030-9999-9999: False +040-9999-9999: False +060-9999-9999: True +070-9999-9999: True +080-9999-9999: True +090-9999-9999: True +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpTelephoneNumber_NoHyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: True +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: True +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: True +06099999999: True +07099999999: True +08099999999: True +09099999999: True +01099999999: False +03099999999: False +04099999999: False +05099999999: True +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: True +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: True +01099999999: False +02099999999: True +03099999999: False +04099999999: False +06099999999: True +07099999999: True +08099999999: True +09099999999: True +-------------------------------------------------- +TestFormatChecker.IsJpFixedLinePhoneNumber +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: True +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: True +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: True +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: True +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: True +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: True +020-999-9999: True +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: True +060-999-9999: True +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: True +070-999-9999: True +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: True +080-999-9999: True +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: True +090-999-9999: True +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: True +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: True +050-999-9999: True +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: True +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpFixedLinePhoneNumber_Hyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: True +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: True +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: True +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: True +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: True +020-999-9999: True +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: True +060-999-9999: True +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: True +070-999-9999: True +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: True +080-999-9999: True +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: True +090-999-9999: True +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: True +050-999-9999: True +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpFixedLinePhoneNumber_NoHyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: True +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: True +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: True +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpCellularPhoneNumber +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: True +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: True +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: True +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: True +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: True +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: True +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: True +07099999999: True +08099999999: True +09099999999: True +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: True +030-9999-9999: False +040-9999-9999: False +060-9999-9999: True +070-9999-9999: True +080-9999-9999: True +090-9999-9999: True +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: True +03099999999: False +04099999999: False +06099999999: True +07099999999: True +08099999999: True +09099999999: True +-------------------------------------------------- +TestFormatChecker.IsJpCellularPhoneNumber_Hyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: True +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: True +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: True +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: True +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: True +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: True +030-9999-9999: False +040-9999-9999: False +060-9999-9999: True +070-9999-9999: True +080-9999-9999: True +090-9999-9999: True +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpCellularPhoneNumber_NoHyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: True +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: True +07099999999: True +08099999999: True +09099999999: True +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: True +03099999999: False +04099999999: False +06099999999: True +07099999999: True +08099999999: True +09099999999: True +-------------------------------------------------- +TestFormatChecker.IsJpIpPhoneNumber +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: True +JpIpPhoneNumber_Hyphen +050-9999-9999: True +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: True +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpIpPhoneNumber_Hyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: False +JpIpPhoneNumber_Hyphen +050-9999-9999: True +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: False +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +-------------------------------------------------- +TestFormatChecker.IsJpIpPhoneNumber_NoHyphen +JpFixedLinePhoneNumber_Hyphen +09999-9-9999: False +99999-9-9999: False +0aaaa-a-aaaa: False +099999-9-9999: False +09999-99-9999: False +09999-9-99999: False +0999--999: False +0999-9-9999: False +09999--9999: False +09999-9-999: False +0999-99-9999: False +9999-99-9999: False +0aaa-aa-aaaa: False +09999-999-99999: False +09999-99-9999: False +0999-999-9999: False +0999-99-99999: False +099-9-999: False +099-99-9999: False +0999-9-9999: False +0999-99-999: False +099-999-9999: False +999-999-9999: False +0aa-aaa-aaaa: False +0999-9999-99999: False +0999-999-9999: False +099-9999-9999: False +099-999-99999: False +09-99-999: False +09-999-9999: False +099-99-9999: False +099-999-999: False +09-9999-9999: False +99-9999-9999: False +0a-aaaa-aaaa: False +099-99999-99999: False +099-9999-9999: False +09-99999-9999: False +09-9999-99999: False +0-999-999: False +0-9999-9999: False +09-999-9999: False +09-9999-999: False +JpFixedLinePhoneNumber_NoHyphen +0999999999: False +9999999999: False +0aaaaaaaaa: False +09999999999: False +099999999: False +JpCellularPhoneNumber_Hyphen +020-9999-9999: False +929-9999-9999: False +020-aaaa-aaaa: False +0209-99999-99999: False +0209-9999-9999: False +020-99999-9999: False +020-9999-99999: False +02-999-999: False +02-9999-9999: False +020-999-9999: False +020-9999-999: False +060-9999-9999: False +969-9999-9999: False +060-aaaa-aaaa: False +0609-99999-99999: False +0609-9999-9999: False +060-99999-9999: False +060-9999-99999: False +06-999-999: False +06-9999-9999: False +060-999-9999: False +060-9999-999: False +070-9999-9999: False +979-9999-9999: False +070-aaaa-aaaa: False +0709-99999-99999: False +0709-9999-9999: False +070-99999-9999: False +070-9999-99999: False +07-999-999: False +07-9999-9999: False +070-999-9999: False +070-9999-999: False +080-9999-9999: False +989-9999-9999: False +080-aaaa-aaaa: False +0809-99999-99999: False +0809-9999-9999: False +080-99999-9999: False +080-9999-99999: False +08-999-999: False +08-9999-9999: False +080-999-9999: False +080-9999-999: False +090-9999-9999: False +999-9999-9999: False +090-aaaa-aaaa: False +0909-99999-99999: False +0909-9999-9999: False +090-99999-9999: False +090-9999-99999: False +09-999-999: False +09-9999-9999: False +090-999-9999: False +090-9999-999: False +JpCellularPhoneNumber_NoHyphen +02099999999: False +92999999999: False +020aaaaaaaa: False +020999999999: False +0209999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +01099999999: False +03099999999: False +04099999999: False +05099999999: True +JpIpPhoneNumber_Hyphen +050-9999-9999: False +959-9999-9999: False +050-aaaa-aaaa: False +0509-99999-99999: False +0509-9999-9999: False +050-99999-9999: False +050-9999-99999: False +05-999-999: False +05-9999-9999: False +050-999-9999: False +050-9999-999: False +9999999999999: False +010-9999-9999: False +020-9999-9999: False +030-9999-9999: False +040-9999-9999: False +060-9999-9999: False +070-9999-9999: False +080-9999-9999: False +090-9999-9999: False +JpIpPhoneNumber_NoHyphen +05099999999: True +95999999999: False +050aaaaaaaa: False +050999999999: False +0509999999: False +01099999999: False +02099999999: False +03099999999: False +04099999999: False +06099999999: False +07099999999: False +08099999999: False +09099999999: False +---------------------------------------------------------------------------------------------------- +StringConverter.ToHankaku - アアア: アアア +StringConverter.ToZenkaku - アアア: アアア +StringConverter.ToHiragana - アアア: あああ +StringConverter.ToKatakana - あああ: アアア +---------------------------------------------------------------------------------------------------- +FormatConverter.SeirekiToWareki +1977/4/24, ggy年M月d日(ddd): 昭和52年4月24日(日) +1977/4/24, ggy年M月d日(ddd)H:m:s: 昭和52年4月24日(日)0:0:0 +1977/4/24 19:15:12, ggy年M月d日(ddd): 昭和52年4月24日(日) +1977/4/24 19:15:12, ggy年M月d日(ddd)H:m:s: 昭和52年4月24日(日)19:15:12 +1977/4/24 19:15:12, ggy年M月d日(ddd)tt h:m:s: 昭和52年4月24日(日)午後 7:15:12 +1992/2/6 1:1:1, ggyy年MM月dd日 dddd HH:mm:ss: 平成04年02月06日 木曜日 01:01:01 +1992/2/6 13:1:1, ggyy年MM月dd日 dddd tt hh:mm:ss: 平成04年02月06日 木曜日 午後 01:01:01 +-------------------------------------------------- +FormatConverter.WarekiToSeireki +昭和52年4月24日(日), ggy年M月d日(ddd): 1977/04/24 0:00:00 +昭和52年4月24日(日)19:15:12, ggy年M月d日(ddd)H:m:s: 1977/04/24 19:15:12 +昭和52年4月24日(日)午後 7:15:12, ggy年M月d日(ddd)tt h:m:s: 1977/04/24 19:15:12 +平成04年02月06日 木曜日 01:01:01, ggyy年MM月dd日 dddd HH:mm:ss: 1992/02/06 1:01:01 +平成04年02月06日 木曜日 午後 01:01:01, ggyy年MM月dd日 dddd tt hh:mm:ss: 1992/02/06 13:01:01 +-------------------------------------------------- +FormatConverter.AddFigure3 +12,345 +123,456,789 +123.45 +12,345.6789 +-12,345 +-123,456,789 +-123.45 +-12,345.6789 +12,345 +123,456,789 +123.45 +12,345.6789 +-12,345 +-123,456,789 +-123.45 +-12,345.6789 +---------------------------------------------------------------------------------------------------- +FormatConverter.AddFigure4 +1,2345 +1,2345,6789 +123.45 +1,2345.6789 +-1,2345 +-1,2345,6789 +-123.45 +-1,2345.6789 +1,2345 +1,2345,6789 +123.45 +1,2345.6789 +-1,2345 +-1,2345,6789 +-123.45 +-1,2345.6789 +---------------------------------------------------------------------------------------------------- +FormatConverter.Suppress +"", 10, '@': @@@@@@@@@@ +"123456789", 0, '@': 123456789 +"123456789", 1, '@': 123456789 +"123456789", 5, '@': 123456789 +"123456789", 9, '@': 123456789 +"123456789", 10, '@': @123456789 +"123456789", 11, '@': @@123456789 +"123456789", 20, '@': @@@@@@@@@@@123456789 +"", 10, '@': @@@@@@@@@@ +"123456789", 0, '@': abcdefg +"123456789", 1, '@': abcdefg +"123456789", 5, '@': abcdefg +"123456789", 9, '@': @@abcdefg +"123456789", 10, '@': @@@abcdefg +"123456789", 11, '@': @@@@abcdefg +"123456789", 20, '@': @@@@@@@@@@@@@abcdefg +---------------------------------------------------------------------------------------------------- +CustomEncode.HtmlEncode: " id="txtXXXXX" /><script type="text/javascript">alert("XSS!!!")</script><input name="txtXXXXX" type="text" value=" +---------------------------------------------------------------------------------------------------- +CustomEncode.UrlEncode: http://www.google.co.jp/search?hl=ja&q=%26 +CustomEncode.UrlEncode2: http%3A%2F%2Fwww.google.co.jp%2Fsearch%3Fhl%3Dja%26q%3D%26 +CustomEncode.UrlEncode2: http%3A%2F%2Fwww.google.co.jp%2Fsearch%3Fhl%3Dja%26q%3D%3C%3E +---------------------------------------------------------------------------------------------------- jis2k4.GetStringInfo - あああ: Char長:3; 文字列長3; バイト長6; - ----------------------------------------------------------------------------------------------------- -jis2k4.CheckSurrogatesPairChar - あああ: False -jis2k4.CheckSurrogatesPairChar - あ𩸽あ: True -jis2k4.CheckSurrogatesPairChar - あああ: -1文字目 -jis2k4.CheckSurrogatesPairChar - あ𩸽あ: 1文字目 ----------------------------------------------------------------------------------------------------- -jis2k4.DeleteSurrogatesPairChar - あ𩸽あ: ああ -jis2k4.DeleteSurrogatesPairChar - あ𩸽あ: あ●あ -jis2k4.DeleteSurrogatesPairChar - あ𩸽あ: あ●あ ----------------------------------------------------------------------------------------------------- -jis2k4.CheckCharAddedWithJIS2k4 - あああ: False -jis2k4.CheckCharAddedWithJIS2k4 - あ噓あ: True -jis2k4.CheckCharAddedWithJIS2k4 - あああ: -1文字目 -jis2k4.CheckCharAddedWithJIS2k4 - あ噓あ: 1文字目 ----------------------------------------------------------------------------------------------------- -jis2k4.DeleteCharAddedWithJIS2k4 - あ噓あ: ああ -jis2k4.DeleteCharAddedWithJIS2k4 - あ噓あ: あ●あ -jis2k4.DeleteCharAddedWithJIS2k4 - あ噓あ: あ●あ ----------------------------------------------------------------------------------------------------- -Friday > Friday -Wednesday > Wednesday -Saturday > Saturday -Friday > Friday -Saturday > Saturday -------------------------- -Friday > Friday -Wednesday > Wednesday -Saturday > Saturday -Friday > Friday -Saturday > Saturday --------------------------------------------------- -V2 > V2 -V3 > V3 -V4 > V4 -------------------------- -V2 > V2 -V3 > V3 -V4 > V4 --------------------------------------------------- -V0 > V0 -V2 > V2 -V4 > V4 -------------------------- -V0 > V0 -V2 > V2 -V4 > V4 --------------------------------------------------- -One > One -One,Two > One,Two -Three > Three -Four > Four -------------------------- -One > One -One,Two > One, Two -Three > Three -Four > Four ----------------------------------------------------------------------------------------------------- -XmlLib > is working properly. ----------------------------------------------------------------------------------------------------- -DeflateCompression(FileStream)-1 > is working properly. -DeflateCompression(FileStream)-2 > is working properly. --------------------------------------------------- -DeflateCompression(MemoryStream) > is working properly. ----------------------------------------------------------------------------------------------------- -log4net: Shutdown called on Hierarchy [log4net-default-repository] + +---------------------------------------------------------------------------------------------------- +jis2k4.CheckSurrogatesPairChar - あああ: False +jis2k4.CheckSurrogatesPairChar - あ𩸽あ: True +jis2k4.CheckSurrogatesPairChar - あああ: -1文字目 +jis2k4.CheckSurrogatesPairChar - あ𩸽あ: 1文字目 +---------------------------------------------------------------------------------------------------- +jis2k4.DeleteSurrogatesPairChar - あ𩸽あ: ああ +jis2k4.DeleteSurrogatesPairChar - あ𩸽あ: あ●あ +jis2k4.DeleteSurrogatesPairChar - あ𩸽あ: あ●あ +---------------------------------------------------------------------------------------------------- +jis2k4.CheckCharAddedWithJIS2k4 - あああ: False +jis2k4.CheckCharAddedWithJIS2k4 - あ噓あ: True +jis2k4.CheckCharAddedWithJIS2k4 - あああ: -1文字目 +jis2k4.CheckCharAddedWithJIS2k4 - あ噓あ: 1文字目 +---------------------------------------------------------------------------------------------------- +jis2k4.DeleteCharAddedWithJIS2k4 - あ噓あ: ああ +jis2k4.DeleteCharAddedWithJIS2k4 - あ噓あ: あ●あ +jis2k4.DeleteCharAddedWithJIS2k4 - あ噓あ: あ●あ +---------------------------------------------------------------------------------------------------- +Friday > Friday +Wednesday > Wednesday +Saturday > Saturday +Friday > Friday +Saturday > Saturday +------------------------- +Friday > Friday +Wednesday > Wednesday +Saturday > Saturday +Friday > Friday +Saturday > Saturday +-------------------------------------------------- +V2 > V2 +V3 > V3 +V4 > V4 +------------------------- +V2 > V2 +V3 > V3 +V4 > V4 +-------------------------------------------------- +V0 > V0 +V2 > V2 +V4 > V4 +------------------------- +V0 > V0 +V2 > V2 +V4 > V4 +-------------------------------------------------- +One > One +One,Two > One,Two +Three > Three +Four > Four +------------------------- +One > One +One,Two > One, Two +Three > Three +Four > Four +---------------------------------------------------------------------------------------------------- +XmlLib > is working properly. +---------------------------------------------------------------------------------------------------- +DeflateCompression(FileStream)-1 > is working properly. +DeflateCompression(FileStream)-2 > is working properly. +-------------------------------------------------- +DeflateCompression(MemoryStream) > is working properly. +---------------------------------------------------------------------------------------------------- + log4net: Shutdown called on Hierarchy [log4net-default-repository] diff --git a/root/programs/CS/Frameworks/Tests/TestCode/TestCodeCore80.sln b/root/programs/CS/Frameworks/Tests/TestCode/TestCodeCore100.sln similarity index 86% rename from root/programs/CS/Frameworks/Tests/TestCode/TestCodeCore80.sln rename to root/programs/CS/Frameworks/Tests/TestCode/TestCodeCore100.sln index a36dbe21e..09056c3bd 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/TestCodeCore80.sln +++ b/root/programs/CS/Frameworks/Tests/TestCode/TestCodeCore100.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCodeCore", "core80\TestCodeCore.csproj", "{E6B7D6EE-D395-4776-ADA5-5DD0968059D8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestCodeCore", "core100\TestCodeCore.csproj", "{E6B7D6EE-D395-4776-ADA5-5DD0968059D8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/TestCode/TestCodeFx48.sln b/root/programs/CS/Frameworks/Tests/TestCode/TestCodeFx48.sln index 972cd6e31..8c25e357e 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/TestCodeFx48.sln +++ b/root/programs/CS/Frameworks/Tests/TestCode/TestCodeFx48.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30320.27 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestCodeFx", "net48\TestCodeFx.csproj", "{7DAC4701-A800-4C8A-B70F-2A71C78F7B2F}" EndProject diff --git a/root/programs/CS/Frameworks/Tests/TestCode/core80/TestCodeCore.csproj b/root/programs/CS/Frameworks/Tests/TestCode/core100/TestCodeCore.csproj similarity index 82% rename from root/programs/CS/Frameworks/Tests/TestCode/core80/TestCodeCore.csproj rename to root/programs/CS/Frameworks/Tests/TestCode/core100/TestCodeCore.csproj index 53b3c0f51..4aae226a3 100644 --- a/root/programs/CS/Frameworks/Tests/TestCode/core80/TestCodeCore.csproj +++ b/root/programs/CS/Frameworks/Tests/TestCode/core100/TestCodeCore.csproj @@ -3,7 +3,7 @@ Exe $(NoWarn);NU1605 - net8.0 + net10.0 @@ -42,20 +42,18 @@ - - - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll - ..\..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + ..\..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Frameworks/Tests/TestLog/TestLog1.sln b/root/programs/CS/Frameworks/Tests/TestLog/TestLog1.sln index b9922de31..5775f7c52 100644 --- a/root/programs/CS/Frameworks/Tests/TestLog/TestLog1.sln +++ b/root/programs/CS/Frameworks/Tests/TestLog/TestLog1.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLog", "TestLog1.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLog1", "TestLog1.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/TestLog/TestLog2.sln b/root/programs/CS/Frameworks/Tests/TestLog/TestLog2.sln index f6947752b..d9f5be035 100644 --- a/root/programs/CS/Frameworks/Tests/TestLog/TestLog2.sln +++ b/root/programs/CS/Frameworks/Tests/TestLog/TestLog2.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLog", "TestLog2.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLog2", "TestLog2.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/TestLog/TestLog3.sln b/root/programs/CS/Frameworks/Tests/TestLog/TestLog3.sln index 74de0edcb..25cd4e75f 100644 --- a/root/programs/CS/Frameworks/Tests/TestLog/TestLog3.sln +++ b/root/programs/CS/Frameworks/Tests/TestLog/TestLog3.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLog", "TestLog3.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestLog3", "TestLog3.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore1.sln b/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore1.sln index 701147318..fede9134d 100644 --- a/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore1.sln +++ b/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore1.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestLogCore", "TestLogCore1.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestLogCore1", "TestLogCore1.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore2.sln b/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore2.sln index a6d7fab7b..eaacb151b 100644 --- a/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore2.sln +++ b/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore2.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestLogCore", "TestLogCore2.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestLogCore2", "TestLogCore2.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore3.sln b/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore3.sln index 0675cb33e..fa72b2ffb 100644 --- a/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore3.sln +++ b/root/programs/CS/Frameworks/Tests/TestLog/TestLogCore3.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestLogCore", "TestLogCore3.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestLogCore3", "TestLogCore3.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.sln b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.sln index 08289e34c..ffdf38915 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.sln +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_Tool.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DPQuery_Tool", "DPQuery_Tool.csproj", "{1A31B69C-1DA9-4F0F-AC19-E52929285EB3}" EndProject diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj index 61c038f8c..fefb5ca5f 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -41,16 +41,16 @@ - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln index cf5496c65..6efff684c 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/DPQuery_ToolCore.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DPQuery_ToolCore", "DPQuery_ToolCore.csproj", "{1A31B69C-1DA9-4F0F-AC19-E52929285EB3}" EndProject diff --git a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/RichTextBoxDisableDF.cs b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/RichTextBoxDisableDF.cs index 67cb9386f..04d7594dc 100644 --- a/root/programs/CS/Frameworks/Tools/DPQuery_Tool/RichTextBoxDisableDF.cs +++ b/root/programs/CS/Frameworks/Tools/DPQuery_Tool/RichTextBoxDisableDF.cs @@ -31,6 +31,7 @@ //********************************************************************************** using System; +using System.ComponentModel; using System.Runtime.InteropServices; namespace DPQuery_Tool @@ -57,6 +58,7 @@ private static extern uint SendMessage(IntPtr hWnd, uint wMsg, /// ・trueにすると、従来どおり、全角と半角で別のフォントを使用 (勝手に変更される) /// ・falseにすると、全角と半角で同じフォントを使用 (勝手に変更されない) /// + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public bool DualFont { get @@ -90,6 +92,7 @@ public bool DualFont } /// WordWrap時にフォント設定がクリアされるのを防ぐ + [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public new bool WordWrap { get diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln index 5bab24b9d..59a059348 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_Tool.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DaoGen_Tool", "DaoGen_Tool.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj index 2ce85ac3a..e0dc773f6 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -41,16 +41,16 @@ - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln index 3a0b569d7..6df924ae5 100644 --- a/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln +++ b/root/programs/CS/Frameworks/Tools/DaoGen_Tool/DaoGen_ToolCore.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DaoGen_ToolCore", "DaoGen_ToolCore.csproj", "{5CC42F99-B80D-485B-9623-EE2DD59A6EDB}" EndProject diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/ChangeProgressParameter.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/ChangeProgressParameter.cs deleted file mode 100644 index 76e17e9d8..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/ChangeProgressParameter.cs +++ /dev/null @@ -1,52 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :ChangeProgressParameter -//* クラス日本語名 :ChangeProgressデリゲードの引数 -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/08/01 西野 大介 新規作成 -//********************************************************************************** - -namespace DeployZipPackWithHTTP -{ - public class ChangeProgressParameter - { - /// 状態 - public string Status = null; - - /// 進捗値 - public int ProgressVal = 0; - - /// コンストラクタ - /// 状態 - /// 進捗値 - public ChangeProgressParameter(string status, int progressVal) - { - this.Status = status; - this.ProgressVal = progressVal; - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Command line.txt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Command line.txt deleted file mode 100644 index 5ddd46181..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Command line.txt +++ /dev/null @@ -1,3 +0,0 @@ -ショートカットのリンク先に設定すると楽。 - -DeployZipPackWithHTTP.exe /cui /wwwurl "http://localhost/test/test.mft" /wwwuid administrator /wwwpwd seigi \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.Designer.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.Designer.cs deleted file mode 100644 index 1620e7a95..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.Designer.cs +++ /dev/null @@ -1,68 +0,0 @@ -namespace DeployZipPackWithHTTP -{ - partial class CustMsgBox - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustMsgBox)); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // textBox1 - // - resources.ApplyResources(this.textBox1, "textBox1"); - this.textBox1.Name = "textBox1"; - this.textBox1.ReadOnly = true; - // - // pictureBox1 - // - resources.ApplyResources(this.pictureBox1, "pictureBox1"); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.TabStop = false; - // - // CustMsgBox - // - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.textBox1); - this.Name = "CustMsgBox"; - this.Load += new System.EventHandler(this.CustMsgBox_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.PictureBox pictureBox1; - } -} \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.cs deleted file mode 100644 index 86004452b..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.cs +++ /dev/null @@ -1,75 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :CustMsgBox -//* クラス日本語名 :カスタムのメッセージ ボックス画面 -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/06/16 西野 大介 新規作成 -//* 2011/07/01 西野 大介 アイコンの変更を可能に -//********************************************************************************** - -using System; -using System.Drawing; -using System.Windows.Forms; - -namespace DeployZipPackWithHTTP -{ - /// カスタムのメッセージ ボックス画面 - public partial class CustMsgBox : Form - { - /// タイトル - public string Title { set; private get; } - /// メッセージ - public string Message { set; private get; } - /// メッセージ - public Icon SysIco { set; private get; } - - /// コンストラクタ - /// タイトル - /// メッセージ - /// アイコン - public CustMsgBox(string title, string message, Icon sysIco) - { - this.Title = title; - this.Message = message; - this.SysIco = sysIco; - - InitializeComponent(); - } - - /// ロード - private void CustMsgBox_Load(object sender, EventArgs e) - { - this.Text = this.Title; - this.textBox1.Text = this.Message; - - Bitmap bmp = new Bitmap(288, 32); - Graphics g = Graphics.FromImage(bmp); - g.DrawIcon(this.SysIco, 32, 0); // SystemIcons.Error - pictureBox1.Image = bmp; - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.ja-JP.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.ja-JP.resx deleted file mode 100644 index 5fbf0a26a..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.ja-JP.resx +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - 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 - AP//AAD///AA///wAP//8AD///AA/w== - - - - エラー - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.resx deleted file mode 100644 index 8216d9c9e..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/CustMsgBox.resx +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 1 - - - textBox1 - - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - 118, 13 - - - 12, 13 - - - $this - - - - 1 - - - CustMsgBox - - - 6, 13 - - - System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - Both - - - 209, 108 - - - 0 - - - 0 - - - True - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - pictureBox1 - - - Error - - - 100, 108 - - - Top, Bottom, Left, Right - - - 339, 134 - - - - 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 - AP//AAD///AA///wAP//8AD///AA/w== - - - - True - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj deleted file mode 100644 index 86c61bb1c..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.csproj +++ /dev/null @@ -1,182 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {F0163F46-FA9D-435F-B187-EC3C1E3DF8D7} - WinExe - Properties - DeployZipPackWithHTTP - OpenTouryo.DeployZipPackWithHTTP - - - - - - - - - - - 3.5 - - - v4.8 - true - - - app.ico - - http://localhost/DeployZipPackWithHTTP/ - true - Web - true - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - true - .\ - true - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - ..\..\Infrastructure\Build\DotNetZip.dll - - - False - ..\..\Infrastructure\Build\OpenTouryo.Business.RichClient.dll - - - False - ..\..\Infrastructure\Build\OpenTouryo.Framework.dll - - - False - ..\..\Infrastructure\Build\OpenTouryo.Framework.RichClient.dll - - - False - ..\..\Infrastructure\Build\OpenTouryo.Public.dll - - - - - - - - - - - - - Form - - - Form2.cs - - - - Form - - - CustMsgBox.cs - - - - Form - - - Form1.cs - - - - - True - True - Resource.resx - - - CustMsgBox.cs - - - Form1.cs - Always - - - Designer - Form1.cs - - - Form2.cs - - - - ResXFileCodeGenerator - Resource.Designer.cs - - - - - - - Always - - - - - CustMsgBox.cs - - - - - Form2.cs - - - Always - - - - - - - - Always - - - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln deleted file mode 100644 index b1d0d316d..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTP.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeployZipPackWithHTTP", "DeployZipPackWithHTTP.csproj", "{F0163F46-FA9D-435F-B187-EC3C1E3DF8D7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F0163F46-FA9D-435F-B187-EC3C1E3DF8D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F0163F46-FA9D-435F-B187-EC3C1E3DF8D7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F0163F46-FA9D-435F-B187-EC3C1E3DF8D7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F0163F46-FA9D-435F-B187-EC3C1E3DF8D7}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {52D312DC-E37A-4F2A-AF7F-AECDC645D53F} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln deleted file mode 100644 index 459dbdeae..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/DeployZipPackWithHTTPCore.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DeployZipPackWithHTTPCore", "DeployZipPackWithHTTPCore.csproj", "{B988A3B4-7296-4491-878B-7C3C2A330A1F}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B988A3B4-7296-4491-878B-7C3C2A330A1F}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {A32A525E-B7F7-4751-877C-46F7BB73BCE5} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Entry.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Entry.cs deleted file mode 100644 index 81b4bed91..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Entry.cs +++ /dev/null @@ -1,262 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :Entry -//* クラス日本語名 :エントリ -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/xx/xx 西野 大介 新規作成 -//* 2011/04/25 西野 大介 IEquatableの実装(List.Remove対策) -//* ・List.Remove メソッド -//* http://msdn.microsoft.com/ja-jp/library/cd666k3e.aspx -//* ・EqualityComparer.Default プロパティ -//* http://msdn.microsoft.com/ja-jp/library/ms224763.aspx -//* ・IEquatable ジェネリック インターフェイス -//* http://msdn.microsoft.com/ja-jp/library/ms131187.aspx -//********************************************************************************** - -using System; -using System.Collections.Generic; - -namespace DeployZipPackWithHTTP -{ - /// エントリ - [Serializable()] - public class Entry : IEquatable - { - #region メンバ - - /// WWWサーバのURL - public string WWWURL { get; set; } - /// WWWサーバのユーザID - public string WWWUID { get; set; } - /// WWWサーバのパスワード - public string WWWPWD { get; set; } - /// WWWサーバのドメイン - public string WWWDomain { get; set; } - - /// ProxyサーバのURL - public string ProxyURL { get; set; } - /// ProxyサーバのユーザID - public string ProxyUID { get; set; } - /// Proxyサーバのパスワード - public string ProxyPWD { get; set; } - /// Proxyサーバのドメイン - public string ProxyDomain { get; set; } - - /// マニュフェストの最終更新日付 - public string HttpLastModified { get; set; } - - /// インストール ディレクトリ - public string InstallDir { get; set; } - /// 起動exe - public string StartExe { get; set; } - - /// ZipFileコンテンツ - public List ZipFiles { get; set; } - /// ZipFileコンテンツの最終更新日付 - public Dictionary HttpZipLastModified { get; set; } - /// ZipFileコンテンツの内容物(解凍先ファイル) - public Dictionary HttpZipContents { get; set; } - - #endregion - - /// コンストラクタ - public Entry() - { - this.ZipFiles - = new List(); - this.HttpZipLastModified - = new Dictionary(); - this.HttpZipContents - = new Dictionary(); - } - - #region IEquatableの実装 - - /// ハッシュを返す - /// ハッシュコード - /// 全メンバのハッシュコードのXOR - public override int GetHashCode() - { - int ret = 0; - //--- - if (this.WWWURL != null) - { - ret ^= this.WWWURL.GetHashCode(); - } - if (this.WWWUID != null) - { - ret ^= this.WWWUID.GetHashCode(); - } - if (this.WWWPWD != null) - { - ret ^= this.WWWPWD.GetHashCode(); - } - if (this.WWWDomain != null) - { - ret ^= this.WWWDomain.GetHashCode(); - } - //--- - if (this.ProxyURL != null) - { - ret ^= this.ProxyURL.GetHashCode(); - } - if (this.ProxyUID != null) - { - ret ^= this.ProxyUID.GetHashCode(); - } - if (this.ProxyPWD != null) - { - ret ^= this.ProxyPWD.GetHashCode(); - } - if (this.ProxyDomain != null) - { - ret ^= this.ProxyDomain.GetHashCode(); - } - //--- - if (this.HttpLastModified != null) - { - ret ^= this.HttpLastModified.GetHashCode(); - } - //--- - if (this.InstallDir != null) - { - ret ^= this.InstallDir.GetHashCode(); - } - if (this.StartExe != null) - { - ret ^= this.StartExe.GetHashCode(); - } - //--- - if (this.ZipFiles != null) - { - ret ^= this.ZipFiles.GetHashCode(); - } - if (this.HttpZipLastModified != null) - { - ret ^= this.HttpZipLastModified.GetHashCode(); - } - if (this.HttpZipContents != null) - { - ret ^= this.HttpZipContents.GetHashCode(); - } - - return ret; - } - - /// Equals - /// Entry - /// - /// true:等しい - /// false:等しくない - /// - /// 全メンバの==のAND - public bool Equals(Entry entry) - { - // null対応 - if (entry == null) { return false; } - - // 一意性の保障はWWWURL(ID)だけで判断可能。 - return - (this.WWWURL == entry.WWWURL); - } - - /// Equals - /// Entry - /// - /// true:等しい - /// false:等しくない - /// - public override bool Equals(Object obj) - { - if (obj == null) - { - // nullの場合(ベースへ) - return base.Equals(obj); - } - else - { - // nullでない場合 - if (!(obj is Entry)) - { - // 型が違う - return false; - } - else - { - // 型が一致(オーバロードヘ) - return Equals(obj as Entry); - } - } - } - - /// 比較演算子(==) - /// 右辺 - /// 左辺 - /// - /// true:等しい - /// false:等しくない - /// - public static bool operator ==(Entry l, Entry r) - { - // Check for null on left side. - if (Object.ReferenceEquals(l, null)) - { - // Check for null on right side. - if (Object.ReferenceEquals(r, null)) - { - // null == null = true. - return true; - } - else - { - // Only the left side is null. - return false; - } - } - else - { - // Equals handles case of null on right side. - return l.Equals(r); - } - } - - /// 比較演算子(!=) - /// 右辺 - /// 左辺 - /// - /// true:等しい - /// false:等しくない - /// - public static bool operator !=(Entry l, Entry r) - { - // ==演算子の逆 - return !(l == r); - } - - #endregion - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.Designer.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.Designer.cs deleted file mode 100644 index 04b19daee..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.Designer.cs +++ /dev/null @@ -1,695 +0,0 @@ -namespace DeployZipPackWithHTTP -{ - partial class Form1 - { - /// - /// 必要なデザイナ変数です。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 使用中のリソースをすべてクリーンアップします。 - /// - /// マネージ リソースが破棄される場合 true、破棄されない場合は false です。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows フォーム デザイナで生成されたコード - - /// - /// デザイナ サポートに必要なメソッドです。このメソッドの内容を - /// コード エディタで変更しないでください。 - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); - this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); - this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); - this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); - this.lblStatus = new System.Windows.Forms.Label(); - this.openFilesDialog1 = new System.Windows.Forms.OpenFileDialog(); - this.panel1 = new System.Windows.Forms.Panel(); - this.tabDeployZipPac = new System.Windows.Forms.TabControl(); - this.tabPageDeployWithHTTP = new System.Windows.Forms.TabPage(); - this.btnDelHistory = new System.Windows.Forms.Button(); - this.lblHistorys = new System.Windows.Forms.Label(); - this.cmbHistorys = new System.Windows.Forms.ComboBox(); - this.btnCheckUpdateAndInstall = new System.Windows.Forms.Button(); - this.gbxWWW = new System.Windows.Forms.GroupBox(); - this.txtURL = new System.Windows.Forms.TextBox(); - this.txtDomain = new System.Windows.Forms.TextBox(); - this.lblDomain = new System.Windows.Forms.Label(); - this.lblURL = new System.Windows.Forms.Label(); - this.txtPWD = new System.Windows.Forms.TextBox(); - this.lblPWD = new System.Windows.Forms.Label(); - this.lblUID = new System.Windows.Forms.Label(); - this.txtUID = new System.Windows.Forms.TextBox(); - this.gbxProxy = new System.Windows.Forms.GroupBox(); - this.txtProxyDomain = new System.Windows.Forms.TextBox(); - this.lblProxyDomain = new System.Windows.Forms.Label(); - this.lblProxyPWD = new System.Windows.Forms.Label(); - this.txtProxyURL = new System.Windows.Forms.TextBox(); - this.txtProxyPWD = new System.Windows.Forms.TextBox(); - this.lblProxyURL = new System.Windows.Forms.Label(); - this.txtProxyUID = new System.Windows.Forms.TextBox(); - this.lblProxyUID = new System.Windows.Forms.Label(); - this.tabPageZipPackage = new System.Windows.Forms.TabPage(); - this.lblFolder = new System.Windows.Forms.Label(); - this.txtFile = new System.Windows.Forms.TextBox(); - this.lblFile = new System.Windows.Forms.Label(); - this.txtPass = new System.Windows.Forms.TextBox(); - this.lblEnc = new System.Windows.Forms.Label(); - this.btnSelectFolder = new System.Windows.Forms.Button(); - this.lblExt = new System.Windows.Forms.Label(); - this.btnSelectSaveFile = new System.Windows.Forms.Button(); - this.cbxExt = new System.Windows.Forms.CheckBox(); - this.txtExt = new System.Windows.Forms.TextBox(); - this.tabZipUnZip = new System.Windows.Forms.TabControl(); - this.tabPageZip = new System.Windows.Forms.TabPage(); - this.lblRootDirCheck = new System.Windows.Forms.Label(); - this.cbxRootDir = new System.Windows.Forms.CheckBox(); - this.cbxFormat = new System.Windows.Forms.CheckBox(); - this.btnCompress = new System.Windows.Forms.Button(); - this.cmbFormat = new System.Windows.Forms.ComboBox(); - this.lblFormat = new System.Windows.Forms.Label(); - this.cmbCmpLv = new System.Windows.Forms.ComboBox(); - this.lblCyp = new System.Windows.Forms.Label(); - this.lblCmpLv = new System.Windows.Forms.Label(); - this.cmbCyp = new System.Windows.Forms.ComboBox(); - this.tabPageUnZip = new System.Windows.Forms.TabPage(); - this.btnDecomp = new System.Windows.Forms.Button(); - this.lblEEFA = new System.Windows.Forms.Label(); - this.cmbEEFA = new System.Windows.Forms.ComboBox(); - this.cmbEnc = new System.Windows.Forms.ComboBox(); - this.lblPass = new System.Windows.Forms.Label(); - this.txtFolder = new System.Windows.Forms.TextBox(); - this.tabPageManifesto = new System.Windows.Forms.TabPage(); - this.label3 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.lblInsDir = new System.Windows.Forms.Label(); - this.txtInsDir = new System.Windows.Forms.TextBox(); - this.lblExeName = new System.Windows.Forms.Label(); - this.txtExeName = new System.Windows.Forms.TextBox(); - this.btnCreateManifesto = new System.Windows.Forms.Button(); - this.btnRemoveZIPFile = new System.Windows.Forms.Button(); - this.btnAddZIPFile = new System.Windows.Forms.Button(); - this.lbxZIPFiles = new System.Windows.Forms.ListBox(); - this.panel1.SuspendLayout(); - this.tabDeployZipPac.SuspendLayout(); - this.tabPageDeployWithHTTP.SuspendLayout(); - this.gbxWWW.SuspendLayout(); - this.gbxProxy.SuspendLayout(); - this.tabPageZipPackage.SuspendLayout(); - this.tabZipUnZip.SuspendLayout(); - this.tabPageZip.SuspendLayout(); - this.tabPageUnZip.SuspendLayout(); - this.tabPageManifesto.SuspendLayout(); - this.SuspendLayout(); - // - // folderBrowserDialog1 - // - resources.ApplyResources(this.folderBrowserDialog1, "folderBrowserDialog1"); - // - // saveFileDialog1 - // - resources.ApplyResources(this.saveFileDialog1, "saveFileDialog1"); - // - // openFileDialog1 - // - this.openFileDialog1.FileName = "openFileDialog1"; - resources.ApplyResources(this.openFileDialog1, "openFileDialog1"); - // - // lblStatus - // - resources.ApplyResources(this.lblStatus, "lblStatus"); - this.lblStatus.Name = "lblStatus"; - // - // openFilesDialog1 - // - this.openFilesDialog1.FileName = "openFilesDialog1"; - resources.ApplyResources(this.openFilesDialog1, "openFilesDialog1"); - this.openFilesDialog1.Multiselect = true; - // - // panel1 - // - resources.ApplyResources(this.panel1, "panel1"); - this.panel1.Controls.Add(this.tabDeployZipPac); - this.panel1.Name = "panel1"; - // - // tabDeployZipPac - // - resources.ApplyResources(this.tabDeployZipPac, "tabDeployZipPac"); - this.tabDeployZipPac.Controls.Add(this.tabPageDeployWithHTTP); - this.tabDeployZipPac.Controls.Add(this.tabPageZipPackage); - this.tabDeployZipPac.Controls.Add(this.tabPageManifesto); - this.tabDeployZipPac.Name = "tabDeployZipPac"; - this.tabDeployZipPac.SelectedIndex = 0; - // - // tabPageDeployWithHTTP - // - resources.ApplyResources(this.tabPageDeployWithHTTP, "tabPageDeployWithHTTP"); - this.tabPageDeployWithHTTP.Controls.Add(this.btnDelHistory); - this.tabPageDeployWithHTTP.Controls.Add(this.lblHistorys); - this.tabPageDeployWithHTTP.Controls.Add(this.cmbHistorys); - this.tabPageDeployWithHTTP.Controls.Add(this.btnCheckUpdateAndInstall); - this.tabPageDeployWithHTTP.Controls.Add(this.gbxWWW); - this.tabPageDeployWithHTTP.Controls.Add(this.gbxProxy); - this.tabPageDeployWithHTTP.Name = "tabPageDeployWithHTTP"; - this.tabPageDeployWithHTTP.UseVisualStyleBackColor = true; - // - // btnDelHistory - // - resources.ApplyResources(this.btnDelHistory, "btnDelHistory"); - this.btnDelHistory.Name = "btnDelHistory"; - this.btnDelHistory.UseVisualStyleBackColor = true; - this.btnDelHistory.Click += new System.EventHandler(this.btnDelHistory_Click); - // - // lblHistorys - // - resources.ApplyResources(this.lblHistorys, "lblHistorys"); - this.lblHistorys.Name = "lblHistorys"; - // - // cmbHistorys - // - resources.ApplyResources(this.cmbHistorys, "cmbHistorys"); - this.cmbHistorys.FormattingEnabled = true; - this.cmbHistorys.Name = "cmbHistorys"; - this.cmbHistorys.SelectedIndexChanged += new System.EventHandler(this.cmbHistorys_SelectedIndexChanged); - // - // btnCheckUpdateAndInstall - // - resources.ApplyResources(this.btnCheckUpdateAndInstall, "btnCheckUpdateAndInstall"); - this.btnCheckUpdateAndInstall.Name = "btnCheckUpdateAndInstall"; - this.btnCheckUpdateAndInstall.UseVisualStyleBackColor = true; - this.btnCheckUpdateAndInstall.Click += new System.EventHandler(this.btnCheckUpdateAndInstall_Click); - // - // gbxWWW - // - resources.ApplyResources(this.gbxWWW, "gbxWWW"); - this.gbxWWW.Controls.Add(this.txtURL); - this.gbxWWW.Controls.Add(this.txtDomain); - this.gbxWWW.Controls.Add(this.lblDomain); - this.gbxWWW.Controls.Add(this.lblURL); - this.gbxWWW.Controls.Add(this.txtPWD); - this.gbxWWW.Controls.Add(this.lblPWD); - this.gbxWWW.Controls.Add(this.lblUID); - this.gbxWWW.Controls.Add(this.txtUID); - this.gbxWWW.Name = "gbxWWW"; - this.gbxWWW.TabStop = false; - // - // txtURL - // - resources.ApplyResources(this.txtURL, "txtURL"); - this.txtURL.Name = "txtURL"; - // - // txtDomain - // - resources.ApplyResources(this.txtDomain, "txtDomain"); - this.txtDomain.Name = "txtDomain"; - // - // lblDomain - // - resources.ApplyResources(this.lblDomain, "lblDomain"); - this.lblDomain.Name = "lblDomain"; - // - // lblURL - // - resources.ApplyResources(this.lblURL, "lblURL"); - this.lblURL.Name = "lblURL"; - // - // txtPWD - // - resources.ApplyResources(this.txtPWD, "txtPWD"); - this.txtPWD.Name = "txtPWD"; - // - // lblPWD - // - resources.ApplyResources(this.lblPWD, "lblPWD"); - this.lblPWD.Name = "lblPWD"; - // - // lblUID - // - resources.ApplyResources(this.lblUID, "lblUID"); - this.lblUID.Name = "lblUID"; - // - // txtUID - // - resources.ApplyResources(this.txtUID, "txtUID"); - this.txtUID.Name = "txtUID"; - // - // gbxProxy - // - resources.ApplyResources(this.gbxProxy, "gbxProxy"); - this.gbxProxy.Controls.Add(this.txtProxyDomain); - this.gbxProxy.Controls.Add(this.lblProxyDomain); - this.gbxProxy.Controls.Add(this.lblProxyPWD); - this.gbxProxy.Controls.Add(this.txtProxyURL); - this.gbxProxy.Controls.Add(this.txtProxyPWD); - this.gbxProxy.Controls.Add(this.lblProxyURL); - this.gbxProxy.Controls.Add(this.txtProxyUID); - this.gbxProxy.Controls.Add(this.lblProxyUID); - this.gbxProxy.Name = "gbxProxy"; - this.gbxProxy.TabStop = false; - // - // txtProxyDomain - // - resources.ApplyResources(this.txtProxyDomain, "txtProxyDomain"); - this.txtProxyDomain.Name = "txtProxyDomain"; - // - // lblProxyDomain - // - resources.ApplyResources(this.lblProxyDomain, "lblProxyDomain"); - this.lblProxyDomain.Name = "lblProxyDomain"; - // - // lblProxyPWD - // - resources.ApplyResources(this.lblProxyPWD, "lblProxyPWD"); - this.lblProxyPWD.Name = "lblProxyPWD"; - // - // txtProxyURL - // - resources.ApplyResources(this.txtProxyURL, "txtProxyURL"); - this.txtProxyURL.Name = "txtProxyURL"; - // - // txtProxyPWD - // - resources.ApplyResources(this.txtProxyPWD, "txtProxyPWD"); - this.txtProxyPWD.Name = "txtProxyPWD"; - // - // lblProxyURL - // - resources.ApplyResources(this.lblProxyURL, "lblProxyURL"); - this.lblProxyURL.Name = "lblProxyURL"; - // - // txtProxyUID - // - resources.ApplyResources(this.txtProxyUID, "txtProxyUID"); - this.txtProxyUID.Name = "txtProxyUID"; - // - // lblProxyUID - // - resources.ApplyResources(this.lblProxyUID, "lblProxyUID"); - this.lblProxyUID.Name = "lblProxyUID"; - // - // tabPageZipPackage - // - resources.ApplyResources(this.tabPageZipPackage, "tabPageZipPackage"); - this.tabPageZipPackage.Controls.Add(this.lblFolder); - this.tabPageZipPackage.Controls.Add(this.txtFile); - this.tabPageZipPackage.Controls.Add(this.lblFile); - this.tabPageZipPackage.Controls.Add(this.txtPass); - this.tabPageZipPackage.Controls.Add(this.lblEnc); - this.tabPageZipPackage.Controls.Add(this.btnSelectFolder); - this.tabPageZipPackage.Controls.Add(this.lblExt); - this.tabPageZipPackage.Controls.Add(this.btnSelectSaveFile); - this.tabPageZipPackage.Controls.Add(this.cbxExt); - this.tabPageZipPackage.Controls.Add(this.txtExt); - this.tabPageZipPackage.Controls.Add(this.tabZipUnZip); - this.tabPageZipPackage.Controls.Add(this.cmbEnc); - this.tabPageZipPackage.Controls.Add(this.lblPass); - this.tabPageZipPackage.Controls.Add(this.txtFolder); - this.tabPageZipPackage.Name = "tabPageZipPackage"; - this.tabPageZipPackage.UseVisualStyleBackColor = true; - // - // lblFolder - // - resources.ApplyResources(this.lblFolder, "lblFolder"); - this.lblFolder.Name = "lblFolder"; - // - // txtFile - // - resources.ApplyResources(this.txtFile, "txtFile"); - this.txtFile.Name = "txtFile"; - // - // lblFile - // - resources.ApplyResources(this.lblFile, "lblFile"); - this.lblFile.Name = "lblFile"; - // - // txtPass - // - resources.ApplyResources(this.txtPass, "txtPass"); - this.txtPass.Name = "txtPass"; - // - // lblEnc - // - resources.ApplyResources(this.lblEnc, "lblEnc"); - this.lblEnc.Name = "lblEnc"; - // - // btnSelectFolder - // - resources.ApplyResources(this.btnSelectFolder, "btnSelectFolder"); - this.btnSelectFolder.Name = "btnSelectFolder"; - this.btnSelectFolder.UseVisualStyleBackColor = true; - this.btnSelectFolder.Click += new System.EventHandler(this.btnSelectFolder_Click); - // - // lblExt - // - resources.ApplyResources(this.lblExt, "lblExt"); - this.lblExt.Name = "lblExt"; - // - // btnSelectSaveFile - // - resources.ApplyResources(this.btnSelectSaveFile, "btnSelectSaveFile"); - this.btnSelectSaveFile.Name = "btnSelectSaveFile"; - this.btnSelectSaveFile.UseVisualStyleBackColor = true; - this.btnSelectSaveFile.Click += new System.EventHandler(this.btnSelectSaveFile_Click); - // - // cbxExt - // - resources.ApplyResources(this.cbxExt, "cbxExt"); - this.cbxExt.Name = "cbxExt"; - this.cbxExt.UseVisualStyleBackColor = true; - this.cbxExt.CheckedChanged += new System.EventHandler(this.cbxExt_CheckedChanged); - // - // txtExt - // - resources.ApplyResources(this.txtExt, "txtExt"); - this.txtExt.Name = "txtExt"; - // - // tabZipUnZip - // - resources.ApplyResources(this.tabZipUnZip, "tabZipUnZip"); - this.tabZipUnZip.Controls.Add(this.tabPageZip); - this.tabZipUnZip.Controls.Add(this.tabPageUnZip); - this.tabZipUnZip.Name = "tabZipUnZip"; - this.tabZipUnZip.SelectedIndex = 0; - // - // tabPageZip - // - resources.ApplyResources(this.tabPageZip, "tabPageZip"); - this.tabPageZip.Controls.Add(this.lblRootDirCheck); - this.tabPageZip.Controls.Add(this.cbxRootDir); - this.tabPageZip.Controls.Add(this.cbxFormat); - this.tabPageZip.Controls.Add(this.btnCompress); - this.tabPageZip.Controls.Add(this.cmbFormat); - this.tabPageZip.Controls.Add(this.lblFormat); - this.tabPageZip.Controls.Add(this.cmbCmpLv); - this.tabPageZip.Controls.Add(this.lblCyp); - this.tabPageZip.Controls.Add(this.lblCmpLv); - this.tabPageZip.Controls.Add(this.cmbCyp); - this.tabPageZip.Name = "tabPageZip"; - this.tabPageZip.UseVisualStyleBackColor = true; - // - // lblRootDirCheck - // - resources.ApplyResources(this.lblRootDirCheck, "lblRootDirCheck"); - this.lblRootDirCheck.Name = "lblRootDirCheck"; - // - // cbxRootDir - // - resources.ApplyResources(this.cbxRootDir, "cbxRootDir"); - this.cbxRootDir.Name = "cbxRootDir"; - this.cbxRootDir.UseVisualStyleBackColor = true; - // - // cbxFormat - // - resources.ApplyResources(this.cbxFormat, "cbxFormat"); - this.cbxFormat.Name = "cbxFormat"; - this.cbxFormat.UseVisualStyleBackColor = true; - this.cbxFormat.CheckedChanged += new System.EventHandler(this.cmbFormat_CheckedChanged); - // - // btnCompress - // - resources.ApplyResources(this.btnCompress, "btnCompress"); - this.btnCompress.Name = "btnCompress"; - this.btnCompress.UseVisualStyleBackColor = true; - this.btnCompress.Click += new System.EventHandler(this.btnCompress_Click); - // - // cmbFormat - // - resources.ApplyResources(this.cmbFormat, "cmbFormat"); - this.cmbFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbFormat.FormattingEnabled = true; - this.cmbFormat.Name = "cmbFormat"; - // - // lblFormat - // - resources.ApplyResources(this.lblFormat, "lblFormat"); - this.lblFormat.Name = "lblFormat"; - // - // cmbCmpLv - // - resources.ApplyResources(this.cmbCmpLv, "cmbCmpLv"); - this.cmbCmpLv.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCmpLv.FormattingEnabled = true; - this.cmbCmpLv.Name = "cmbCmpLv"; - // - // lblCyp - // - resources.ApplyResources(this.lblCyp, "lblCyp"); - this.lblCyp.Name = "lblCyp"; - // - // lblCmpLv - // - resources.ApplyResources(this.lblCmpLv, "lblCmpLv"); - this.lblCmpLv.Name = "lblCmpLv"; - // - // cmbCyp - // - resources.ApplyResources(this.cmbCyp, "cmbCyp"); - this.cmbCyp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCyp.FormattingEnabled = true; - this.cmbCyp.Name = "cmbCyp"; - // - // tabPageUnZip - // - resources.ApplyResources(this.tabPageUnZip, "tabPageUnZip"); - this.tabPageUnZip.Controls.Add(this.btnDecomp); - this.tabPageUnZip.Controls.Add(this.lblEEFA); - this.tabPageUnZip.Controls.Add(this.cmbEEFA); - this.tabPageUnZip.Name = "tabPageUnZip"; - this.tabPageUnZip.UseVisualStyleBackColor = true; - // - // btnDecomp - // - resources.ApplyResources(this.btnDecomp, "btnDecomp"); - this.btnDecomp.Name = "btnDecomp"; - this.btnDecomp.UseVisualStyleBackColor = true; - this.btnDecomp.Click += new System.EventHandler(this.btnDecomp_Click); - // - // lblEEFA - // - resources.ApplyResources(this.lblEEFA, "lblEEFA"); - this.lblEEFA.Name = "lblEEFA"; - // - // cmbEEFA - // - resources.ApplyResources(this.cmbEEFA, "cmbEEFA"); - this.cmbEEFA.FormattingEnabled = true; - this.cmbEEFA.Name = "cmbEEFA"; - // - // cmbEnc - // - resources.ApplyResources(this.cmbEnc, "cmbEnc"); - this.cmbEnc.FormattingEnabled = true; - this.cmbEnc.Items.AddRange(new object[] { - resources.GetString("cmbEnc.Items"), - resources.GetString("cmbEnc.Items1"), - resources.GetString("cmbEnc.Items2")}); - this.cmbEnc.Name = "cmbEnc"; - // - // lblPass - // - resources.ApplyResources(this.lblPass, "lblPass"); - this.lblPass.Name = "lblPass"; - // - // txtFolder - // - resources.ApplyResources(this.txtFolder, "txtFolder"); - this.txtFolder.Name = "txtFolder"; - // - // tabPageManifesto - // - resources.ApplyResources(this.tabPageManifesto, "tabPageManifesto"); - this.tabPageManifesto.Controls.Add(this.label3); - this.tabPageManifesto.Controls.Add(this.label2); - this.tabPageManifesto.Controls.Add(this.label1); - this.tabPageManifesto.Controls.Add(this.lblInsDir); - this.tabPageManifesto.Controls.Add(this.txtInsDir); - this.tabPageManifesto.Controls.Add(this.lblExeName); - this.tabPageManifesto.Controls.Add(this.txtExeName); - this.tabPageManifesto.Controls.Add(this.btnCreateManifesto); - this.tabPageManifesto.Controls.Add(this.btnRemoveZIPFile); - this.tabPageManifesto.Controls.Add(this.btnAddZIPFile); - this.tabPageManifesto.Controls.Add(this.lbxZIPFiles); - this.tabPageManifesto.Name = "tabPageManifesto"; - this.tabPageManifesto.UseVisualStyleBackColor = true; - // - // label3 - // - resources.ApplyResources(this.label3, "label3"); - this.label3.Name = "label3"; - // - // label2 - // - resources.ApplyResources(this.label2, "label2"); - this.label2.Name = "label2"; - // - // label1 - // - resources.ApplyResources(this.label1, "label1"); - this.label1.Name = "label1"; - // - // lblInsDir - // - resources.ApplyResources(this.lblInsDir, "lblInsDir"); - this.lblInsDir.Name = "lblInsDir"; - // - // txtInsDir - // - resources.ApplyResources(this.txtInsDir, "txtInsDir"); - this.txtInsDir.Name = "txtInsDir"; - // - // lblExeName - // - resources.ApplyResources(this.lblExeName, "lblExeName"); - this.lblExeName.Name = "lblExeName"; - // - // txtExeName - // - resources.ApplyResources(this.txtExeName, "txtExeName"); - this.txtExeName.Name = "txtExeName"; - // - // btnCreateManifesto - // - resources.ApplyResources(this.btnCreateManifesto, "btnCreateManifesto"); - this.btnCreateManifesto.Name = "btnCreateManifesto"; - this.btnCreateManifesto.UseVisualStyleBackColor = true; - this.btnCreateManifesto.Click += new System.EventHandler(this.btnCreateManifesto_Click); - // - // btnRemoveZIPFile - // - resources.ApplyResources(this.btnRemoveZIPFile, "btnRemoveZIPFile"); - this.btnRemoveZIPFile.Name = "btnRemoveZIPFile"; - this.btnRemoveZIPFile.UseVisualStyleBackColor = true; - this.btnRemoveZIPFile.Click += new System.EventHandler(this.btnRemoveZIPFile_Click); - // - // btnAddZIPFile - // - resources.ApplyResources(this.btnAddZIPFile, "btnAddZIPFile"); - this.btnAddZIPFile.Name = "btnAddZIPFile"; - this.btnAddZIPFile.UseVisualStyleBackColor = true; - this.btnAddZIPFile.Click += new System.EventHandler(this.btnAddZIPFile_Click); - // - // lbxZIPFiles - // - resources.ApplyResources(this.lbxZIPFiles, "lbxZIPFiles"); - this.lbxZIPFiles.FormattingEnabled = true; - this.lbxZIPFiles.Name = "lbxZIPFiles"; - // - // Form1 - // - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.panel1); - this.Controls.Add(this.lblStatus); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.MaximizeBox = false; - this.Name = "Form1"; - this.Load += new System.EventHandler(this.Form1_Load); - this.panel1.ResumeLayout(false); - this.tabDeployZipPac.ResumeLayout(false); - this.tabPageDeployWithHTTP.ResumeLayout(false); - this.tabPageDeployWithHTTP.PerformLayout(); - this.gbxWWW.ResumeLayout(false); - this.gbxWWW.PerformLayout(); - this.gbxProxy.ResumeLayout(false); - this.gbxProxy.PerformLayout(); - this.tabPageZipPackage.ResumeLayout(false); - this.tabPageZipPackage.PerformLayout(); - this.tabZipUnZip.ResumeLayout(false); - this.tabPageZip.ResumeLayout(false); - this.tabPageZip.PerformLayout(); - this.tabPageUnZip.ResumeLayout(false); - this.tabPageUnZip.PerformLayout(); - this.tabPageManifesto.ResumeLayout(false); - this.tabPageManifesto.PerformLayout(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1; - private System.Windows.Forms.SaveFileDialog saveFileDialog1; - private System.Windows.Forms.OpenFileDialog openFileDialog1; - private System.Windows.Forms.Label lblStatus; - private System.Windows.Forms.OpenFileDialog openFilesDialog1; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.TabControl tabDeployZipPac; - private System.Windows.Forms.TabPage tabPageDeployWithHTTP; - private System.Windows.Forms.Button btnDelHistory; - private System.Windows.Forms.Label lblHistorys; - private System.Windows.Forms.ComboBox cmbHistorys; - private System.Windows.Forms.Button btnCheckUpdateAndInstall; - private System.Windows.Forms.GroupBox gbxWWW; - private System.Windows.Forms.TextBox txtURL; - private System.Windows.Forms.TextBox txtDomain; - private System.Windows.Forms.Label lblDomain; - private System.Windows.Forms.Label lblURL; - private System.Windows.Forms.TextBox txtPWD; - private System.Windows.Forms.Label lblPWD; - private System.Windows.Forms.Label lblUID; - private System.Windows.Forms.TextBox txtUID; - private System.Windows.Forms.GroupBox gbxProxy; - private System.Windows.Forms.TextBox txtProxyDomain; - private System.Windows.Forms.Label lblProxyDomain; - private System.Windows.Forms.Label lblProxyPWD; - private System.Windows.Forms.TextBox txtProxyURL; - private System.Windows.Forms.TextBox txtProxyPWD; - private System.Windows.Forms.Label lblProxyURL; - private System.Windows.Forms.TextBox txtProxyUID; - private System.Windows.Forms.Label lblProxyUID; - private System.Windows.Forms.TabPage tabPageZipPackage; - private System.Windows.Forms.Label lblFolder; - private System.Windows.Forms.TextBox txtFile; - private System.Windows.Forms.Label lblFile; - private System.Windows.Forms.TextBox txtPass; - private System.Windows.Forms.Label lblEnc; - private System.Windows.Forms.Button btnSelectFolder; - private System.Windows.Forms.Label lblExt; - private System.Windows.Forms.Button btnSelectSaveFile; - private System.Windows.Forms.CheckBox cbxExt; - private System.Windows.Forms.TextBox txtExt; - private System.Windows.Forms.TabControl tabZipUnZip; - private System.Windows.Forms.TabPage tabPageZip; - private System.Windows.Forms.CheckBox cbxRootDir; - private System.Windows.Forms.CheckBox cbxFormat; - private System.Windows.Forms.Button btnCompress; - private System.Windows.Forms.ComboBox cmbFormat; - private System.Windows.Forms.Label lblFormat; - private System.Windows.Forms.ComboBox cmbCmpLv; - private System.Windows.Forms.Label lblCyp; - private System.Windows.Forms.Label lblCmpLv; - private System.Windows.Forms.ComboBox cmbCyp; - private System.Windows.Forms.TabPage tabPageUnZip; - private System.Windows.Forms.Button btnDecomp; - private System.Windows.Forms.Label lblEEFA; - private System.Windows.Forms.ComboBox cmbEEFA; - private System.Windows.Forms.ComboBox cmbEnc; - private System.Windows.Forms.Label lblPass; - private System.Windows.Forms.TextBox txtFolder; - private System.Windows.Forms.TabPage tabPageManifesto; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Label lblInsDir; - private System.Windows.Forms.TextBox txtInsDir; - private System.Windows.Forms.Label lblExeName; - private System.Windows.Forms.TextBox txtExeName; - private System.Windows.Forms.Button btnCreateManifesto; - private System.Windows.Forms.Button btnRemoveZIPFile; - private System.Windows.Forms.Button btnAddZIPFile; - private System.Windows.Forms.ListBox lbxZIPFiles; - private System.Windows.Forms.Label lblRootDirCheck; - private System.Windows.Forms.Label label3; - } -} - diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.cs deleted file mode 100644 index 2ea862132..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.cs +++ /dev/null @@ -1,762 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :Form1 -//* クラス日本語名 :メイン画面 -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/04/18 西野 大介 新規作成 -//* 2011/07/01 西野 大介 履歴コンボは都度クリア -//* 2011/07/04 西野 大介 圧縮・解凍に入力チェック+例外処理を追加 -//* 2011/07/04 西野 大介 マニュフェスト作成に入力チェック+例外処理を追加 -//* 2011/08/30 西野 大介 異常終了時に退避ディレクトリからリカバリ。 -//* 2011/08/30 西野 大介 テンポラリの削除処理を追加した(例外処理を追加)。 -//* 2011/08/30 西野 大介 ファイル ダイアログのリセット処理を追加した。 -//* 2011/08/30 西野 大介 ChangeProgressParameterの使用に漏れがあった。 -//* 2011/09/05 西野 大介 GCするコードを追加→修正(解凍ZIPがCloseされないため) -//* 2011/09/08 西野 大介 リカバリ処理のログ出力位置の変更 -//* (リカバリしない時ログを出力しないよう変更)。 -//* 2011/09/12 西野 大介 画面表示せず、ログ出力のみする例外処理方式を追加 -//* 2014/04/24 Sai For internationalization, Replaced all the Japanese language exception messages with GetMessage.GetMessageDescription() method call -//* Moved all the Japanese language exception messages to MSGDefinition_ja-JP.xml file Placed all the converted -//* Japanese language exception messages to MSGDefinition.xml file for internationalization supporting English Language. -//* 2014/04/25 Sai Replaced all the Japanese language in both UI and code with ResorceManager.GetString() method call -//* 2020/08/03 西野 大介 NETCOREAPP対応 -//********************************************************************************** - -using System; -using System.IO; -using System.Text; -using System.Drawing; -using System.Resources; -using System.Windows.Forms; - -using Ionic.Zip; -using Ionic.Zlib; - -using Touryo.Infrastructure.Business.RichClient.Asynchronous; -using Touryo.Infrastructure.Framework.RichClient.Asynchronous; -using Touryo.Infrastructure.Framework.Util; -using Touryo.Infrastructure.Public.IO; -using Touryo.Infrastructure.Public.Str; - -namespace DeployZipPackWithHTTP -{ - /// メイン画面 - public partial class Form1 : Form - { - /// ステータス表示用 - public string Status - { - set - { - this.lblStatus.Text = value; - } - get - { - return this.lblStatus.Text; - } - } - - /// - /// Getting ResourceManager instance from Resources to apply internationalization - /// - private ResourceManager ResourceMgr - { - get - { - return Resources.Resource.ResourceManager; - } - } - - #region 初期処理 - - /// コンストラクタ - public Form1() - { - InitializeComponent(); - } - - /// 画面ロード - private void Form1_Load(object sender, EventArgs e) - { - // デプロイ - - // 列挙型設定 - this.cmbEnc.SelectedIndex = 0; - this.cmbCyp.DataSource = Enum.GetValues(typeof(EncryptionAlgorithm)); - this.cmbCmpLv.DataSource = Enum.GetValues(typeof(CompressionLevel)); -#if NETCOREAPP -#else - this.cmbFormat.DataSource = Enum.GetValues(typeof(SelfExtractorFlavor)); -#endif - this.cmbEEFA.DataSource = Enum.GetValues(typeof(ExtractExistingFileAction)); - - // ZIP作成 - this.txtExt.Text = "txt,csv,cs"; - - this.txtExt.Enabled = false; - this.cmbFormat.Enabled = false; - - // 声明文作成 - - //--- - - // 履歴を復元 - this.LoadBins(); - } - - /// 履歴で初期化 - private void cmbHistorys_SelectedIndexChanged(object sender, EventArgs e) - { - // 履歴で初期化 - Entry entry = null; - - foreach (Entry temp in Program.Histories) - { - if (this.cmbHistorys.Text == temp.WWWURL) - { - entry = temp; - } - } - - if (entry != null) - { - this.txtURL.Text = entry.WWWURL; - this.txtUID.Text = entry.WWWUID; - this.txtPWD.Text = entry.WWWPWD; - this.txtDomain.Text = entry.WWWDomain; - - this.txtProxyURL.Text = entry.ProxyURL; - this.txtProxyUID.Text = entry.ProxyUID; - this.txtProxyPWD.Text = entry.ProxyPWD; - this.txtProxyDomain.Text = entry.ProxyDomain; - } - } - - #region データ ロード - - /// バイナリファイルをロード - private void LoadBins() - { - this.LoadEntry(); - this.LoadHistories(); - - this.Refresh(); - } - - /// エントリのロード - private void LoadEntry() - { - // current.bin(前回入力) - Entry entry = Program.LoadCurrent(); - - // 設定 - if (entry != null) - { - this.txtURL.Text = entry.WWWURL; - this.txtUID.Text = entry.WWWUID; - this.txtPWD.Text = entry.WWWPWD; - this.txtDomain.Text = entry.WWWDomain; - - this.txtProxyURL.Text = entry.ProxyURL; - this.txtProxyUID.Text = entry.ProxyUID; - this.txtProxyPWD.Text = entry.ProxyPWD; - this.txtProxyDomain.Text = entry.ProxyDomain; - } - } - - /// 履歴のロード - private void LoadHistories() - { - // histories.bin(履歴) - //Program.Histories = Program.LoadHistories(); - Program.LoadHistories(); - - // 設定 - this.cmbHistorys.Items.Clear(); - if (Program.Histories != null) - { - foreach (Entry history in Program.Histories) - { - this.cmbHistorys.Items.Add(history.WWWURL); - } - } - //else - //{ - // Program.Histories = new List(); - //} - } - - #endregion - - #endregion - - #region 圧縮・解凍 - - /// 圧縮処理 - private void btnCompress_Click(object sender, EventArgs e) - { - try - { - // チェック処理 - this.CheckComp_DeComp(); - - // 圧縮部品 - Zipper z = new Zipper(); - - // 選択基準 - string[] exts = null; - Zipper.SelectionDelegate scd = null; - - if (this.txtExt.Enabled) - { - exts = this.txtExt.Text.Split(','); - scd = Program.SelectionCriteriaDlgt1; - } - - // 形式指定 -#if NETCOREAPP -#else - SelfExtractorFlavor? selfEx = null; - - if (this.cmbFormat.Enabled) - { selfEx = (SelfExtractorFlavor)this.cmbFormat.SelectedItem; } -#endif - - // ZIP内パスのルート名 - string[] temp = this.txtFile.Text.Split('\\'); - - // 進捗報告処理 - z.SaveProgress = Program.MySaveProgressEventHandler; - - // ルートのディレクトリを作るか作らないか。 - string rootPathInArchive = ""; - - if (!this.cbxRootDir.Checked) - { - rootPathInArchive = temp[temp.Length - 1]; - } - - // 圧縮(1)デリゲートでフィルタ - z.CreateZipFromFolder( - this.txtFile.Text, this.txtFolder.Text, - scd, exts, rootPathInArchive, // ここを空文字列にするとルートフォルダ無しになる。 - Encoding.GetEncoding((string)this.cmbEnc.SelectedItem), - (EncryptionAlgorithm)this.cmbCyp.SelectedItem, this.txtPass.Text, - (CompressionLevel)this.cmbCmpLv.SelectedItem -#if NETCOREAPP - ); -#else - , selfEx); -#endif - - - //// 圧縮(2):selectionCriteriaStringでフィルタ - //string selectionCriteriaString = ""; - //if (exts != null) - //{ - // foreach (string ext in exts) - // { - // if (selectionCriteriaString == "") - // { - // selectionCriteriaString = "name != *." + ext; - // } - // else - // { - // selectionCriteriaString += " and name != *." + ext; - // } - // } - //} - - //z.CreateZipFromFolder( - // this.txtFile.Text, this.txtFolder.Text, - // selectionCriteriaString, - // temp[temp.Length - 1], - // Encoding.GetEncoding((string)this.cmbEnc.SelectedItem), - // (EncryptionAlgorithm)this.cmbCyp.SelectedItem, this.txtPass.Text, - // (CompressionLevel)this.cmbCmpLv.SelectedItem, selfEx); - - //MessageBox.Show(z.StatusMSG,"サマリ", - // MessageBoxButtons.OK, MessageBoxIcon.Information); - - CustMsgBox custMsgBox = new CustMsgBox(ResourceMgr.GetString("Error0002"), z.StatusMSG, SystemIcons.Information); - custMsgBox.ShowDialog(); - } - catch (Exception ex) - { - //MessageBox.Show(ex.Message, "エラーが発生しました。", MessageBoxButtons.OK, MessageBoxIcon.Error); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - MessageBox.Show(ex.Message, ResourceMgr.GetString("E0001"), MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - - /// 解凍処理 - private void btnDecomp_Click(object sender, EventArgs e) - { - try - { - // チェック処理 - this.CheckComp_DeComp(); - - // 解凍部品 - UnZipper uz = new UnZipper(); - - // 選択基準 - string[] exts = null; - Zipper.SelectionDelegate scd = null; - - if (this.txtExt.Enabled) - { - exts = this.txtExt.Text.Split(','); - scd = Program.SelectionCriteriaDlgt2; - } - - // 解凍時、上書き制御 - uz.ExtractProgress = Program.MyExtractProgressEventHandler; - - // 解凍(1)デリゲートでフィルタ - uz.ExtractFileFromZip( - this.txtFile.Text, this.txtFolder.Text, scd, exts, - (ExtractExistingFileAction)this.cmbEEFA.SelectedItem, - Encoding.GetEncoding((string)this.cmbEnc.SelectedItem), - this.txtPass.Text); - - //// 解凍(2):selectionCriteriaStringでフィルタ - //string selectionCriteriaString = ""; - //if (exts != null) - //{ - // foreach (string ext in exts) - // { - // if (selectionCriteriaString == "") - // { - // selectionCriteriaString = "name != *." + ext; - // } - // else - // { - // selectionCriteriaString += " and name != *." + ext; - // } - // } - //} - - //uz.ExtractFileFromZip( - // this.txtFile.Text, - // this.txtFolder.Text, - // selectionCriteriaString, - // (ExtractExistingFileAction)this.cmbEEFA.SelectedItem, - // Encoding.GetEncoding((string)this.cmbEnc.SelectedItem), - // this.txtPass.Text); - - //MessageBox.Show(uz.StatusMSG, "サマリ", - // MessageBoxButtons.OK, MessageBoxIcon.Information); - - //CustMsgBox custMsgBox = new CustMsgBox("サマリ(解凍)", uz.StatusMSG, SystemIcons.Information); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - CustMsgBox custMsgBox = new CustMsgBox(ResourceMgr.GetString("Error0003"), uz.StatusMSG, SystemIcons.Information); - custMsgBox.ShowDialog(); - } - catch(Exception ex) - { - //MessageBox.Show(ex.Message, "エラーが発生しました。", MessageBoxButtons.OK, MessageBoxIcon.Error); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - MessageBox.Show(ex.Message, ResourceMgr.GetString("E0001"), MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - - /// チェック処理 - private void CheckComp_DeComp() - { - if (string.IsNullOrEmpty(this.txtFolder.Text)) - { - //throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), "フォルダ パス")); - //For internationalization, Replaced all the Japanese language exception messages with GetMessage.GetMessageDescription() method call - throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), GetMessage.GetMessageDescription("M0001"))); - } - - if(string.IsNullOrEmpty(this.txtFile.Text)) - { - //throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), "ファイル パス")); - //For internationalization, Replaced all the Japanese language exception messages with GetMessage.GetMessageDescription() method call - throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), GetMessage.GetMessageDescription("M0002"))); - } - } - - #region いろいろ選択 - - /// フォルダ選択 - private void btnSelectFolder_Click(object sender, EventArgs e) - { - this.folderBrowserDialog1.ShowDialog(); - this.txtFolder.Text = folderBrowserDialog1.SelectedPath; - } - - /// ファイル選択 - private void btnSelectSaveFile_Click(object sender, EventArgs e) - { - //if (this.tabZipUnZip.SelectedTab.Text == "圧縮") - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - if (this.tabZipUnZip.SelectedTab.Text == ResourceMgr.GetString("T0001")) - { - // 保存 - this.saveFileDialog1.DefaultExt = ""; - this.saveFileDialog1.ShowDialog(); - this.txtFile.Text = saveFileDialog1.FileName; - } - else - { - // 開く - //this.openFileDialog1.Filter = "ZIPファイル|*.zip"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - this.openFileDialog1.Filter = ResourceMgr.GetString("EXT0001"); - - this.openFileDialog1.ShowDialog(); - this.txtFile.Text = openFileDialog1.FileName; - } - } - - /// 拡張子選択 - private void cbxExt_CheckedChanged(object sender, EventArgs e) - { - if (((CheckBox)sender).Checked == true) - { - this.txtExt.Enabled = true; - } - else - { - this.txtExt.Enabled = false; - } - } - - /// 形式選択 - private void cmbFormat_CheckedChanged(object sender, EventArgs e) - { - if (((CheckBox)sender).Checked == true) - { - this.cmbFormat.Enabled = true; - } - else - { - this.cmbFormat.Enabled = false; - } - } - - #endregion - - #endregion - - #region マニュフェスト - - /// ZIPを追加する - private void btnAddZIPFile_Click(object sender, EventArgs e) - { - this.openFilesDialog1.Reset(); // ごみを消去 - this.openFilesDialog1.ShowDialog(); - string[] zipFiles = this.openFilesDialog1.FileNames; - - foreach (string zipFile in zipFiles) - { - // 追加済みフラグ - bool isAdded = false; - - if (zipFile.Substring(zipFile.Length - 4, 4).ToLower() == ".zip") - { - foreach (string temp in this.lbxZIPFiles.Items) - { - // 追加済みフラグ - if (temp == zipFile) - { - isAdded = true; - } - } - - // 追加済みで無い場合。 - if (!isAdded) - { - this.lbxZIPFiles.Items.Add(zipFile); - } - } - } - } - - /// ZIPを削除する - private void btnRemoveZIPFile_Click(object sender, EventArgs e) - { - this.lbxZIPFiles.Items.Remove( - this.lbxZIPFiles.SelectedItem); - } - - /// マニュフェストファイルを生成 - private void btnCreateManifesto_Click(object sender, EventArgs e) - { - try - { - if (this.lbxZIPFiles.Items.Count ==0) - { - //throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), "ZIPファイル")); - //For internationalization, Replaced all the Japanese language exception messages with GetMessage.GetMessageDescription() method call - throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), GetMessage.GetMessageDescription("M0003"))); - } - - if (string.IsNullOrEmpty(this.txtInsDir.Text)) - { - //throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), "インストール ディレクトリ")); - //For internationalization, Replaced all the Japanese language exception messages with GetMessage.GetMessageDescription() method call - throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), GetMessage.GetMessageDescription("M0004"))); - } - - if (string.IsNullOrEmpty(this.txtExeName.Text)) - { - //throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), "EXE名(パス)")); - //For internationalization, Replaced all the Japanese language exception messages with GetMessage.GetMessageDescription() method call - throw new Exception(string.Format(GetMessage.GetMessageDescription("E0007"), GetMessage.GetMessageDescription("M0005"))); - } - - // 保存 - this.saveFileDialog1.Reset(); // ごみを消去 - this.saveFileDialog1.DefaultExt = "mft"; - this.saveFileDialog1.ShowDialog(); - - using (StreamWriter sw = new StreamWriter( - saveFileDialog1.FileName, false, Encoding.GetEncoding(CustomEncode.UTF_8))) - { - sw.WriteLine("ins " + this.txtInsDir.Text); - sw.WriteLine("exe " + this.txtExeName.Text); - - foreach (string zipFile in this.lbxZIPFiles.Items) - { - string[] temp = zipFile.Split('\\'); - - sw.WriteLine("zip " + temp[temp.Length - 1]); - sw.WriteLine("md5 " + Program.GetMD5Hash(zipFile)); - } - } - } - catch (Exception ex) - { - //MessageBox.Show(ex.Message, "エラーが発生しました。", MessageBoxButtons.OK, MessageBoxIcon.Error); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - MessageBox.Show(ex.Message, ResourceMgr.GetString("E0001"), MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - - #endregion - - #region 更新チェック&インストール - - /// 更新チェック&インストール - private void btnCheckUpdateAndInstall_Click(object sender, EventArgs e) - { - // エントリを生成 - Entry entry = new Entry(); - - entry.WWWURL = txtURL.Text; - entry.WWWUID = txtUID.Text; - entry.WWWPWD = txtPWD.Text; - entry.WWWDomain = txtDomain.Text; - //--- - entry.ProxyURL = txtProxyURL.Text; - entry.ProxyUID = txtProxyUID.Text; - entry.ProxyPWD = txtProxyPWD.Text; - entry.ProxyDomain = txtProxyDomain.Text; - - // エントリを保存 - Program.SaveCurrent(entry); - - // 履歴をロード - this.LoadHistories(); - - #region 更新処理の実行 - - // 非同期呼び出し - Program.Af = new MyBaseAsyncFunc(this.panel1); - - // 非同期処理本体デレゲード - Program.Af.AsyncFunc = new BaseAsyncFunc.AsyncFuncDelegate(Program.ExecUpdate); - - // 進捗報告・無名関数デレゲード - Program.Af.ChangeProgress = delegate(object param) - { - this.Status = ((ChangeProgressParameter)param).Status; - this.Refresh(); - }; - - // 結果設定・無名関数デレゲード - Program.Af.SetResult = delegate(object retVal) - { - if (retVal is MyException) - { - // 戻し - Program.Recover(); - - // メッセージ表示時 - MyException my_ex = (MyException)retVal; - string message = my_ex.Message; - - // ログ出力用のフィールドがあるか?ないか? - if (string.IsNullOrEmpty(my_ex.ToLog)) - { - Program.OutPutMessage(message, LogLevel.InfoLog); - } - else - { - Program.OutPutMessage(message + "\r\n" + my_ex.ToLog, LogLevel.InfoLog); - } - - //MessageBox.Show(message, "メッセージ", MessageBoxButtons.OK, MessageBoxIcon.Information); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - MessageBox.Show(message, ResourceMgr.GetString("M0001"), MessageBoxButtons.OK, MessageBoxIcon.Information); - } - else if (retVal is Exception) - { - // 戻し - Program.Recover(); - - // 例外発生時 - string message = ""; - Exception ex = (Exception)retVal; - - //message += "<メッセージ>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0002") + "\r\n"; - message += ex.Message; - message += "\r\n"; - - message += "\r\n"; - //message += "<スタック トレース>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0003") + "\r\n"; - message += ex.StackTrace; - message += "\r\n"; - - if (ex.InnerException != null) - { - message += "\r\n"; - //message += "<内部例外>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0004") + "\r\n"; - message += ex.InnerException.ToString(); - message += "\r\n"; - } - - Program.OutPutMessage(message, LogLevel.ErrorLog); - - //CustMsgBox custMsgBox = new CustMsgBox("エラー", message, SystemIcons.Error); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - CustMsgBox custMsgBox = new CustMsgBox(ResourceMgr.GetString("Error0001"), string.Format(message), SystemIcons.Error); - custMsgBox.ShowDialog(); - } - else - { - // 正常終了 - - // 履歴を保存 - Program.SaveHistories(); - - // エントリ・履歴の復元する。 - this.LoadBins(); - } - - // テンポラリの削除 - File.Delete(Program.OrgCurrentDirectory + Program.TempMftFileName); - - // GCでZIPが解放される可能性 - //GC.Collect(); - Program.system_gc_collecting(); - try - { - File.Delete(Program.OrgCurrentDirectory + Program.TempZipFileName); - } - catch (Exception ex) - { - // 例外を潰してログに出力 - //Program.OutPutMessage(Program.TempZipFileName + "削除例外:" + ex.ToString(), LogLevel.ErrorLog); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Program.OutPutMessage(Program.TempZipFileName + ResourceMgr.GetString("E0002") + ex.ToString(), LogLevel.ErrorLog); - } - }; - - // 非同期処理を開始させる。 - Program.Af.Parameter = entry; - - if (Program.Af.Start()) - { - //this.xxx(string.Format( - // "キューイングされました、現在のスレッド数:{0}", - // BaseAsyncFunc.ThreadCount.ToString())); - } - else - { - //this.xxx(string.Format( - // "非同期スレッドが最大数に達しています。:{0}", - // BaseAsyncFunc.ThreadCount.ToString())); - } - - #endregion - } - - #endregion - - /// 履歴を消す - private void btnDelHistory_Click(object sender, EventArgs e) - { - // 削除対象エントリ - Entry entry = null; - - // 履歴を消す - foreach (Entry temp in Program.Histories) - { - // 履歴に一致 - if (this.cmbHistorys.Text == temp.WWWURL) - { - entry = temp; - } - } - - if (entry != null) - { - // 履歴を更新 - Program.Histories.Remove(entry); - // 履歴を保存 - Program.SaveHistories(); - - // 画面を変更 - - // コンボボックス - this.LoadHistories(); - - // テキストボックス - this.txtURL.Text = ""; - this.txtUID.Text = ""; - this.txtPWD.Text = ""; - this.txtDomain.Text = ""; - - this.txtProxyURL.Text = ""; - this.txtProxyUID.Text = ""; - this.txtProxyPWD.Text = ""; - this.txtProxyDomain.Text = ""; - } - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.ja-JP.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.ja-JP.resx deleted file mode 100644 index 1d52a61fe..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.ja-JP.resx +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ステータス - - - ZIPファイル|*.zip - - - 削除 - - - - 59, 13 - - - 設定ロード - - - 更新をチェックしてインストール - - - 42, 13 - - - ドメイン - - - 54, 13 - - - パスワード - - - 48, 13 - - - ユーザID - - - WWWサーバ - - - 42, 13 - - - ドメイン - - - 54, 13 - - - パスワード - - - 48, 13 - - - ユーザID - - - Proxyサーバ - - - HTTPでデプロイ - - - 42, 13 - - - フォルダ - - - 53, 13 - - - ファイル名 - - - 選択 - - - 除外拡張子 - - - 選択 - - - 404, 11 - - - チェック有り:指定ZIPファイル名をルートZIP内フォルダに含めない(ルート フォルダからの圧縮)。 - - - 390, 15 - - - チェック無し:指定ZIPファイル名をルートZIP内フォルダに含める(個別のフォルダ圧縮)。 - - - 圧縮 - - - 31, 13 - - - 形式 - - - 43, 13 - - - 暗号化 - - - 43, 13 - - - 圧縮Lv - - - 圧縮 - - - 解凍 - - - 64, 13 - - - 上書き動作 - - - 解凍(テスト) - - - 38, 13 - - - 解パス - - - Zipパッケージを作成 - - - 374, 13 - - - EXE名(パス)はカンマ区切りで指定可能で、先頭のEXEが起動の対象となる。 - - - 383, 13 - - - 起動するEXEのパスは、[インストール ディレクトリ] + [EXE名(パス)]で構成される。 - - - 413, 13 - - - インストール ディレクトリには環境変数を指定可能:%USERPROFILE%\XXX\YYY\ZZZ - - - 114, 13 - - - インストール ディレクトリ - - - 71, 13 - - - EXE名(パス) - - - マニュフェストファイルを作成する - - - 削除する - - - 追加する - - - 配置マニュフェストを作成 - - - - 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 - AP//AAD///AA///wAP//8AD///AA/w== - - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.resx deleted file mode 100644 index 1e7a71f84..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form1.resx +++ /dev/null @@ -1,1922 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - 11 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Status - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - gbxWWW - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPageZip - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPageManifesto - - - 17 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 6 - - - lblPWD - - - lblProxyUID - - - tabPageManifesto - - - - 292, 20 - - - 4, 22 - - - btnRemoveZIPFile - - - 15, 16 - - - 4, 22 - - - 1 - - - 2 - - - True - - - btnSelectSaveFile - - - 18 - - - 0 - - - 7 - - - 87, 72 - - - 6 - - - tabPageZip - - - 0 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - gbxProxy - - - Thawing - - - Password - - - txtPass - - - 4 - - - True - - - 70, 13 - - - 331, 20 - - - 19, 122 - - - tabPageDeployWithHTTP - - - 9, 133 - - - 69, 27 - - - 11 - - - tabPageZipPackage - - - False - - - cbxRootDir - - - 19, 230 - - - 6, 148 - - - 89, 25 - - - gbxProxy - - - tabPageZip - - - Installation directory - - - lblFolder - - - True - - - 43, 13 - - - 19, 207 - - - 87, 13 - - - 5 - - - 19, 291 - - - 106, 13 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4, 16 - - - gbxProxy - - - 430, 193 - - - txtProxyUID - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 1 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 6 - - - Exclusion extension - - - 7 - - - 332, 35 - - - 10 - - - MS UI Gothic, 8.25pt - - - 6 - - - 415, 25 - - - 93, 10 - - - User ID - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 5, 404 - - - 18, 77 - - - 18 - - - DeployZipPackWithHTTP - - - 1 - - - * - - - 4, 22 - - - $this - - - 0 - - - cmbEnc - - - 1 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 8 - - - txtExt - - - 5 - - - 43, 13 - - - 87, 101 - - - 9 - - - 3 - - - - 3, 3, 3, 3 - - - saveFileDialog1 - - - tabPageDeployWithHTTP - - - tabPageUnZip - - - 424, 25 - - - True - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - * - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 331, 20 - - - True - - - gbxWWW - - - tabDeployZipPac - - - 94, 64 - - - 6, 321 - - - 19, 67 - - - 9 - - - 12 - - - 3 - - - 15, 142 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Selection - - - tabPageZipPackage - - - 29, 13 - - - tabPageDeployWithHTTP - - - 540, 15 - - - Load settings - - - gbxProxy - - - 1 - - - 337, 21 - - - 5 - - - tabPageZipPackage - - - Compression - - - txtUID - - - 6, 13 - - - 0 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 245, 21 - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - openFilesDialog1 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - Deployed in HTTP - - - ZIP file |. * Zip - - - * - - - I want to create a manifest file - - - True - - - lblPass - - - tabPageManifesto - - - lblUID - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPageZipPackage - - - 43, 13 - - - 2 - - - 3 - - - 19, 277 - - - 53, 13 - - - 2 - - - gbxWWW - - - System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - EXE name (path) - - - Compression Lv - - - 2, 10 - - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 396, 66 - - - lblFile - - - True - - - 3, 3, 3, 3 - - - True - - - 19, 48 - - - 6, 35 - - - 0 - - - 19, 75 - - - 1 - - - 4 - - - 2, 66 - - - 2 - - - 0 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - File name - - - gbxWWW - - - False - - - 4 - - - 19, 94 - - - tabPageManifesto - - - 331, 20 - - - 7 - - - 8 - - - 21 - - - lblStatus - - - * - - - 4 - - - 8 - - - 3 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - lblHistorys - - - 12 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.FolderBrowserDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 86, 25 - - - (Folder compression of individual) to be included in the root folder in the ZIP specified ZIP file name: unchecked. - - - euc-jp - - - True - - - 58, 28 - - - 2 - - - 5 - - - 422, 167 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 43, 13 - - - 442, 353 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - cbxExt - - - 2 - - - panel1 - - - tabPageZipPackage - - - NoControl - - - 18, 50 - - - 100, 13 - - - txtInsDir - - - lblEEFA - - - 5 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPageZipPackage - - - btnSelectFolder - - - 13 - - - 25, 114 - - - 2 - - - gbxProxy - - - 7 - - - 69, 13 - - - tabPageZipPackage - - - cmbHistorys - - - 331, 20 - - - 1 - - - True - - - User ID - - - True - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - To create a deployment manifest - - - 44, 13 - - - Selection - - - tabZipUnZip - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 0 - - - 8 - - - cmbFormat - - - 87, 74 - - - % USERPROFILE% \ XXX \ YYY \ ZZZ: you can specify the environment variable to the installation directory - - - tabPageManifesto - - - 331, 20 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnDelHistory - - - gbxWWW - - - Overwrite operation - - - False - - - True - - - 52, 13 - - - Format - - - 0 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - 5 - - - WWW server - - - txtDomain - - - 13 - - - lblEnc - - - btnCompress - - - 15, 171 - - - 87, 99 - - - System.Windows.Forms.SaveFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - tabPageManifesto - - - tabPageZip - - - lblProxyPWD - - - System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - label2 - - - Domain - - - 39, 13 - - - tabPageZip - - - True - - - Domain - - - 29, 13 - - - 0 - - - tabPageUnZip - - - 19, 104 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 19 - - - 4, 22 - - - lblFormat - - - 19, 40 - - - txtFolder - - - tabPageZip - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 19 - - - - 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 - AP//AAD///AA///wAP//8AD///AA/w== - - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4, 22 - - - tabPageDeployWithHTTP - - - tabDeployZipPac - - - 15, 14 - - - True - - - True - - - tabPageManifesto - - - 5 - - - 4 - - - Solution path - - - System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 306, 20 - - - lblExeName - - - 19, 102 - - - 11 - - - True - - - lblRootDirCheck - - - Encryption - - - 94, 119 - - - 6 - - - 8 - - - lblProxyURL - - - 12 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 94, 10 - - - 8 - - - 6, 174 - - - tabPageZipPackage - - - tabPageZipPackage - - - tabPageZipPackage - - - lblExt - - - 3 - - - 19, 13 - - - 3 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 87, 47 - - - tabPageZip - - - 19, 23 - - - label1 - - - 1 - - - The path of the EXE to start is made in the installation directory] + [(path) EXE name. - - - 450, 379 - - - 2 - - - 9, 133 - - - 53, 63 - - - 138, 226 - - - 20 - - - 6 - - - 18 - - - 8 - - - 462, 392 - - - 99, 13 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 89, 25 - - - * - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 406, 67 - - - 11 - - - 19 - - - 19, 249 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - btnAddZIPFile - - - tabPageManifesto - - - shift_jis - - - 424, 133 - - - 420, 28 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Add - - - Folder - - - 312, 21 - - - True - - - 450, 16 - - - tabPageManifesto - - - tabPageZip - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - gbxProxy - - - 9 - - - cmbCmpLv - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - gbxWWW - - - 331, 20 - - - tabPageManifesto - - - 57, 13 - - - 3 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Create a Zip package - - - lblProxyDomain - - - 232, 20 - - - tabPageZipPackage - - - txtURL - - - True - - - 2 - - - 23 - - - 327, 20 - - - gbxWWW - - - 4 - - - 402, 25 - - - 0 - - - 23 - - - 3 - - - 0 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 10 - - - 10 - - - 19, 21 - - - 138, 204 - - - 94, 37 - - - Delete - - - 5 - - - 6, 7 - - - 380, 25 - - - 10 - - - tabPageDeployWithHTTP - - - Remove - - - 403, 13 - - - True - - - 15, 14 - - - False - - - 327, 21 - - - 600, 11 - - - URL - - - Install it check for updates - - - 2 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4 - - - tabPageZipPackage - - - 358, 21 - - - 24, 13 - - - 3 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 87, 17 - - - 415, 25 - - - utf-8 - - - 7 - - - panel1 - - - 0 - - - 1 - - - 0 - - - 87, 20 - - - lblCyp - - - 61, 7 - - - 87, 44 - - - True - - - 15 - - - 3, 38 - - - 16 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabPageUnZip - - - btnCheckUpdateAndInstall - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - EXE name (path) to be specified in a comma-separated, EXE the first is subject to activation. - - - tabPageZipPackage - - - gbxProxy - - - 7 - - - $this - - - txtProxyDomain - - - 6 - - - gbxProxy - - - True - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 7 - - - 53, 13 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 9 - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 15, 319 - - - lblURL - - - txtExeName - - - 424, 133 - - - 1 - - - openFileDialog1 - - - 415, 121 - - - gbxProxy - - - tabPageZip - - - 0 - - - 10 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tabDeployZipPac - - - 1 - - - 9 - - - cbxFormat - - - 9 - - - tabPageZip - - - tabPageManifesto - - - Thawing (test) - - - tabPageZipPackage - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 344, 8 - - - txtProxyURL - - - 358, 21 - - - 36, 13 - - - 2 - - - lblCmpLv - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 14 - - - 6 - - - 8, 91 - - - 4 - - - cmbCyp - - - 464, 427 - - - 9 - - - (Compression from the root folder) that you do not want to include in the root folder in the ZIP ZIP file name specified: Checked. - - - 8 - - - Proxy server - - - folderBrowserDialog1 - - - 14 - - - 7 - - - 442, 353 - - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 331, 20 - - - lblDomain - - - txtFile - - - 7 - - - 292, 20 - - - gbxWWW - - - txtPWD - - - tabZipUnZip - - - 94, 91 - - - tabPageDeployWithHTTP - - - tabPageUnZip - - - gbxWWW - - - 9 - - - MS UI Gothic, 8.25pt - - - cmbEEFA - - - tabZipUnZip - - - label3 - - - btnDecomp - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Encode - - - 3, 3, 3, 3 - - - URL - - - 1, 2 - - - 415, 25 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Form1 - - - Compression - - - tabPageManifesto - - - 331, 20 - - - 3, 3, 3, 3 - - - 1 - - - 0 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 232, 20 - - - 5 - - - 61, 35 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - lbxZIPFiles - - - 2 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 442, 353 - - - tabDeployZipPac - - - 0 - - - btnCreateManifesto - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 422, 167 - - - tabPageZipPackage - - - Password - - - 4 - - - 0 - - - 6 - - - tabPageZip - - - lblInsDir - - - tabPageDeployWithHTTP - - - 5 - - - 7 - - - 332, 8 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 6 - - - txtProxyPWD - - - 0 - - - 433, 26 - - - True - - - 178, 17 - - - 441, 17 - - - 309, 17 - - - 17, 17 - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.Designer.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.Designer.cs deleted file mode 100644 index 1f6138575..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.Designer.cs +++ /dev/null @@ -1,77 +0,0 @@ -namespace DeployZipPackWithHTTP -{ - partial class Form2 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2)); - this.panel1 = new System.Windows.Forms.Panel(); - this.lblStatus = new System.Windows.Forms.Label(); - this.progressBar1 = new System.Windows.Forms.ProgressBar(); - this.panel1.SuspendLayout(); - this.SuspendLayout(); - // - // panel1 - // - this.panel1.Controls.Add(this.lblStatus); - this.panel1.Controls.Add(this.progressBar1); - resources.ApplyResources(this.panel1, "panel1"); - this.panel1.Name = "panel1"; - // - // lblStatus - // - resources.ApplyResources(this.lblStatus, "lblStatus"); - this.lblStatus.Name = "lblStatus"; - // - // progressBar1 - // - resources.ApplyResources(this.progressBar1, "progressBar1"); - this.progressBar1.Name = "progressBar1"; - // - // Form2 - // - resources.ApplyResources(this, "$this"); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.panel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "Form2"; - this.Load += new System.EventHandler(this.Form2_Load); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Label lblStatus; - private System.Windows.Forms.ProgressBar progressBar1; - } -} \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.cs deleted file mode 100644 index 5b876640e..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.cs +++ /dev/null @@ -1,399 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :Form2 -//* クラス日本語名 :サブ画面(CUIの進捗報告画面) -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/06/17 西野 大介 新規作成 -//* 2011/07/01 西野 大介 最後に進捗が100%になるように変更 -//* 2011/07/01 西野 大介 コマンドライン引数のハッシュキーを全て大文字化 -//* 2011/08/01 西野 大介 タイトルをメッセージ定義から取得するように変更。 -//* 2011/08/01 西野 大介 最大化、最小化、閉じるボタンを無効にした。 -//* 2011/08/01 西野 大介 最後、自身を閉じる(非同期待機時間を設定可能に) -//* 2011/08/01 西野 大介 /QUIET クワイエット モードを追加した。 -//* 2011/08/01 西野 大介 進捗値の進み具合を調整した。 -//* 2011/08/01 西野 大介 ステータスの書き込み(終了時) -//* 2011/08/30 西野 大介 異常終了時に退避ディレクトリからリカバリ。 -//* 2011/08/30 西野 大介 テンポラリの削除処理を追加した(例外処理を追加)。 -//* 2011/08/30 西野 大介 Exceptionではメッセージ表示しないよう修正した。 -//* 2011/09/05 西野 大介 GCするコードを追加→修正(解凍ZIPがCloseされないため) -//* 2011/09/08 西野 大介 リカバリ処理のログ出力位置の変更 -//* (リカバリしない時ログを出力しないよう変更)。 -//* 2011/09/12 西野 大介 画面表示せず、ログ出力のみする例外処理方式を追加 -//* 2014/04/26 Sai Replaced all the Japanese language in both UI and code with ResorceManager.GetString() method call -//* 2020/08/03 西野 大介 NETCOREAPP対応 -//********************************************************************************** - -using System; -using System.IO; -using System.Collections.Generic; -using System.Threading; -using System.Security.Permissions; -using System.Resources; -using System.Windows.Forms; - -using Touryo.Infrastructure.Business.RichClient.Asynchronous; -using Touryo.Infrastructure.Framework.RichClient.Asynchronous; -using Touryo.Infrastructure.Framework.Util; -using Touryo.Infrastructure.Public.Util; - -namespace DeployZipPackWithHTTP -{ - public partial class Form2 : Form - { - /// - private List ValsLst; - /// コマンド・値 - private Dictionary ArgsDic; - - /// ステータス表示用 - public string Status - { - set - { - this.lblStatus.Text = value; - } - get - { - return this.lblStatus.Text; - } - } - - /// - /// Getting ResourceManager instance from Resources to apply internationalization - /// - private ResourceManager ResourceMgr - { - get - { - return Resources.Resource.ResourceManager; - } - } - - /// コンストラクタ - /// 値 - /// コマンド・値 - public Form2(List valsLst, Dictionary argsDic) - { - InitializeComponent(); - - this.ValsLst = valsLst; - this.ArgsDic = argsDic; - - // タイトルの設定 - string temp - = GetMessage.GetMessageDescription("I0000"); - - if (string.IsNullOrEmpty(temp)) - { - // IsNullOrEmptyの場合はデフォルト - } - else - { - // タイトルを設定した。 - this.Text = temp; - } - } - - /// Form2_Load - private void Form2_Load(object sender, EventArgs e) - { - // コマンドの確認 - Program.ConfirmCommand(this.ValsLst, this.ArgsDic); - - // エントリを生成 - Entry entry = new Entry(); - - // コマンドラインから各値を取得する。 - entry.WWWURL = Program.NullToEmptyString(this.ArgsDic, "/WWWURL"); - entry.WWWUID = Program.NullToEmptyString(this.ArgsDic, "/WWWUID"); - entry.WWWPWD = Program.NullToEmptyString(this.ArgsDic, "/WWWPWD"); - entry.WWWDomain = Program.NullToEmptyString(this.ArgsDic, "/WWWDOMAIN"); - //--- - entry.ProxyURL = Program.NullToEmptyString(this.ArgsDic, "/PROXYURL"); - entry.ProxyUID = Program.NullToEmptyString(this.ArgsDic, "/PROXYUID"); - entry.ProxyPWD = Program.NullToEmptyString(this.ArgsDic, "/PROXYPWD"); - entry.ProxyDomain = Program.NullToEmptyString(this.ArgsDic, "/PROXYDOMAIN"); - - //// エントリを保存 - //Program.SaveCurrent(entry); - - // 履歴をロード - Program.LoadHistories(); - - #region 更新処理の実行 - - // 非同期呼び出し - Program.Af = new MyBaseAsyncFunc(this.panel1); - - // 非同期処理本体デレゲード - Program.Af.AsyncFunc = new BaseAsyncFunc.AsyncFuncDelegate(Program.ExecUpdate); - - // 進捗報告・無名関数デレゲード - Program.Af.ChangeProgress = delegate(object param) - { - ChangeProgressParameter cpp = (ChangeProgressParameter)param; - - this.Status = cpp.Status; - - // 知的でないプログレス的なもの - int progressVal = this.progressBar1.Value + cpp.ProgressVal; - if (progressVal < this.progressBar1.Maximum - 5) - { - // 95%を超えない場合、変更する。 - this.progressBar1.Value = progressVal; - } - else - { - // 95%を超える場合、変更しない。 - } - - this.Refresh(); - }; - - // 結果設定・無名関数デレゲード - Program.Af.SetResult = delegate(object retVal) - { - if (retVal is MyException) - { - // 戻し - Program.Recover(); - - // メッセージ表示時 - MyException my_ex = (MyException)retVal; - string message = my_ex.Message; - - // ログ出力用のフィールドがあるか?ないか? - if (string.IsNullOrEmpty(my_ex.ToLog)) - { - Program.OutPutMessage(message, LogLevel.InfoLog); - } - else - { - Program.OutPutMessage(message + "\r\n" + my_ex.ToLog, LogLevel.InfoLog); - } - - // ステータスを書き込む - //this.Status = "正常終了"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - this.Status = ResourceMgr.GetString("S0001"); - if (ArgsDic.ContainsKey("/QUIET")) - { - // メッセージ表示しない - } - else - { - // メッセージ表示する - //MessageBox.Show(message, "メッセージ", MessageBoxButtons.OK, MessageBoxIcon.Information); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - MessageBox.Show(message, ResourceMgr.GetString("M0001"), MessageBoxButtons.OK, MessageBoxIcon.Information); - } - } - else if (retVal is Exception) - { - // 戻し - Program.Recover(); - - // 例外発生時 - string message = ""; - Exception ex = (Exception)retVal; - - //message += "<メッセージ>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0002") + "\r\n"; - message += ex.Message; - message += "\r\n"; - - message += "\r\n"; - //message += "<スタック トレース>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0003") + "\r\n"; - message += ex.StackTrace; - message += "\r\n"; - - if (ex.InnerException != null) - { - message += "\r\n"; - //message += "<内部例外>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0004") + "\r\n"; - message += ex.InnerException.ToString(); - message += "\r\n"; - } - - Program.OutPutMessage(message, LogLevel.ErrorLog); - - // ステータスを書き込む - //this.Status = "異常終了"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - this.Status = ResourceMgr.GetString("S0002"); - - // Exceptionではメッセージ表示しない。 - - //if (ArgsDic.ContainsKey("/QUIET")) - //{ - // // メッセージ表示しない - //} - //else - //{ - // // メッセージ表示する - // CustMsgBox custMsgBox = new CustMsgBox( - // "エラー", message, SystemIcons.Error); - - // custMsgBox.ShowDialog(); - //} - } - else - { - // 正常終了 - - // ステータスを書き込む - //this.Status = "正常終了"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - this.Status = ResourceMgr.GetString("S0001"); - - // 履歴を保存 - Program.SaveHistories(); - } - - // 進捗を100%に変更 - this.progressBar1.Value = 100; - - // テンポラリの削除 - File.Delete(Program.OrgCurrentDirectory + Program.TempMftFileName); - - // GCでZIPが解放される可能性 - //GC.Collect(); - Program.system_gc_collecting(); - try - { - File.Delete(Program.OrgCurrentDirectory + Program.TempZipFileName); - } - catch(Exception ex) - { - // 例外を潰してログに出力 - //Program.OutPutMessage(Program.TempZipFileName + "削除例外:" + ex.ToString(), LogLevel.ErrorLog); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Program.OutPutMessage(Program.TempZipFileName + ResourceMgr.GetString("E0002") + ex.ToString(), LogLevel.ErrorLog); - } - - // 終了処理 - this.BeginInvoke(new MethodInvoker(FinalBeginInvoke)); - }; - - // 非同期処理を開始させる。 - Program.Af.Parameter = entry; - - if (Program.Af.Start()) - { - //this.xxx(string.Format( - // "キューイングされました、現在のスレッド数:{0}", - // BaseAsyncFunc.ThreadCount.ToString())); - } - else - { - //this.xxx(string.Format( - // "非同期スレッドが最大数に達しています。:{0}", - // BaseAsyncFunc.ThreadCount.ToString())); - } - - #endregion - } - - /// 終了処理(3秒待って終了) - private void FinalBeginInvoke() - { - // 非同期呼び出し - Program.Af = new MyBaseAsyncFunc(this.panel1); - - // 非同期処理本体デレゲード - Program.Af.AsyncFunc = delegate(object o) - { - // 指定時間スリープ - string temp = GetConfigParameter.GetConfigValue("PDWSleepSec"); - - if (!string.IsNullOrEmpty(temp)) - { - int sleepSec = 0; - if (int.TryParse(temp, out sleepSec)) - { - // 指定の時間スリープ - Thread.Sleep(sleepSec * 1000); - } - } - - return null; - }; - - // 進捗報告・無名関数デレゲード - Program.Af.ChangeProgress = null; - - // 結果設定・無名関数デレゲード - Program.Af.SetResult = delegate(object retVal) - { - // スリープの後、自身を閉じる。 - this.Close(); - }; - - // 非同期処理を開始させる。 - Program.Af.Parameter = null; - - if (Program.Af.Start()) - { - //this.xxx(string.Format( - // "キューイングされました、現在のスレッド数:{0}", - // BaseAsyncFunc.ThreadCount.ToString())); - } - else - { - //this.xxx(string.Format( - // "非同期スレッドが最大数に達しています。:{0}", - // BaseAsyncFunc.ThreadCount.ToString())); - } - } - - /// - /// 閉じるボタンの無効化 - /// http://dobon.net/vb/dotnet/form/disabledclosebutton.html - /// - /// Windowメッセージ - [SecurityPermission( - SecurityAction.LinkDemand, - Flags = SecurityPermissionFlag.UnmanagedCode)] - protected override void WndProc(ref Message m) - { - const int WM_SYSCOMMAND = 0x112; - const int SC_CLOSE = 0xF060; - - if (m.Msg == WM_SYSCOMMAND && m.WParam.ToInt32() == SC_CLOSE) - { - return; - } - - base.WndProc(ref m); - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.ja-JP.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.ja-JP.resx deleted file mode 100644 index 2da80c190..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.ja-JP.resx +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - 52, 13 - - - ステータス - - - - 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 - AP//AAD///AA///wAP//8AD///AA/w== - - - - 更新確認進捗ダイアログ - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.resx deleted file mode 100644 index 0dd307fa4..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Form2.resx +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - True - - - - 12, 51 - - - 37, 13 - - - 1 - - - Status - - - lblStatus - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - panel1 - - - 0 - - - 14, 15 - - - 241, 25 - - - 0 - - - progressBar1 - - - System.Windows.Forms.ProgressBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - panel1 - - - 1 - - - 12, 13 - - - 273, 77 - - - 0 - - - panel1 - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 0 - - - ja-JP - - - True - - - 6, 13 - - - 295, 103 - - - - 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 - AP//AAD///AA///wAP//8AD///AA/w== - - - - Update confirmation dialog progress - - - Form2 - - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml deleted file mode 100644 index b443b2c36..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Log4DeployZipPackWithHTTP.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/LogLevel.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/LogLevel.cs deleted file mode 100644 index 457d282d1..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/LogLevel.cs +++ /dev/null @@ -1,44 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :LogLevel -//* クラス日本語名 :ログレベル -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/xx/xx 西野 大介 新規作成 -//********************************************************************************** - -namespace DeployZipPackWithHTTP -{ - /// ログ・レベル - public enum LogLevel - { - DebugLog, - InfoLog, - WarnLog, - ErrorLog, - FatalLog - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition.xml b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition.xml deleted file mode 100644 index 8722362de..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition_ja-JP.xml b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition_ja-JP.xml deleted file mode 100644 index c20d2bcc8..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MSGDefinition_ja-JP.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MyException.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MyException.cs deleted file mode 100644 index a188d4be7..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/MyException.cs +++ /dev/null @@ -1,65 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :MyException -//* クラス日本語名 :独自エクセプション -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/xx/xx 西野 大介 新規作成 -//* 2011/09/12 西野 大介 画面表示せず、ログ出力のみする例外処理方式を追加 -//********************************************************************************** - -using System; - -namespace DeployZipPackWithHTTP -{ - /// 独自エクセプション - public class MyException : Exception - { - /// - /// ログ出力用 - /// - public string ToLog - { - private set; - get; - } - - /// コンストラクタ - /// メッセージ - public MyException(string message) - : base(message) { } - - /// コンストラクタ - /// メッセージ - /// ログ出力用 - public MyException(string message, string toLog) - : base(message) - { - // ログ出力用 - this.ToLog = toLog; - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Program.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Program.cs deleted file mode 100644 index b0f5adfda..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Program.cs +++ /dev/null @@ -1,2282 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :Program -//* クラス日本語名 :エントリポイント -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 2011/04/18 西野 大介 新規作成 -//* 2011/07/01 西野 大介 SelectionCriteriaDlgt2のSplit文字を修正 -//* 2011/07/01 西野 大介 プロキシ設定、プロキシ認証のコードを修正 -//* 2011/07/01 西野 大介 強制モードで、インストール ディレクトリ -//* の削除処理の前に存在チェックを追加した。 -//* 2011/07/01 西野 大介 マニュフェストの起動exeのチェックエラー処理に -//* MyExceptionが使用されていたところを修正。 -//* 2011/07/01 西野 大介 ZIP部位もマニュフェスト ファイル不正例外を使用 -//* 2011/07/01 西野 大介 コマンドライン引数のハッシュキーを全て大文字化 -//* 2011/07/04 西野 大介 インストール ディレクトリ変更は例外に -//* 2011/07/04 西野 大介 アンインストール相当の処理コマンドを追加した。 -//* (ZIPを全て消去する方法ではEXE起動で例外になるので) -//* 2011/07/04 西野 大介 マニュフェスト ファイルのZIPのラインに何も無いとき、 -//* 処理が中断してしまう件を、例外を発生するよう修正 -//* 2011/08/01 西野 大介 /QUIET クワイエット モードを追加した。 -//* 2011/08/01 西野 大介 進捗値の進み具合を調整した。 -//* 2011/08/30 西野 大介 /NB モードを追加した。 -//* 2011/08/30 西野 大介 異常終了時に退避ディレクトリからリカバリ。 -//* 2011/08/30 西野 大介 テンポラリの削除処理を追加した(例外処理を追加)。 -//* 2011/09/01 西野 大介 オープン状態の場合、MyExceptionに振り替える。 -//* 2011/09/01 西野 大介 モジュール比較を大文字化してからに変更。 -//* 2011/09/01 西野 大介 マニュフェストファイルのfinally、Close処理を追加 -//* 2011/09/01 西野 大介 サーバに接続できない場合の例外処理を追加した。 -//* 接続できない場合でEXE起動する場合はログを出力する。 -//* 2011/09/05 西野 大介 GCするコードを追加→修正(解凍ZIPがCloseされないため) -//* 2011/09/05 西野 大介 起動プロセスのウィンドウを最前面にする処理を追加 -//* 2011/09/08 西野 大介 リカバリ処理のログ出力位置の変更 -//* (リカバリしない時ログを出力しないよう変更)。 -//* 2011/09/09 西野 大介 先頭部分でインストール ディレクトリの -//* 読み取り専用属性を消去する処理を追加。 -//* 2011/09/12 西野 大介 画面表示せず、ログ出力のみする例外処理方式を追加 -//* 2014/04/26 Sai Replaced all the Japanese language in both UI and code with ResorceManager.GetString() method call -//* 2014/05/12 Sai Removed and tags, added check while reading FxBusinessMessageCulture from app.config file -//* 2016/01/07 Sandeep Comment out the DefaultWebProxy property, because there is no use of this property in the component -//********************************************************************************** - -using System; -using System.IO; -using System.Net; -using System.Text; -using System.Collections.Generic; -using System.Threading; -using System.Diagnostics; -using System.Security.Cryptography; -using System.Runtime.InteropServices; -using System.Globalization; -using System.Resources; -using System.Windows.Forms; - -using Microsoft.VisualBasic.FileIO; -using Ionic.Zip; - -using Touryo.Infrastructure.Business.RichClient.Asynchronous; -using Touryo.Infrastructure.Framework.Util; -using Touryo.Infrastructure.Public.IO; -using Touryo.Infrastructure.Public.Log; -using Touryo.Infrastructure.Public.Str; -using Touryo.Infrastructure.Public.Util; - - -namespace DeployZipPackWithHTTP -{ - /// メインと共通 - static class Program - { - // DOBON.NET - // > ファイルをバイト型配列に読み込む、バイト型配列をファイルに書き込む - // http://dobon.net/vb/dotnet/file/filestream.html - // > 複数の配列をマージ(合併、連結、合体)する - // http://dobon.net/vb/dotnet/programing/arraymerge.html - // > WebRequest、WebResponseクラスを使ってファイルをダウンロードし保存する - // http://dobon.net/vb/dotnet/internet/webrequestsavefile.html - // > 二重起動を禁止する > Mutexを使用する方法 - // http://dobon.net/vb/dotnet/process/checkprevinstance.html - - /// 二重起動禁止Mutex - private static System.Threading.Mutex _mutex; - - #region フラグ - - /// FORCE実行かどうか - private static bool IsForce = false; - - /// 起動フラグ - private static bool IsBoot = true; - - #endregion - - #region 定数 - - /// カレントファイル - private static readonly string CurrentFileName = "\\current.bin"; - /// 履歴ファイル - private static readonly string HistoryFileName = "\\histories.bin"; - - /// マニュフェスト一時ファイル - public static readonly string TempMftFileName = "\\temp.mft"; - /// ZIP一時ファイル - public static readonly string TempZipFileName = "\\temp.zip"; - - #endregion - - #region 初回・初期化 - - /// カレントディレクトリ - public static string OrgCurrentDirectory = ""; - - #endregion - - #region 都度・初期化 - - /// 履歴情報 - public static List Histories = new List(); - - /// バックアップ(インストール)の有・無 - public static bool HaveBackup = false; - /// インストール ディレクトリを保存 - public static string InstallDirectory = ""; - /// バックアップ ディレクトリを保存 - public static string BackupDirectory = ""; - - /// - /// Getting ResourceManager instance from Resources to apply internationalization - /// - private static ResourceManager ResourceMgr - { - get - { - return Resources.Resource.ResourceManager; - } - } - - #endregion - - #region Win32 - - #region コンソール処理 - - /// - /// Allocates a new console for the calling process. - /// - [DllImport("kernel32.dll")] - private static extern Boolean AllocConsole(); - - /// - /// Attaches the calling process to the console of the specified process. - /// - /// - /// コンソール プロセスのID(-1の場合、親プロセス) - /// - [DllImport("kernel32.dll")] - public static extern Boolean AttachConsole(int dwProcessId); - - /// - /// Detaches the calling process from its console. - /// - [DllImport("kernel32.dll")] - private static extern Boolean FreeConsole(); - - #endregion - - #region ウィンドウ制御 - - static readonly IntPtr HWND_TOPMOST = new IntPtr(-1); - - // Z オーダーだけを目的に使う場合は - // SWP_NOMOVE と SWP_NOSIZE を指定することで - // (x, y), (cx, cy)を無視するようにする. - const uint SWP_NOSIZE = 0x0001; - const uint SWP_NOMOVE = 0x0002; - const uint TOPMOST_FLAGS = (SWP_NOSIZE | SWP_NOMOVE); - - /// - /// 子ウィンドウ、ポップアップウィンドウ、 - /// またはトップレベルウィンドウの - /// サイズ、位置、および Z オーダーを変更。 - /// これらのウィンドウは、その画面上 - /// での表示に従って順序が決められます。 - /// 最前面にあるウィンドウは最も高いランク - /// を与えられ、Z オーダーの先頭に置かれます。 - /// http://msdn.microsoft.com/ja-jp/library/cc411206.aspx - /// - /// ウィンドウハンドル - /// - /// Z オーダーを決めるためのウィンドウハンドル - /// - /// ・HWND_BOTTOM - ///  ウィンドウを Z オーダーの最後に置きます。 - /// - /// ・hWnd - ///  パラメタで指定したウィンドウが最前面の場合、 - ///  このウィンドウは最前面ウィンドウではなくなり、 - ///  ほかのすべてのウィンドウの下に置かれます。 - /// - /// ・HWND_NOTOPMOST - ///  ウィンドウを最前面ウィンドウ以外のすべてのウィンドウの前 - ///  (つまり、すべての最前面ウィンドウの後ろ)に挿入します。 - ///   - ///  hWnd パラメータで指定したウィンドウが - ///  既に最前面ウィンドウではなかった場合、 - ///  このフラグは意味を持ちません。 - ///   - /// ・HWND_TOP - ///  ウィンドウを Z オーダーの先頭に置きます。 - ///   - /// ・HWND_TOPMOST - ///  ウィンドウを最前面ウィンドウではない - ///  すべてのウィンドウの前に挿入します。 - ///  このウィンドウは、アクティブでない - ///  ときにも最前面に表示されます。 - /// - /// 横方向の位置 - /// 縦方向の位置 - /// 幅 - /// 高さ - /// - /// ウィンドウ位置のオプション - /// (詳細は上記のURLを参照のこと) - /// - /// - /// 成功:0 以外の値が返ります。 - /// 失敗:0 が返ります。 - /// 拡張エラー情報を取得するには、関数を使います。 - /// - [DllImport("user32.dll")] - [return: MarshalAs(UnmanagedType.Bool)] - private static extern bool SetWindowPos( - IntPtr hWnd, IntPtr hWndInsertAfter, - int x, int y, int cx, int cy, uint flags); - - #endregion - - #endregion - - /// - /// アプリケーションのメイン エントリ ポイントです。 - /// - [STAThread] - static void Main() - { -#if NETCOREAPP - // configの初期化 - GetConfigParameter.InitConfiguration("appsettings.json"); -#else -#endif - - // Add DefaultCulture key in app.Config file and take the culture value from app.Config file. - string culture = GetConfigParameter.GetConfigValue("DefaultCulture"); - if (!string.IsNullOrEmpty(culture)) - { - Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(culture); - Thread.CurrentThread.CurrentUICulture = CultureInfo.CreateSpecificCulture(culture); - } - - // exe名 - string exeName = Process.GetCurrentProcess().MainModule.ModuleName; - - // Mutexクラスの作成(exe名を利用する) - Program._mutex = new Mutex(false, exeName); - - // ミューテックスの所有権を要求する - if (Program._mutex.WaitOne(0, false) == false) - { - // 二重起動 - return; - } - else - { - // 二重起動でない。 - - // カレントディレクトリの退避 - // ファイル選択ダイアログでカレントディレクトリが変わる - - // コマンドライン起動しても - // ローカル ディレクトリを使用するように変更 - string[] temp = Process.GetCurrentProcess().MainModule.FileName.Split('\\'); - - for (int i = 0; i < temp.Length - 1; i++) - { - if (i == 0) - { - Program.OrgCurrentDirectory = temp[i]; - } - else - { - Program.OrgCurrentDirectory += "\\" + temp[i]; - } - } - - // コマンドライン:値 - List valsLst; - // コマンドライン:コマンド・値 - Dictionary argsDic; - - // コマンドライン引数を取得する。 - StringVariableOperator.GetCommandArgs('/', out argsDic, out valsLst); - - // ヘルプ - if (argsDic.ContainsKey("/HELP")) - { - // コンソール アタッチ - Program.AttachConsole(-1); - - Console.WriteLine(""); - - //Console.WriteLine("/HELP HELPを表示します。"); - //Console.WriteLine("/CUI CUIで起動します。"); - //Console.WriteLine(""); - //Console.WriteLine("以下、CUI時のみ有効なオプション引数"); - //Console.WriteLine(""); - //Console.WriteLine("/FORCE 履歴ファイルを消去して強制更新します。"); - //Console.WriteLine("/QUIET クワイエット モードで実行します(メッセージを非表示)。"); - //Console.WriteLine("/SILENT サイレント モードで実行します(メッセージ、進捗を非表示)。"); - //Console.WriteLine("/NB マニフェストファイルで起動指示アセンブリが指定されていても無視します。"); - //Console.WriteLine(""); - //Console.WriteLine("/WWWURL \"http://xxxx\" WWWサーバ上のマニュフェスト ファイルへのURLを指定します。"); - //Console.WriteLine(""); - //Console.WriteLine("/WWWUID xxxx WWWサーバへアクセスする際のユーザIDを指定します。"); - //Console.WriteLine("/WWWPWD xxxx WWWサーバへアクセスする際のパスワードを指定します。"); - //Console.WriteLine("/WWWDomain xxxx WWWサーバへアクセスする際のドメインを指定します。"); - //Console.WriteLine(""); - //Console.WriteLine("/ProxyURL \"http://yyyy\" ProxyサーバへのURLを指定します。"); - //Console.WriteLine(" 指定の無い場合は、IE設定を適用します。"); - //Console.WriteLine(" [none]指定時はプロキシを使用しません。"); - //Console.WriteLine(""); - //Console.WriteLine("/ProxyUID yyyy Proxyサーバへアクセスする際のユーザIDを指定します。"); - //Console.WriteLine("/ProxyPWD yyyy Proxyサーバへアクセスする際のパスワードを指定します。"); - //Console.WriteLine("/ProxyDomain yyyy Proxyサーバへアクセスする際のドメインを指定します。"); - //Console.WriteLine(""); - //Console.WriteLine("/UnIns \"http://xxxx\" WWWサーバ上のマニュフェスト ファイルへのURLを指定します(アンインストール)。"); - - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Console.WriteLine(ResourceMgr.GetString("A0001")); - Console.WriteLine(ResourceMgr.GetString("A0002")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0003")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0004")); - Console.WriteLine(ResourceMgr.GetString("A0005")); - Console.WriteLine(ResourceMgr.GetString("A0006")); - Console.WriteLine(ResourceMgr.GetString("A0007")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0008")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0009")); - Console.WriteLine(ResourceMgr.GetString("A0010")); - Console.WriteLine(ResourceMgr.GetString("A0011")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0012")); - Console.WriteLine(ResourceMgr.GetString("A0013")); - Console.WriteLine(ResourceMgr.GetString("A0014")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0015")); - Console.WriteLine(ResourceMgr.GetString("A0016")); - Console.WriteLine(ResourceMgr.GetString("A0017")); - Console.WriteLine(""); - Console.WriteLine(ResourceMgr.GetString("A0018")); - - // コンソール デタッチ - Program.FreeConsole(); - - return; // 終了 - } - - // アンインストール - if (argsDic.ContainsKey("/UNINS")) - { - string url = argsDic["/UNINS"]; - - // 履歴をロード - Program.LoadHistories(); - - // 履歴の検索 - Entry history = null; - foreach (Entry entry in Program.Histories) - { - if (entry.WWWURL == url) - { - history = entry; - } - } - - if (history != null) - { - // 履歴を更新 - Program.Histories.Remove(history); - - // 履歴を保存 - Program.SaveHistories(); - - // インストール ディレクトリを削除 - if (Directory.Exists(history.InstallDir)) - { - Directory.Delete(history.InstallDir, true); - } - } - - return; - } - - // 起動の切り替え - if (argsDic.ContainsKey("/CUI")) - { - // 強制更新 - if (argsDic.ContainsKey("/FORCE")) - { - Program.IsForce = true; - - // 履歴ファイルを消去して実行 - File.Delete(Program.OrgCurrentDirectory + Program.HistoryFileName); - } - - // 起動アセンブリフラグ - if (argsDic.ContainsKey("/NB")) - { - Program.IsBoot = false; - } - - // CUI起動 - - // コンソール アタッチ - Program.AttachConsole(-1); - - //Program.OutPutMessage("CUI起動", LogLevel.InfoLog); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Program.OutPutMessage(ResourceMgr.GetString("M0006"), LogLevel.InfoLog); - - if (argsDic.ContainsKey("/SILENT")) - { - // 進捗ダイアログ&メッセージなし - Program.CheckUpdateAndInstall_Silent(valsLst, argsDic); - } - else - { - // 進捗ダイアログ&メッセージあり - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form2(valsLst, argsDic)); - } - - // コンソール デタッチ - Program.FreeConsole(); - } - else - { - // GUI起動 - //Program.OutPutMessage("GUI起動", LogLevel.InfoLog); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Program.OutPutMessage(ResourceMgr.GetString("M00007"), LogLevel.InfoLog); - - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } - } - - /// 更新チェック&インストール(サイレントモード) - /// 値 - /// コマンド・値 - public static void CheckUpdateAndInstall_Silent(List valsLst, Dictionary argsDic) - { - try - { - // エントリを生成 - Entry entry = new Entry(); - - // コマンドラインから各値を取得する。 - entry.WWWURL = Program.NullToEmptyString(argsDic, "/WWWURL"); - entry.WWWUID = Program.NullToEmptyString(argsDic, "/WWWUID"); - entry.WWWPWD = Program.NullToEmptyString(argsDic, "/WWWPWD"); - entry.WWWDomain = Program.NullToEmptyString(argsDic, "/WWWDOMAIN"); - //--- - entry.ProxyURL = Program.NullToEmptyString(argsDic, "/PROXYURL"); - entry.ProxyUID = Program.NullToEmptyString(argsDic, "/PROXYUID"); - entry.ProxyPWD = Program.NullToEmptyString(argsDic, "/PROXYPWD"); - entry.ProxyDomain = Program.NullToEmptyString(argsDic, "/PROXYDOMAIN"); - - // エントリを保存 - Program.SaveCurrent(entry); - - // 履歴をロード - Program.LoadHistories(); - - // 更新処理の実行 - Program.ExecUpdate(entry); - - // 履歴を保存 - Program.SaveHistories(); - } - catch (MyException my_ex) - { - // 戻し - Program.Recover(); - - // メッセージ表示時 - string message = my_ex.Message; - - // ログ出力用のフィールドがあるか?ないか? - if (string.IsNullOrEmpty(my_ex.ToLog)) - { - Program.OutPutMessage(message, LogLevel.InfoLog); - } - else - { - Program.OutPutMessage(message + "\r\n" + my_ex.ToLog, LogLevel.InfoLog); - } - } - catch (Exception ex) - { - // 戻し - Program.Recover(); - - // 例外発生時 - string message = ""; - - //message += "<メッセージ>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0002")+"\r\n"; - message += ex.Message; - message += "\r\n"; - - message += "\r\n"; - //message += "<スタック トレース>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0003")+"\r\n"; - message += ex.StackTrace; - message += "\r\n"; - - if (ex.InnerException != null) - { - message += "\r\n"; - //message += "<内部例外>\r\n"; - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - message += ResourceMgr.GetString("M0004")+"\r\n"; - message += ex.InnerException.ToString(); - message += "\r\n"; - } - - Program.OutPutMessage(message, LogLevel.ErrorLog); - } - finally - { - // テンポラリの削除 - File.Delete(Program.OrgCurrentDirectory + Program.TempMftFileName); - - // GCでZIPが解放される可能性 - //GC.Collect(); - Program.system_gc_collecting(); - try - { - File.Delete(Program.OrgCurrentDirectory + Program.TempZipFileName); - } - catch (Exception ex) - { - // 例外を潰してログに出力 - //Program.OutPutMessage(Program.TempZipFileName + "削除例外:" + ex.ToString(), LogLevel.ErrorLog); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Program.OutPutMessage(Program.TempZipFileName + ResourceMgr.GetString("M0008") + ex.ToString(), LogLevel.ErrorLog); - } - } - } - - /// nullは空文字列に変換する - /// ディクショナリ - /// キー - /// 出力文字列(nullを含まない) - public static string NullToEmptyString(Dictionary dic, string key) - { - if (dic.ContainsKey(key)) - { - return dic[key]; - } - else - { - return ""; - } - } - - #region 更新処理 - - /// 非同期フレームワーク - /// 進捗・メッセージ表示などで使用する - public static MyBaseAsyncFunc Af { set; get; } - - /// 更新処理 - /// エントリ, Form1 - /// 空のオブジェクト - /// 非同期処理から実行する - public static object ExecUpdate(object o) - { - // フラグをクリア - Program.HaveBackup = false; - Program.InstallDirectory = ""; - Program.BackupDirectory = ""; - - // ワーク - Process p = null; - - // エントリを初期化 - Entry entry = (Entry)o; - - // マニュフェスト ファイル上に - // 存在するZIPファイルのリスト - List existZipList = new List(); - - #region 履歴エントリを取得 - - // 履歴エントリを取得 - Entry history = null; - foreach (Entry temp in Program.Histories) - { - if (entry.WWWURL == temp.WWWURL) - { - history = temp; - break; - } - } - - #endregion - - #region 主処理 - - // HEAD(Last-Modifiedチェック) - bool lmcRet = false; - - try - { - lmcRet = Program.LastModifiedCheck_ByHead(entry, history, ""); - } - catch (WebException wex) - { - // WebExceptionで、 - if (history != null) - { - // 履歴あり - - // 更新されていない - lmcRet = false; - - // ログ出力して起動(正常終了する) - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("E0009"), entry.WWWURL) - + "\r\n" + wex.ToString(), LogLevel.InfoLog); - } - else - { - // 履歴なし - - //// リスロー - //throw; - - // 例外(MyException) - throw new MyException(string.Format( - GetMessage.GetMessageDescription("E0009"), - entry.WWWURL), wex.ToString()); - } - - #region 消し - - // SocketExceptionだけ - // ハンドルしようと考えていたが・・・ - - //if (wex.InnerException != null) - //{ - // // InnerException:!= null - - // if (wex.InnerException is SocketException) - // { - // // InnerException:ソケット例外 - // if (history != null) - // { - // // 履歴あり - // // 更新されていない - // lmcRet = false; - // } - // else - // { - // // 履歴なし - // // リスロー - // throw; - // } - // } - // else - // { - // // InnerException:その他 - // // リスロー - // throw; - // } - //} - //else - //{ - // // InnerException:== null - // // リスロー - // throw; - //} - - #endregion - } - - if (!lmcRet) - { - // 更新されていない - // 履歴エントリはそのまま - - #region 起動のチェック - - // → 起動exeのキック(historyから) - if (Program.IsBoot) - { - // /NB スイッチが指定されていない。 - if (Program.ExistProcess(history.InstallDir, history.StartExe, out p)) - { - // プロセスが起動されていない。 - - if (File.Exists(p.StartInfo.FileName)) - { - // ファイルが存在する。 - - // 起動する。 - p.Start(); - - // 最前面へ - Program.SetWindowPos( - p.MainWindowHandle, HWND_TOPMOST, 0, 0, 0, 0, TOPMOST_FLAGS); - } - else - { - // ファイルが存在しない。 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0001"), p.StartInfo.FileName)); - } - } - else - { - // プロセスが起動されている。 - throw new MyException(string.Format( - GetMessage.GetMessageDescription("E0002"), p.StartInfo.FileName)); - } - } - else - { - // /NB スイッチが指定されている。 - Program.OutPutMessage(GetMessage.GetMessageDescription("I0012"), LogLevel.InfoLog); - } - - #endregion - } - else - { - // 更新されている - - // 画面表示を更新 - if (Program.Af != null) - { - // 開始(進捗20%) - Program.Af.ExecChangeProgress(new ChangeProgressParameter( - string.Format(GetMessage.GetMessageDescription("I0001"), entry.WWWURL), 20)); - } - - // マニュフェスト ファイルを取得 - // GET、Content保存 - Program.GetAndSaveContent(entry, ""); - - // マニュフェスト ファイルを読む - FileStream fs = null; - StreamReader sr = null; - StringReader manifesto = null; - - try - { - fs = new FileStream( - Program.OrgCurrentDirectory - + Program.TempMftFileName, FileMode.Open); - - sr = new StreamReader(fs); - manifesto = new StringReader(sr.ReadToEnd()); - } - finally - { - if (sr != null) { sr.Close(); } - if (fs != null) { fs.Close(); } - } - - try - { - #region マニュフェスト ファイルの処理 - - // ZIPファイルを - // ・更新チェック - // ・ダウンロード - // ・インストール - string line = ""; - - // インストール ディレクトリ - line = manifesto.ReadLine().Trim(); - if (string.IsNullOrEmpty(line) || line.Length <= 4) - { - // マニュフェスト ファイルの不正 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), line)); - } - else - { - if (line.Substring(0, 3) == "ins") - { - // エントリに追加 - entry.InstallDir = StringVariableOperator. - BuiltStringIntoEnvironmentVariable(line.Substring(4)); - } - else - { - // マニュフェスト ファイルの不正 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), line)); - } - } - - // インストール ディレクトリの変更には対応しない。 - if (history != null) - { - if (history.InstallDir != entry.InstallDir) - { - //throw new Exception(string.Format( - // GetMessage.GetMessageDescription("E0003"), string.Format( - // "インストール ディレクトリが変更されています{0}。", line))); - - //For internationalization, Replaced all the Japanese language to GetMessage.GetMessageDescription() method call - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), string.Format( - GetMessage.GetMessageDescription("M0006"), line))); - } - } - - // 起動exe - line = manifesto.ReadLine().Trim(); - if (string.IsNullOrEmpty(line) || line.Length <= 4) - { - // マニュフェスト ファイルの不正 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), line)); - } - else - { - if (line.Substring(0, 3) == "exe") - { - // エントリに追加 - entry.StartExe = line.Substring(4); - } - else - { - // マニュフェスト ファイルの不正 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), line)); - } - } - - #endregion - - #region 起動のチェック - - if (Program.ExistProcess(entry.InstallDir, entry.StartExe, out p)) - { - // プロセスが起動されていない。→ 処理続行 - } - else - { - // プロセスが起動されている。→ 処理中止 - throw new MyException(string.Format( - GetMessage.GetMessageDescription("E0002"), p.StartInfo.FileName)); - } - - #endregion - - // 読み取り専用属性の全削除 - Program.RemoveReadonlyAttribute( - new DirectoryInfo(entry.InstallDir)); - - // 強制モードでは一度削除してから - if (Program.IsForce) - { - // 存在チェックを追加 - if (Directory.Exists(entry.InstallDir)) - { - Directory.Delete(entry.InstallDir, true); - } - } - - #region ZIPファイルのDL & Ins - - // ZIPファイル - line = manifesto.ReadLine(); - if (!string.IsNullOrEmpty(line)) - { - line.Trim(); - } - - string zipFile = ""; - bool isUpdated = false; - - while (true) - { - if (string.IsNullOrEmpty(line)) - { - // 終了 - break; - } - else if (line.Length <= 4) - { - // マニュフェスト ファイルの不正 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), line)); - } - else - { - if (line.Substring(0, 3) == "zip") - { - zipFile = line.Substring(4); - - if (zipFile.Length > 4 && - zipFile.Substring(zipFile.Length - 4, 4) == ".zip") - { - // エントリに追加 - entry.ZipFiles.Add(zipFile); - - // マニュフェスト ファイル上に - // 存在するZIPファイルを保存 - existZipList.Add(zipFile); - - // 画面表示を更新 - if (Program.Af != null) - { - // ZIPを確認(進捗+8%) - Program.Af.ExecChangeProgress(new ChangeProgressParameter( - string.Format(GetMessage.GetMessageDescription("I0001"), zipFile), 8)); - } - - // HEAD(Last-Modifiedチェック) - if (Program.LastModifiedCheck_ByHead(entry, history, zipFile)) - { - // GET、Content保存 - Program.GetAndSaveContent(entry, zipFile); - - // ステータス変更 - isUpdated = true; - } - else - { - // ステータス変更 - isUpdated = false; - } - } - else - { - // 例外(.ZIPじゃない) - throw new Exception(GetMessage.GetMessageDescription("E0004") + zipFile); - } - } - else if (line.Substring(0, 3) == "md5") - { - // HEAD(Last-Modifiedチェック) - if (isUpdated) - { - string md5HashMft = line.Substring(4); - string md5HashCur = Program.GetMD5Hash( - Program.OrgCurrentDirectory + Program.TempZipFileName); - - if (md5HashMft == md5HashCur) - { - // 指定の位置にインストール - // (必要な履歴の情報を引き継ぐ) - Program.InstallZip(entry, zipFile, history, "utf-8"); - } - else - { - // 例外(MD5ハッシュの不一致) - throw new MyException(string.Format( - GetMessage.GetMessageDescription("E0005"), - zipFile, md5HashMft, md5HashCur)); - } - } - else - { - // 更新されていない - //(必要な履歴の情報を引き継ぐ) - entry.HttpZipLastModified[zipFile] = history.HttpZipLastModified[zipFile]; - entry.HttpZipContents[zipFile] = history.HttpZipContents[zipFile]; - // メッセージ(HeadAndLastModifiedで済み) - } - } - else - { - //// 終了 - //break; - - // マニュフェスト ファイルの不正 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0003"), line)); - } - } - - // 次へ - line = manifesto.ReadLine(); - if (!string.IsNullOrEmpty(line)) - { - line.Trim(); - } - } - } - finally - { - // クローズ(エラーになるので) - manifesto.Close(); - } - - #endregion - - // 画面表示を更新 - if (Program.Af != null) - { - // 終了(進捗-%)→最後に強制的に100%になる。 - Program.Af.ExecChangeProgress( - new ChangeProgressParameter( - GetMessage.GetMessageDescription("I0002"), 1)); - } - - #region 履歴エントリを保存 - - // 履歴を置き換える。 - for (int i = 0; i < Program.Histories.Count; i++) - { - if (Program.Histories[i].WWWURL == entry.WWWURL) - { - Program.Histories[i] = entry; - } - } - - if (history == null) - { - // 新規のエントリの場合だけ、 - // エントリを履歴に追加する。 - Program.Histories.Add(entry); - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0003"), entry.WWWURL), LogLevel.InfoLog); - } - else - { - // 旧エントリの場合だけ、 - // 無くなったZIPファイルを削除する。 - foreach (string zip1 in history.ZipFiles) - { - // 使ってないフラグ - bool isUnused = true; - - // 使ってないチェック - foreach (string zip2 in existZipList) - { - if (zip1 == zip2) - { - // ZIPファイルを使いました。 - isUnused = false; - } - } - - // このZIPファイルを使っていない。 - if (isUnused) - { - // ZIPファイル内のコンテンツを削除 - Program.DeleteZipContents(zip1, history); - - // ZIPファイルの情報を消す。 - entry.ZipFiles.Remove(zip1); - entry.HttpZipContents.Remove(zip1); - entry.HttpZipLastModified.Remove(zip1); - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0004"), zip1), LogLevel.InfoLog); - } - } - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0005"), entry.WWWURL), LogLevel.InfoLog); - } - - #endregion - - #region 起動のチェック - - // → 起動exeのキック(entryから) - if (Program.IsBoot) - { - // /NB スイッチが指定されていない。 - if (Program.ExistProcess(entry.InstallDir, entry.StartExe, out p)) - { - // プロセスが起動されていない。 - - if (File.Exists(p.StartInfo.FileName)) - { - // ファイルが存在する。 - - // バックアップ・ディレクトリを削除 - Program.DeleteBackupDirectory(); - - // 起動する。 - p.Start(); - - // 最前面へ - Program.SetWindowPos( - p.MainWindowHandle, HWND_TOPMOST, 0, 0, 0, 0, TOPMOST_FLAGS); - } - else - { - // ファイルが存在しない。 - throw new Exception(string.Format( - GetMessage.GetMessageDescription("E0001"), p.StartInfo.FileName)); - } - } - else - { - // プロセスが起動されている。 - throw new MyException(string.Format( - GetMessage.GetMessageDescription("E0002"), p.StartInfo.FileName)); - } - } - else - { - // バックアップ・ディレクトリを削除 - Program.DeleteBackupDirectory(); - - // /NB スイッチが指定されている。 - Program.OutPutMessage(GetMessage.GetMessageDescription("I0012"), LogLevel.InfoLog); - } - - #endregion - } - - #endregion - - return new object(); - } - - /// バックアップ・ディレクトリを削除 - private static void DeleteBackupDirectory() - { - if (Program.HaveBackup) - { - // インストール済み。 - Directory.Delete(Program.BackupDirectory, true); - } - } - - /// プロセススタートのためのオブジェクトを返す - /// インストール ディレクトリ - /// 起動EXE名のカンマ区切りリスト - /// プロセス - /// - /// 真:当該EXEは起動されていない。 - /// 偽:当該EXEは起動されている。 - /// - private static bool ExistProcess(string installDir, string exeFiles, out Process p) - { - // 分割する。 - string[] ary_exeFiles = exeFiles.Split(','); - - // パスに変換 - for (int i = 0; i < ary_exeFiles.Length; i++) - { - // プレーンな連結のみサポート - ary_exeFiles[i] = installDir + ary_exeFiles[i].Trim(); - } - - // プロセスを生成 - p = new Process(); - - // 二重起動のチェック - foreach (Process pp in System.Diagnostics.Process.GetProcesses()) - { - try - { - for (int i = 0; i < ary_exeFiles.Length; i++) - { - // ToUpper! - if (ary_exeFiles[i].ToUpper() == pp.MainModule.FileName.ToUpper()) - { - // 起動されている。 - p.StartInfo = new ProcessStartInfo(ary_exeFiles[i]); - return false; - } - } - } - catch - { - // アクセス違反をつぶす。 - } - } - - // 起動されていない。 - p.StartInfo = new ProcessStartInfo(ary_exeFiles[0]); - return true; - } - - #endregion - - #region 共通関数 - - #region ファイルIO - - #region セーブ - - /// ファイルにセーブ - /// オブジェクト - /// ファイル パス - public static void SaveFile(object obj, string filePath) - { - FileStream fs = null; - - try - { - // バイナリ シリアライズしてファイル出力 - byte[] temp = BinarySerialize.ObjectToBytes(obj); - fs = new FileStream(filePath, FileMode.Create, FileAccess.Write); - - // バイト型配列の内容をすべて書き込む - fs.Write(temp, 0, temp.Length); - } - finally - { - // 閉じる - if (fs != null) { fs.Close(); } - } - } - - #endregion - - #region ロード - - /// ファイルをロード - /// ファイル パス - /// バイト配列 - public static byte[] LoadFile(string filePath) - { - byte[] ret = null; - FileStream fs = null; - MemoryStream ms = null; - - try - { - // ファイル入力をバイナリ デシリアライズ - if (File.Exists(filePath)) - { - fs = new FileStream(filePath, - FileMode.Open, FileAccess.Read); - - ms = new MemoryStream(); - byte[] buffer = new byte[0x1000]; // 4KB - - for (; ; ) - { - // ファイルの一部を読み込む - int readSize = fs.Read(buffer, 0, buffer.Length); - - // ファイルをすべて読み込んだときは終了する - if (readSize == 0) { break; } - - // マージ - ms.Write(buffer, 0, buffer.Length); - } - - // オブジェクト化して設定 - ret = ms.ToArray(); - } - } - finally - { - // 閉じる - if (ms != null) { ms.Close(); } - if (fs != null) { fs.Close(); } - } - - // 戻す。 - return ret; - } - - #endregion - - #region Current - - /// current.binのLoad処理 - /// Entry(前回入力) - public static Entry LoadCurrent() - { - byte[] current = null; - current = Program.LoadFile( - Program.OrgCurrentDirectory + Program.CurrentFileName); - - if (current == null) - { - return null; - } - else - { - return (Entry)BinarySerialize.BytesToObject(current); - } - } - - /// current.binのSave処理 - /// Entry(現状入力) - public static void SaveCurrent(Entry entry) - { - Program.SaveFile(entry, - Program.OrgCurrentDirectory + Program.CurrentFileName); - } - - #endregion - - #region Histories - - /// histories.binのLoad処理 - /// List<Entry>(履歴) - public static List LoadHistories() - { - byte[] current = null; - current = Program.LoadFile(Program.OrgCurrentDirectory + Program.HistoryFileName); - - if (current == null) - { - //return null; - Program.Histories = new List(); - } - else - { - //return (List)BinarySerialize.BytesToObject(current); - Program.Histories = (List)BinarySerialize.BytesToObject(current); - } - - // 設定しつつ戻す - return Program.Histories; - } - - /// histories.binのSave処理 - public static void SaveHistories() - { - Program.SaveFile(Program.Histories, Program.OrgCurrentDirectory + Program.HistoryFileName); - } - - #endregion - - #region 読み取り専用属性の削除 - - /// 削除処理の追加 - /// DirectoryInfo - /// - /// DOBON.NET > ファイル、フォルダ - /// 読み取り専用ファイルがあるときでもフォルダを削除する - /// http://dobon.net/vb/dotnet/file/deletedirectory.html - /// - public static void RemoveReadonlyAttribute(DirectoryInfo di) - { - if (di.Exists) - { - // 存在する場合 - - // 当該フォルダ(読み取り専用属性の削除) - if ((di.Attributes & FileAttributes.ReadOnly) - == FileAttributes.ReadOnly) - { - di.Attributes = FileAttributes.Normal; - } - - // フォルダ内のすべてのファイル - // (読み取り専用属性の削除) - foreach (FileInfo fi in di.GetFiles()) - { - if ((fi.Attributes & FileAttributes.ReadOnly) - == FileAttributes.ReadOnly) - { - fi.Attributes = FileAttributes.Normal; - } - } - - // 回帰 - foreach (DirectoryInfo child_di in di.GetDirectories()) - { - Program.RemoveReadonlyAttribute(child_di); - } - } - } - - #endregion - - #region ZIPファイル内のコンテンツの削除 - - /// ZIPファイル内のコンテンツの削除 - /// ZIPファイル名 - /// エントリ(履歴) - private static void DeleteZipContents(string zipFile, Entry history) - { - if (history != null) - { - // 履歴情報があれば、過去の解凍コンテンツを削除する。 - if (history.HttpZipContents.ContainsKey(zipFile)) - { - // ファイルパスを取得してコンテンツを削除 - foreach (string contentFile in history.HttpZipContents[zipFile]) - { - // 存在チェック - if (File.Exists(contentFile)) - { - // 存在しなくても例外を返さない。 - // ・・・と言いつつパスが - // 存在しないと例外となる。 - // ※ オープン状態では例外になる。 - try - { - File.Delete(contentFile); - } - catch - { - // 例外(オープン状態) - throw new MyException(string.Format( - GetMessage.GetMessageDescription("E0006"), contentFile)); - } - } - } - } - } - } - - #endregion - - #region 戻し操作 - - /// 戻し操作 - public static void Recover() - { - // バックアップが存在すれば、戻し操作を実行。 - if (Program.HaveBackup) - { - // 戻しを実行 - Program.OutPutMessage( - GetMessage.GetMessageDescription("E0008"), LogLevel.InfoLog); - - // 消す - Program.DeleteAllFile( - Program.InstallDirectory); - - // 戻す - Program.CreateMirror( - Program.BackupDirectory, - Program.InstallDirectory); - - // 退避ディレクトリを消去 - Program.DeleteBackupDirectory(); - } - } - - /// - /// すべてのファイルを消去する。 - /// ディレクトリは残して、例外はつぶす。 - /// - /// パス - private static void DeleteAllFile(string path) - { - // パスの存在チェック - if (Directory.Exists(path)) - { - // ファイルを全消しして - string[] files = Directory.GetFiles(path); - foreach (string file in files) - { - try - { - File.Delete(file); - } - catch - { - // 例外は潰す - } - } - - // ディレクトリを再起処理 - string[] directories = Directory.GetDirectories(path); - foreach (string directory in directories) - { - Program.DeleteAllFile(directory); - } - } - } - - /// ミラーを作成する。 - /// 退避したディレクトリ - /// インストール ディレクトリ - private static void CreateMirror(string src, string dst) - { - // パスの存在チェック - if (Directory.Exists(src)) - { - // ファイルをコピー - string[] files = Directory.GetFiles(src); - - // コピー先のディレクトリがなければ作成 - if (!Directory.Exists(dst)) - { - Directory.CreateDirectory(dst); - } - - // コピー - foreach (string file in files) - { - try - { - string[] temp = file.Split('\\'); - string fileName = temp[temp.Length - 1]; - - string dstFile = ""; - if (dst[dst.Length - 1] == '\\') - { - dstFile = dst + fileName; - } - else - { - dstFile = dst + "\\" + fileName; - } - - File.Copy(file, dstFile); - } - catch - { - // 例外は潰す - } - } - - // ディレクトリを再起処理 - string[] directories = Directory.GetDirectories(src); - foreach (string directory in directories) - { - Program.CreateMirror(directory, directory.Replace(src, dst)); - } - } - } - - #endregion - - #endregion - - #region MD5ハッシュ - - /// MD5ハッシュ値のBase64文字列を取得する。 - /// ファイル パス - /// MD5ハッシュ値のBase64文字列 - public static string GetMD5Hash(string FilePath) - { - // 暗号化サービスプロバイダ - // MD5CryptoServiceProviderサービスプロバイダ - HashAlgorithm ha = new MD5CryptoServiceProvider(); - - // ハッシュ値を計算する - return CustomEncode.ToBase64String( - ha.ComputeHash(Program.LoadFile(FilePath))); - } - - #endregion - - #region HTTP系メソッド - - #region HEAD - - /// HEAD(Last-Modifiedチェック) - /// エントリ - /// エントリ(履歴) - /// ZIPファイル - /// - /// true:更新あり、DLへ(インスコ) - /// false:更新なし、次へ(パス) - /// - public static bool LastModifiedCheck_ByHead(Entry entry, Entry history, string zipFile) - { - HttpWebRequest hwReq = null; - HttpWebResponse hwRes = null; - - try - { - hwReq = Program.GetHttpWebRequest(entry, zipFile); - hwReq.Timeout = 5000; - hwReq.Method = "HEAD"; - hwRes = (HttpWebResponse)hwReq.GetResponse(); - - // 更新日付のチェック - string httpLastModifiedHis = ""; - string httpLastModifiedWeb = hwRes.LastModified.ToString( - "yyyy-MM-dd HH:mm:ss:fff"); //.Headers["Last-Modified"]; - - if (httpLastModifiedWeb == null && httpLastModifiedWeb == "") - { - // 更新日付ヘッダなし - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0006"), hwReq.RequestUri.AbsoluteUri), LogLevel.InfoLog); - } - else - { - // 更新日付の更新 - if (string.IsNullOrEmpty(zipFile)) - { - // マニュフェスト ファイルの場合 - entry.HttpLastModified = httpLastModifiedWeb; - } - else - { - // ZIPファイルの場合 - entry.HttpZipLastModified[zipFile] = httpLastModifiedWeb; - } - - // 履歴エントリの更新日付の履歴をチェックする。 - if (history != null) - { - // 履歴あり - - if (string.IsNullOrEmpty(zipFile)) - { - // マニュフェスト ファイルの場合 - httpLastModifiedHis = history.HttpLastModified; - } - else - { - // ZIPファイルの場合 - // 無い場合があるので - if (history.HttpZipLastModified.ContainsKey(zipFile)) - { - httpLastModifiedHis = history.HttpZipLastModified[zipFile]; - } - else - { - // NullOrEmptyにしない - //(↓の更新日付ヘッダの不一致へ) - httpLastModifiedHis = "xxx"; - } - } - - // 更新日付の履歴あり - if (!string.IsNullOrEmpty(httpLastModifiedHis)) - { - if (httpLastModifiedHis == httpLastModifiedWeb) - { - // 更新日付ヘッダの一致 - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0007"), hwReq.RequestUri.AbsoluteUri), LogLevel.InfoLog); - - // → パス - return false; - } - else - { - // 更新日付ヘッダの不一致(大小の評価ではない!) - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0008"), hwReq.RequestUri.AbsoluteUri), LogLevel.InfoLog); - } - } - } - else - { - // 履歴なし - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0009"), hwReq.RequestUri.AbsoluteUri), LogLevel.InfoLog); - } - } - - // → インスコ - return true; - } - finally - { - // 閉じる(これが無いと2回目実行できない。) - if (hwRes != null) { hwRes.Close(); } - if (hwReq != null) { hwReq.Abort(); } - } - } - - #endregion - - #region GET - - /// ファイルを取得 - /// エントリ - /// ZIPファイル - public static void GetAndSaveContent(Entry entry, string zipFile) - { - HttpWebRequest hwReq = null; - HttpWebResponse hwRes = null; - - try - { - hwReq = Program.GetHttpWebRequest(entry, zipFile); - hwReq.Timeout = 5000; - hwReq.Method = "GET"; - hwRes = (HttpWebResponse)hwReq.GetResponse(); - - if (hwRes.ContentLength != -1) - { - Stream sm = null; - FileStream fs = null; - - try - { - // 応答データを受信するためのStreamを取得 - sm = hwRes.GetResponseStream(); - - // ファイルに書き込むためのFileStreamを作成 - string saveFileName = ""; - - if (string.IsNullOrEmpty(zipFile)) - { - // マニュフェスト - saveFileName = Program.TempMftFileName; - } - else - { - // ZIPファイル - saveFileName = Program.TempZipFileName; - } - - fs = new FileStream( - Program.OrgCurrentDirectory + saveFileName, FileMode.Create, FileAccess.Write); - - // 応答データをファイルに書き込む - int b; - while ((b = sm.ReadByte()) != -1) - { - fs.WriteByte(Convert.ToByte(b)); - } - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0010"), hwReq.RequestUri.AbsoluteUri), LogLevel.InfoLog); - } - finally - { - // 閉じる - if (fs != null) { fs.Close(); } - if (sm != null) { sm.Close(); } - } - } - } - finally - { - // 閉じる(これが無いと2回目実行できない。) - if (hwRes != null) { hwRes.Close(); } - if (hwReq != null) { hwReq.Abort(); } - } - } - - #endregion - - #region new HttpWebRequest - - /// HttpWebRequestを取得する。 - /// エントリ - /// ZIPファイル名 - /// HttpWebRequest - public static HttpWebRequest GetHttpWebRequest(Entry entry, string zipFile) - { - string zipURL = entry.WWWURL; - HttpWebRequest hwReq = null; - - if (!string.IsNullOrEmpty(zipFile)) - { - // ファイル指定がされている場合。 - // マニュフェスト ファイルを・・・ - string[] temp = zipURL.Split('/'); - for (int i = 0; i < temp.Length - 1; i++) - { - if (i == 0) - { - zipURL = temp[i]; - } - else - { - zipURL += "/" + temp[i]; - } - } - - // ZIPファイルに置き換える。 - zipURL += "/" + zipFile; - } - - // リクエストを生成する。 - hwReq = (HttpWebRequest)HttpWebRequest.Create(new Uri(zipURL)); - - // WWWサーバのNetworkCredential - if (entry.WWWUID == null && entry.WWWUID == "") - { - // NetworkCredentialなし(デフォルト) - //hwReq.UseDefaultCredentials = true;// ★要・検討 - } - else - { - // NetworkCredentialあり - if (entry.WWWDomain == null || entry.WWWDomain == "") - { - // UID、PWD - hwReq.Credentials = new NetworkCredential( - entry.WWWUID, entry.WWWPWD); - } - else - { - // UID、PWD、Domain - hwReq.Credentials = new NetworkCredential( - entry.WWWUID, entry.WWWPWD, entry.WWWDomain); - } - } - - // プロキシ使うか? - WebProxy proxy = null; - - // Proxyサーバ - if (entry.ProxyURL.ToLower() == "none") - { - // Proxyサーバなし(null) - hwReq.Proxy = null; - - // ※ GlobalProxySelection.GetEmptyWebProxy()は古い形式 - } - else if (entry.ProxyURL == null || entry.ProxyURL == "") - { - // proxy = (WebProxy)WebProxy.GetDefaultProxy();// 古い形式 - // 何もしない → DefaultWebProxyプロパティの値を使用する。 - } - else - { - // Proxyサーバあり - proxy = new WebProxy(new Uri(entry.ProxyURL)); - } - - // Proxyサーバがあれば - if (proxy != null) - { - // NetworkCredentialがあれば - if (entry.ProxyUID == null || entry.ProxyUID == "") - { - // NetworkCredentialなし(デフォルト) - proxy.UseDefaultCredentials = true;// ★要・検討 - } - else - { - // NetworkCredentialあり - if (entry.ProxyDomain == null || entry.ProxyDomain == "") - { - // UID、PWD - proxy.Credentials = new NetworkCredential( - entry.ProxyUID, entry.ProxyPWD); - } - else - { - // UID、PWD、Domain - proxy.Credentials = new NetworkCredential( - entry.ProxyUID, entry.ProxyPWD, entry.ProxyDomain); - } - } - - // プロキシ設定 - hwReq.Proxy = proxy; - } - - return hwReq; - } - - #endregion - - #endregion - - #region インストール - - /// ZIPファイルをインストール - /// エントリ - /// ZIPファイル名 - /// エントリ(履歴) - /// エンコーディング - public static void InstallZip(Entry entry, string zipFile, Entry history, string encStr) - { - if (Program.HaveBackup) - { - // バックアップ済み。 - } - else - { - if (Directory.Exists(entry.InstallDir)) - { - // インストール先を指定 - Program.InstallDirectory = entry.InstallDir; - - // バックアップ先を指定 - string guid = Guid.NewGuid().ToString(); - if (entry.InstallDir[entry.InstallDir.Length - 1] == '\\') - { - Program.BackupDirectory = - entry.InstallDir.Substring( - 0, entry.InstallDir.Length - 1) + "_" + guid; - } - else - { - Program.BackupDirectory = entry.InstallDir + "_" + guid; - } - - // バックアップする。 - Program.HaveBackup = true; - FileSystem.CopyDirectory(entry.InstallDir, BackupDirectory, UIOption.OnlyErrorDialogs, UICancelOption.DoNothing); - } - } - - // ZIPファイル内のコンテンツを削除 - Program.DeleteZipContents(zipFile, history); - - // 環境変数に対応 - string InsDir = StringVariableOperator. - BuiltStringIntoEnvironmentVariable(entry.InstallDir); - - // 解凍 - - // 解凍部品 - UnZipper uz = new UnZipper(); - - // 選択基準なしで - string[] exts = null; - Zipper.SelectionDelegate scd = null; - - //if (this.txtExt.Enabled) - //{ - // exts = this.txtExt.Text.Split(','); - // scd = SelectionCriteriaDlgt2; - //} - - // 解凍時、上書き制御 - uz.ExtractProgress = Program.MyExtractProgressEventHandler; - - // 解凍(1)デリゲートでフィルタ - uz.ExtractFileFromZip( - Program.OrgCurrentDirectory + Program.TempZipFileName, - StringVariableOperator.BuiltStringIntoEnvironmentVariable(entry.InstallDir), - scd, exts, ExtractExistingFileAction.OverwriteSilently, - Encoding.GetEncoding(encStr), ""); - - // メッセージ - Program.OutPutMessage(string.Format( - GetMessage.GetMessageDescription("I0011"), zipFile), LogLevel.InfoLog); - - // 解凍先のファイルのパスを抽出 - string header = "extract file "; - StringReader srZipContents = new StringReader(uz.StatusMSG); - List zipContents = new List(); - - string tempContentFile = srZipContents.ReadLine(); - while (tempContentFile != null && tempContentFile.Trim() != "") - { - if (tempContentFile.IndexOf(header) == 0) - { - // 解凍先のファイルのパスを抽出([- 3] は[...]の分) - zipContents.Add(tempContentFile.Substring(header.Length, tempContentFile.Length - header.Length - 3)); - } - - // 次へ - tempContentFile = srZipContents.ReadLine(); - } - - // 解凍先のファイルのパスを保存する(次回の削除処理に使用)。 - entry.HttpZipContents[zipFile] = zipContents.ToArray(); - } - - #endregion - - #region デリゲート - - #region 選択基準デリゲート - - /// 選択基準を実装するデリゲート - /// ファイル・エントリ情報 - /// 選択規準情報 - /// - /// 真:ファイルを書庫に追加する。 - /// 偽:ファイルを書庫に追加しない。 - /// - public static bool SelectionCriteriaDlgt1(object o, object info) - { - FileInfo f = (FileInfo)o; - - // 選択規準情報(文字列配列)の - // 指定が無い場合は、全て[true] - - if (info == null) - { - return true; - } - - // 選択規準情報(文字列配列)の - // 指定がある場合は、[true], [false]か判別 - - string[] exts = (string[])info; - foreach (string ext in exts) - { - if (f.Extension == "." + ext.Trim()) - { - return false; - } - } - - return true; - } - - /// 選択基準を実装するデリゲート - /// ファイル・エントリ情報 - /// 選択規準情報 - /// - /// 真:ファイルを書庫に追加する。 - /// 偽:ファイルを書庫に追加しない。 - /// - public static bool SelectionCriteriaDlgt2(object o, object info) - { - string fileName = (string)o; - - // 選択規準情報(文字列配列)の - // 指定が無い場合は、全て[true] - - if (info == null) - { - return true; - } - - // 選択規準情報(文字列配列)の - // 指定がある場合は、[true], [false]か判別 - - string[] exts = (string[])info; - foreach (string ext in exts) - { - string[] aryStr = fileName.Split('.'); // 修正 - if (aryStr[aryStr.Length - 1] == ext.Trim()) - { - return false; - } - } - - return true; - } - - #endregion - - #region 組込デリゲート - - /// セーブ処理の進捗表示デリゲート - public static void MySaveProgressEventHandler(Object sender, SaveProgressEventArgs e) - { - if (e.EventType == ZipProgressEventType.Saving_Started) - { - // 書庫の作成を開始 - //Debug.WriteLine(string.Format("{0} の作成開始", e.ArchiveName)); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Debug.WriteLine(string.Format(ResourceMgr.GetString("I0001"), e.ArchiveName)); - } - else if (e.EventType == ZipProgressEventType.Saving_BeforeWriteEntry) - { - // エントリの書き込み開始 - //Debug.WriteLine(string.Format("{0} の書き込み開始", e.CurrentEntry.FileName)); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Debug.WriteLine(string.Format(ResourceMgr.GetString("I0002"), e.CurrentEntry.FileName)); - } - else if (e.EventType == ZipProgressEventType.Saving_EntryBytesRead) - { - // エントリを書き込み中 - //Debug.WriteLine(string.Format("{0}/{1} バイト 書き込みました", e.BytesTransferred, e.TotalBytesToTransfer)); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Debug.WriteLine(string.Format(ResourceMgr.GetString("I0003"), e.BytesTransferred, e.TotalBytesToTransfer)); - } - else if (e.EventType == ZipProgressEventType.Saving_AfterWriteEntry) - { - // エントリの書き込み終了 - //Debug.WriteLine(string.Format("{0} の書き込み終了", e.CurrentEntry.FileName)); - //Debug.WriteLine(string.Format("{0} 個中 {1} 個のエントリの書き込みが完了しました", e.EntriesTotal, e.EntriesSaved)); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Debug.WriteLine(string.Format(ResourceMgr.GetString("I0004"), e.CurrentEntry.FileName)); - Debug.WriteLine(string.Format(ResourceMgr.GetString("I0005"), e.EntriesTotal, e.EntriesSaved)); - - } - else if (e.EventType == ZipProgressEventType.Saving_Completed) - { - // 書庫の作成が完了 - //Debug.WriteLine(string.Format("{0} の作成終了", e.ArchiveName)); - - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - Debug.WriteLine(string.Format(ResourceMgr.GetString("I0006"), e.ArchiveName)); - } - } - - /// 上書き確認デリゲート - public static void MyExtractProgressEventHandler(Object sender, ExtractProgressEventArgs e) - { - if (e.EventType == ZipProgressEventType.Extracting_ExtractEntryWouldOverwrite) - { - // 展開するファイル名 - string filePath = Path.Combine( - e.ExtractLocation, e.CurrentEntry.FileName.Replace('/', '\\')); - - // ダイアログを表示する - //DialogResult res = MessageBox.Show( - // "'" + filePath + "'はすでに存在します。\r\n" + - // "'はい'で上書き 'いいえ'で何もしない 'キャンセル'で中止", - // "上書きの確認", - // MessageBoxButtons.YesNoCancel, - // MessageBoxIcon.Question); - - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - DialogResult res = MessageBox.Show( - "'" + filePath + ResourceMgr.GetString("M0009")+ "\r\n" + - ResourceMgr.GetString("M0010"), - ResourceMgr.GetString("M0011"), - MessageBoxButtons.YesNoCancel, - MessageBoxIcon.Question); - - if (res == DialogResult.Yes) - { - // 上書きする - e.CurrentEntry.ExtractExistingFile = - ExtractExistingFileAction.OverwriteSilently; - } - else if (res == DialogResult.No) - { - // 上書きしない - e.CurrentEntry.ExtractExistingFile = - ExtractExistingFileAction.DoNotOverwrite; - } - else if (res == DialogResult.Cancel) - { - // 展開を中止する - e.Cancel = true; - } - } - } - - #endregion - - #endregion - - #region メッセージ表示 - - /// メッセージを表示する。 - /// メッセージ - /// ログ・レベル - public static void OutPutMessage(string message, LogLevel lb) - { - Debug.WriteLine(message); - Console.WriteLine(message); - - switch (lb) - { - case LogLevel.DebugLog: - LogIF.DebugLog("ACCESS", message); - break; - case LogLevel.InfoLog: - LogIF.InfoLog("ACCESS", message); - break; - case LogLevel.WarnLog: - LogIF.WarnLog("ACCESS", message); - break; - case LogLevel.ErrorLog: - LogIF.ErrorLog("ACCESS", message); - break; - case LogLevel.FatalLog: - LogIF.FatalLog("ACCESS", message); - break; - } - } - - /// コマンドの確認 - /// 値 - /// コマンド・値 - public static void ConfirmCommand(List valsLst, Dictionary argsDic) - { - // 整形 - StringBuilder sb = new StringBuilder(); - - sb.AppendLine(""); - - // カレント ディレクトリ - //sb.AppendLine("カレント ディレクトリ"); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - sb.AppendLine(ResourceMgr.GetString("M0012")); - sb.AppendLine(Program.OrgCurrentDirectory); - - sb.AppendLine(""); - - // 起動条件 - //sb.AppendLine("起動条件"); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - sb.AppendLine(ResourceMgr.GetString("M0013")); - - sb.AppendLine(""); - - // 値 - //sb.AppendLine("値"); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - sb.AppendLine(ResourceMgr.GetString("M0014")); - foreach (string vals in valsLst) - { - sb.AppendLine(vals); - } - - sb.AppendLine(""); - - // コマンド・値 - //sb.AppendLine("コマンド・値"); - //For internationalization, Replaced all the Japanese language to ResourceMgr.GetString() method call - sb.AppendLine(ResourceMgr.GetString("M0015")); - foreach (string key in argsDic.Keys) - { - sb.AppendLine(string.Format("{0} : {1}", key, argsDic[key])); - } - - // 出力 - Program.OutPutMessage(sb.ToString(), LogLevel.DebugLog); - } - - #endregion - - #endregion - - /// - /// GCする際のお作法 - /// WaitForPendingFinalizersで待機 - /// → 解凍ZIPファイルをCloseさせる - /// - public static void system_gc_collecting() - { - try - { - System.GC.Collect(); - System.GC.WaitForPendingFinalizers(); - System.GC.Collect(); - } -#pragma warning disable - catch (Exception ex) -#pragma warning restore - { - // ・・・ - } - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Properties/AssemblyInfo.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Properties/AssemblyInfo.cs deleted file mode 100644 index de66f144a..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,64 +0,0 @@ -//********************************************************************************** -//* Copyright (C) 2007,2016 Hitachi Solutions,Ltd. -//********************************************************************************** - -#region Apache License -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -//********************************************************************************** -//* クラス名 :AssemblyInfo -//* クラス日本語名 :AssemblyInfo設定 -//* -//* 作成者 :生技 西野 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 20xx/xx/xx XX XX 新規作成 -//********************************************************************************** - -using System.Reflection; -using System.Runtime.InteropServices; - -// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 -// アセンブリに関連付けられている情報を変更するには、 -// これらの属性値を変更してください。 -[assembly: AssemblyTitle("DeployZipPackWithHTTP")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Hitachi Solutions")] -[assembly: AssemblyProduct("DeployZipPackWithHTTP")] -[assembly: AssemblyCopyright("Copyright (C) 2007,2016 Hitachi Solutions,Ltd.")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// ComVisible を false に設定すると、このアセンブリ内の型は COM コンポーネントには -// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、 -// その型の ComVisible 属性を true に設定してください。 -[assembly: ComVisible(false)] - -// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です -[assembly: Guid("24f1957f-ecac-47ef-9331-9ac987a82e8e")] - -// アセンブリのバージョン情報は、以下の 4 つの値で構成されています: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs deleted file mode 100644 index c95192591..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.Designer.cs +++ /dev/null @@ -1,495 +0,0 @@ -//------------------------------------------------------------------------------ -// -// このコードはツールによって生成されました。 -// ランタイム バージョン:4.0.30319.42000 -// -// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 -// コードが再生成されるときに損失したりします。 -// -//------------------------------------------------------------------------------ - -namespace DeployZipPackWithHTTP.Resources { - using System; - - - /// - /// ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。 - /// - // このクラスは StronglyTypedResourceBuilder クラスが ResGen - // または Visual Studio のようなツールを使用して自動生成されました。 - // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に - // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resource { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resource() { - } - - /// - /// このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DeployZipPackWithHTTP.Resources.Resource", typeof(Resource).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// すべてについて、現在のスレッドの CurrentUICulture プロパティをオーバーライドします - /// 現在のスレッドの CurrentUICulture プロパティをオーバーライドします。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// /HELP Show me the HELP. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0001 { - get { - return ResourceManager.GetString("A0001", resourceCulture); - } - } - - /// - /// /CUI I will start in CUI CUI. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0002 { - get { - return ResourceManager.GetString("A0002", resourceCulture); - } - } - - /// - /// Below, valid options argument only when CUI に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0003 { - get { - return ResourceManager.GetString("A0003", resourceCulture); - } - } - - /// - /// / Force update to erase the FORCE history file. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0004 { - get { - return ResourceManager.GetString("A0004", resourceCulture); - } - } - - /// - /// /QUIET (Hide the message) that you can run in quiet mode . に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0005 { - get { - return ResourceManager.GetString("A0005", resourceCulture); - } - } - - /// - /// /SILENT (Hide message, the progress) that will run in silent mode. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0006 { - get { - return ResourceManager.GetString("A0006", resourceCulture); - } - } - - /// - /// /NB Ignore start instruction assembly even if they are specified in the manifest file. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0007 { - get { - return ResourceManager.GetString("A0007", resourceCulture); - } - } - - /// - /// /WWWURL I Specifies the URL to the manifest file of \ "http://xxxx \" WWW server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0008 { - get { - return ResourceManager.GetString("A0008", resourceCulture); - } - } - - /// - /// /WWWUID xxxx WWW Specifies the user ID when accessing the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0009 { - get { - return ResourceManager.GetString("A0009", resourceCulture); - } - } - - /// - /// /WWWPWD xxxx WWW Specifies the password used to access the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0010 { - get { - return ResourceManager.GetString("A0010", resourceCulture); - } - } - - /// - /// /WWWDomain xxxx WWW You specify the domain when accessing to the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0011 { - get { - return ResourceManager.GetString("A0011", resourceCulture); - } - } - - /// - /// /ProxyURL \"http://yyyy\" Proxy I specify the URL to the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0012 { - get { - return ResourceManager.GetString("A0012", resourceCulture); - } - } - - /// - /// If it is not specified, and then apply the IE setting. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0013 { - get { - return ResourceManager.GetString("A0013", resourceCulture); - } - } - - /// - /// It does not use a proxy [none] is specified. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0014 { - get { - return ResourceManager.GetString("A0014", resourceCulture); - } - } - - /// - /// /ProxyUID yyyy Proxy Specifies the user ID when accessing the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0015 { - get { - return ResourceManager.GetString("A0015", resourceCulture); - } - } - - /// - /// /ProxyPWD yyyy Proxy Specifies the password used to access the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0016 { - get { - return ResourceManager.GetString("A0016", resourceCulture); - } - } - - /// - /// /ProxyDomain yyyy Proxy You specify the domain when accessing to the server. に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0017 { - get { - return ResourceManager.GetString("A0017", resourceCulture); - } - } - - /// - /// /UnIns \"http://xxxx\" WWW Specify the URL to the manifest file on the server (uninstall). に類似しているローカライズされた文字列を検索します。 - /// - internal static string A0018 { - get { - return ResourceManager.GetString("A0018", resourceCulture); - } - } - - /// - /// An error has occurred. に類似しているローカライズされた文字列を検索します。 - /// - internal static string E0001 { - get { - return ResourceManager.GetString("E0001", resourceCulture); - } - } - - /// - /// Delete Exception: に類似しているローカライズされた文字列を検索します。 - /// - internal static string E0002 { - get { - return ResourceManager.GetString("E0002", resourceCulture); - } - } - - /// - /// Error に類似しているローカライズされた文字列を検索します。 - /// - internal static string Error0001 { - get { - return ResourceManager.GetString("Error0001", resourceCulture); - } - } - - /// - /// Summary (compression) に類似しているローカライズされた文字列を検索します。 - /// - internal static string Error0002 { - get { - return ResourceManager.GetString("Error0002", resourceCulture); - } - } - - /// - /// Summary (De) に類似しているローカライズされた文字列を検索します。 - /// - internal static string Error0003 { - get { - return ResourceManager.GetString("Error0003", resourceCulture); - } - } - - /// - /// ZIP file |*.Zip に類似しているローカライズされた文字列を検索します。 - /// - internal static string EXT0001 { - get { - return ResourceManager.GetString("EXT0001", resourceCulture); - } - } - - /// - /// Production start of {0} に類似しているローカライズされた文字列を検索します。 - /// - internal static string I0001 { - get { - return ResourceManager.GetString("I0001", resourceCulture); - } - } - - /// - /// Write start of {0} に類似しているローカライズされた文字列を検索します。 - /// - internal static string I0002 { - get { - return ResourceManager.GetString("I0002", resourceCulture); - } - } - - /// - /// I wrote {0} / {1} bytes に類似しているローカライズされた文字列を検索します。 - /// - internal static string I0003 { - get { - return ResourceManager.GetString("I0003", resourceCulture); - } - } - - /// - /// Write end of {0} に類似しているローカライズされた文字列を検索します。 - /// - internal static string I0004 { - get { - return ResourceManager.GetString("I0004", resourceCulture); - } - } - - /// - /// Writing of entry for {1} (s) has (have) completed {0} or in に類似しているローカライズされた文字列を検索します。 - /// - internal static string I0005 { - get { - return ResourceManager.GetString("I0005", resourceCulture); - } - } - - /// - /// Creation end of {0} に類似しているローカライズされた文字列を検索します。 - /// - internal static string I0006 { - get { - return ResourceManager.GetString("I0006", resourceCulture); - } - } - - /// - /// Message に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0001 { - get { - return ResourceManager.GetString("M0001", resourceCulture); - } - } - - /// - /// <Message> に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0002 { - get { - return ResourceManager.GetString("M0002", resourceCulture); - } - } - - /// - /// <Stack trace> に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0003 { - get { - return ResourceManager.GetString("M0003", resourceCulture); - } - } - - /// - /// <Internal exception> に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0004 { - get { - return ResourceManager.GetString("M0004", resourceCulture); - } - } - - /// - /// Message に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0005 { - get { - return ResourceManager.GetString("M0005", resourceCulture); - } - } - - /// - /// CUI start に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0006 { - get { - return ResourceManager.GetString("M0006", resourceCulture); - } - } - - /// - /// GUI boot に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0007 { - get { - return ResourceManager.GetString("M0007", resourceCulture); - } - } - - /// - /// Delete Exception: に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0008 { - get { - return ResourceManager.GetString("M0008", resourceCulture); - } - } - - /// - /// 'Already exists. に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0009 { - get { - return ResourceManager.GetString("M0009", resourceCulture); - } - } - - /// - /// You do not do anything with 'no' overwrite with 'yes' stop 'Cancel' に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0010 { - get { - return ResourceManager.GetString("M0010", resourceCulture); - } - } - - /// - /// Overwrite Confirmation に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0011 { - get { - return ResourceManager.GetString("M0011", resourceCulture); - } - } - - /// - /// Current directory に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0012 { - get { - return ResourceManager.GetString("M0012", resourceCulture); - } - } - - /// - /// Start-up conditions に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0013 { - get { - return ResourceManager.GetString("M0013", resourceCulture); - } - } - - /// - /// Value に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0014 { - get { - return ResourceManager.GetString("M0014", resourceCulture); - } - } - - /// - /// Command value に類似しているローカライズされた文字列を検索します。 - /// - internal static string M0015 { - get { - return ResourceManager.GetString("M0015", resourceCulture); - } - } - - /// - /// Successful completion に類似しているローカライズされた文字列を検索します。 - /// - internal static string S0001 { - get { - return ResourceManager.GetString("S0001", resourceCulture); - } - } - - /// - /// Abnormal termination に類似しているローカライズされた文字列を検索します。 - /// - internal static string S0002 { - get { - return ResourceManager.GetString("S0002", resourceCulture); - } - } - - /// - /// Compression に類似しているローカライズされた文字列を検索します。 - /// - internal static string T0001 { - get { - return ResourceManager.GetString("T0001", resourceCulture); - } - } - } -} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.ja-JP.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.ja-JP.resx deleted file mode 100644 index 319105fa5..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.ja-JP.resx +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - /HELP HELPを表示します。 - - - /CUI CUIで起動します。 - - - 以下、CUI時のみ有効なオプション引数 - - - /FORCE 履歴ファイルを消去して強制更新します。 - - - /QUIET クワイエット モードで実行します(メッセージを非表示)。 - - - /SILENT サイレント モードで実行します(メッセージ、進捗を非表示)。 - - - /NB マニフェストファイルで起動指示アセンブリが指定されていても無視します。 - - - /WWWURL \"http://xxxx\" WWWサーバ上のマニュフェスト ファイルへのURLを指定します。 - - - /WWWUID xxxx WWWサーバへアクセスする際のユーザIDを指定します。 - - - /WWWPWD xxxx WWWサーバへアクセスする際のパスワードを指定します。 - - - /WWWDomain xxxx WWWサーバへアクセスする際のドメインを指定します。 - - - /ProxyURL \"http://yyyy\" ProxyサーバへのURLを指定します。 - - - 指定の無い場合は、IE設定を適用します。 - - - [none]指定時はプロキシを使用しません。 - - - /ProxyUID yyyy Proxyサーバへアクセスする際のユーザIDを指定します。 - - - /ProxyPWD yyyy Proxyサーバへアクセスする際のパスワードを指定します。 - - - /ProxyDomain yyyy Proxyサーバへアクセスする際のドメインを指定します。 - - - /UnIns \"http://xxxx\" WWWサーバ上のマニュフェスト ファイルへのURLを指定します(アンインストール)。 - - - エラーが発生しました。 - - - 削除例外: - - - エラー - - - サマリ(圧縮) - - - サマリ(解凍) - - - ZIPファイル|*.zip - - - {0} の作成開始 - - - {0} の書き込み開始 - - - {0}/{1} バイト 書き込みました - - - {0} の書き込み終了 - - - {0} 個中 {1} 個のエントリの書き込みが完了しました - - - {0} の作成終了 - - - メッセージ - - - <メッセージ> - - - <スタック トレース> - - - <内部例外> - - - メッセージ - - - CUI起動 - - - GUI起動 - - - 削除例外: - - - 'はすでに存在します。 - - - 'はい'で上書き 'いいえ'で何もしない 'キャンセル'で中止 - - - 上書きの確認 - - - カレント ディレクトリ - - - 起動条件 - - - - - - コマンド・値 - - - 正常終了 - - - 異常終了 - - - 圧縮 - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.resx b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.resx deleted file mode 100644 index 4c1925f35..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Resources/Resource.resx +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - /HELP Show me the HELP. - - - /CUI I will start in CUI CUI. - - - Below, valid options argument only when CUI - - - / Force update to erase the FORCE history file. - - - /QUIET (Hide the message) that you can run in quiet mode . - - - /SILENT (Hide message, the progress) that will run in silent mode. - - - /NB Ignore start instruction assembly even if they are specified in the manifest file. - - - /WWWURL I Specifies the URL to the manifest file of \ "http://xxxx \" WWW server. - - - /WWWUID xxxx WWW Specifies the user ID when accessing the server. - - - /WWWPWD xxxx WWW Specifies the password used to access the server. - - - /WWWDomain xxxx WWW You specify the domain when accessing to the server. - - - /ProxyURL \"http://yyyy\" Proxy I specify the URL to the server. - - - If it is not specified, and then apply the IE setting. - - - It does not use a proxy [none] is specified. - - - /ProxyUID yyyy Proxy Specifies the user ID when accessing the server. - - - /ProxyPWD yyyy Proxy Specifies the password used to access the server. - - - /ProxyDomain yyyy Proxy You specify the domain when accessing to the server. - - - /UnIns \"http://xxxx\" WWW Specify the URL to the manifest file on the server (uninstall). - - - An error has occurred. - - - Delete Exception: - - - Error - - - Summary (compression) - - - Summary (De) - - - ZIP file |*.Zip - - - Production start of {0} - - - Write start of {0} - - - I wrote {0} / {1} bytes - - - Write end of {0} - - - Writing of entry for {1} (s) has (have) completed {0} or in - - - Creation end of {0} - - - Message - - - <Message> - - - <Stack trace> - - - <Internal exception> - - - Message - - - CUI start - - - GUI boot - - - Delete Exception: - - - 'Already exists. - - - You do not do anything with 'no' overwrite with 'yes' stop 'Cancel' - - - Overwrite Confirmation - - - Current directory - - - Start-up conditions - - - Value - - - Command value - - - Successful completion - - - Abnormal termination - - - Compression - - \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/Wave1.wav b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/Wave1.wav deleted file mode 100644 index a6a9cc84d61281fcb8be8444db1868e3f186ef43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 58 zcmWIYbaOLeU|-e6VLVPnd(X5D+SouR3Z_FSRw_zDP3>in24rwL#G05m zSa`#z;Xz|aNE3YU649vepbu?KOne|3BM%xMTK|C2Xd($PerwH~xs(o8gG8IXPuAM| ze0%M^_W8~}m$m22H(ysT%zjkAh$U$oyttk!LrETPv3#eyUj^2uQnKsj8(Ah~(*KBo zGCxmbi4X7AT`K)5$)X2Xga;qm^VGmklwlmj9l*fkcsw>0JCJZ5j>V70;-iVl*b(Pn zN)PE6MlBh`94FpZs{|G?FV0X`avn-ejp|y}=hgOe)mvG!U1N@@!iwapKTbi%=pv`@YCnoM_Z5`L>a)tzz>N_`T#82Tb~K6JZnrvG9*0ed5S zs0D(_+$zD70A8 zi<&)v7IXn44!de`)cuIlo7v5bCkF)EgSrzQaRPP+nz^xQe!CVYzfp@*(4r4*c(BkJ z2a)SO)3g9%2Yr1xr}v{3oq0}O+pOOlu%u-@Hpmq*d{6oyn|p_wGUegsfPEMFuFtPk zvI}O{6P+feyEFZQITP^kCI{ulvz@-^bsFh`moK zrAU34B9F^{ioB6MPN|_JDCLw>lnTn56h@~wN0IlJb9_NyIH`Sr?_*M~qb$3?KwRqO z4Ki21V|qM#Sp6qcZwD`2`^*Zn9$UT~Ta3(EnfDJtOfn1@1`Gp+0mFb{z%XDKFbo(5 z3Fc4BRaK_gubo`AkPc)#*1F|F>QFK;nP-ZCrl+kobR)vW~KkvVk%|SxY%g zk$7F!0VM8!ks|T^35u)-$hv^64}40waXp}0e?NH3zef9_Nzpt&Clc$+dPMrStX#1x zSL{YP4aJcxB**|}UOm2lX7|h!)X!)SX2pQ4m}D3*3>XFs1BL;^fMLKeU>GnA7zPXj ztC#_a<0Ukf2v~m0_fh1dK8dO2e;pF*%V&EM*GtSU;j?@RC~?2kS2LI2{3XtJzrK`M zU)BSp{u)Jclm43w>_Lp1dG#~vXI2Xst=B=}u$j7ag+ME`OP i$@Q~R|N8ZE*8g^T7}qgG^$h&I@$~$I<5$-i|9=9Wl!#IQ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_2.xls b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_2.xls deleted file mode 100644 index ba8dfff1547171d850aa7438a1d17165efc64aff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13824 zcmeHOTW?fV6#mZ4nRW_o=>-e6VLVPnd(X5D+SouR3Z_FSRw_zDP3>in24rwL#G05m zSa`#z;Xz|aNE3YU649vepbu?KOne|3BM%xMTK|C2Xd($PerwH~xs(o8gG8IXPuAM| ze0%M^_W8~}m$m22H(ysT%zjkAh$U$oyttk!LrETPv3#eyUj^2uQnKsj8(Ah~(*KBo zGCxmbi4X7AT`K)5$)X2Xga;qm^VGmklwlmj9l*fkcsw>0JCJZ5j>V70;-iVl*b(Pn zN)PE6MlBh`94FpZs{|G?FV0X`avn-ejp|y}=hgOe)mvG!U1N@@!iwapKTbi%=pv`@YCnoM_Z5`L>a)tzz>N_`T#82Tb~K6JZnrvG9*0ed5S zs0D(_+$zD70A8 zi<&)v7IXn44!de`)cuIlo7v5bCkF)EgSrzQaRPP+nz^xQe!CVYzfp@*(4r4*c(BkJ z2a)SO)3g9%2Yr1xr}v{3oq0}O+pOOlu%u-@Hpmq*d{6oyn|p_wGUegsfPEMFuFtPk zvI}O{6P+feyEFZQITP^kCI{ulvz@-^bsFh`moK zrAU34B9F^{ioB6MPN|_JDCLw>lnTn56h@~wN0IlJb9_NyIH`Sr?_*M~qb$3?KwRqO z4Ki21V|qM#Sp6qcZwD`2`^*Zn9$UT~Ta3(EnfDJtOfn1@1`Gp+0mFb{z%XDKFbo(5 z3Fc4BRaK_gubo`AkPc)#*1F|F>QFK;nP-ZCrl+kobR)vW~KkvVk%|SxY%g zk$7F!0VM8!ks|T^35u)-$hv^64}40waXp}0e?NH3zef9_Nzpt&Clc$+dPMrStX#1x zSL{YP4aJcxB**|}UOm2lX7|h!)X!)SX2pQ4m}D3*3>XFs1BL;^fMLKeU>GnA7zPXj ztC#_a<0Ukf2v~m0_fh1dK8dO2e;pF*%V&EM*GtSU;j?@RC~?2kS2LI2{3XtJzrK`M zU)BSp{u)Jclm43w>_Lp1dG#~vXI2Xst=B=}u$j7ag+ME`OP i$@Q~R|N8ZE*8g^T7}qgG^$h&I@$~$I<5$-i|9=9Wl!#IQ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_3.xls b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/Excel 97-2003_3.xls deleted file mode 100644 index ba8dfff1547171d850aa7438a1d17165efc64aff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13824 zcmeHOTW?fV6#mZ4nRW_o=>-e6VLVPnd(X5D+SouR3Z_FSRw_zDP3>in24rwL#G05m zSa`#z;Xz|aNE3YU649vepbu?KOne|3BM%xMTK|C2Xd($PerwH~xs(o8gG8IXPuAM| ze0%M^_W8~}m$m22H(ysT%zjkAh$U$oyttk!LrETPv3#eyUj^2uQnKsj8(Ah~(*KBo zGCxmbi4X7AT`K)5$)X2Xga;qm^VGmklwlmj9l*fkcsw>0JCJZ5j>V70;-iVl*b(Pn zN)PE6MlBh`94FpZs{|G?FV0X`avn-ejp|y}=hgOe)mvG!U1N@@!iwapKTbi%=pv`@YCnoM_Z5`L>a)tzz>N_`T#82Tb~K6JZnrvG9*0ed5S zs0D(_+$zD70A8 zi<&)v7IXn44!de`)cuIlo7v5bCkF)EgSrzQaRPP+nz^xQe!CVYzfp@*(4r4*c(BkJ z2a)SO)3g9%2Yr1xr}v{3oq0}O+pOOlu%u-@Hpmq*d{6oyn|p_wGUegsfPEMFuFtPk zvI}O{6P+feyEFZQITP^kCI{ulvz@-^bsFh`moK zrAU34B9F^{ioB6MPN|_JDCLw>lnTn56h@~wN0IlJb9_NyIH`Sr?_*M~qb$3?KwRqO z4Ki21V|qM#Sp6qcZwD`2`^*Zn9$UT~Ta3(EnfDJtOfn1@1`Gp+0mFb{z%XDKFbo(5 z3Fc4BRaK_gubo`AkPc)#*1F|F>QFK;nP-ZCrl+kobR)vW~KkvVk%|SxY%g zk$7F!0VM8!ks|T^35u)-$hv^64}40waXp}0e?NH3zef9_Nzpt&Clc$+dPMrStX#1x zSL{YP4aJcxB**|}UOm2lX7|h!)X!)SX2pQ4m}D3*3>XFs1BL;^fMLKeU>GnA7zPXj ztC#_a<0Ukf2v~m0_fh1dK8dO2e;pF*%V&EM*GtSU;j?@RC~?2kS2LI2{3XtJzrK`M zU)BSp{u)Jclm43w>_Lp1dG#~vXI2Xst=B=}u$j7ag+ME`OP i$@Q~R|N8ZE*8g^T7}qgG^$h&I@$~$I<5$-i|9=9Wl!#IQ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/top1.exe b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/aaa/top1.exe deleted file mode 100644 index 16ad51dd896e539ecaacf859d4840f484a0a45a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6656 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 I|H1?R0xIGCb^rhX diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_1.ppt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_1.ppt deleted file mode 100644 index 726b1ba6a09add0437deb63ae60ea98d10924d61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12800 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_2.ppt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_2.ppt deleted file mode 100644 index 726b1ba6a09add0437deb63ae60ea98d10924d61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12800 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_3.ppt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/PPT 97-2003_3.ppt deleted file mode 100644 index 726b1ba6a09add0437deb63ae60ea98d10924d61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12800 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/top2.exe b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/bbb/top2.exe deleted file mode 100644 index 16ad51dd896e539ecaacf859d4840f484a0a45a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6656 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 I|H1?R0xIGCb^rhX diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_1.doc b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_1.doc deleted file mode 100644 index 916c5799216c45de2eea4e52669a1424c573aa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10752 zcmeHN&u<$=6#jO-cI=dFw7to(R-Bl+IkkqQI_su7=}_)1&WSZ2!X$UsNong z0jDnayC$(dtpGJ1O9w`$MyHN0A6+)KRhLZAiD#bx@?U$VXe~UB!f?+cb2HgC_|OPv z8!pA8vW#oh_uKB|GmXBF<4hi(vz@qY*Y5*2SpTNc|G)Ay{qTc!T{g&j*zP{t-(&1s zM8Cv(f%PZlAVzllHous8-TdWO^kZY3)}Q5ZzqW3K zxXs7M@wTV^?(K2w zytWDgjqmwZN!R7Mr3iTTIsafw-8yG2fB>II{Q2(g{}!04ZA;PX!gGsDFXtDR-*|p8 z-PX=1AW><9#M*u&kLhY!f@hK#$=;+@b3InRIIK?PNmaSorb zt~LS6Lz&iZ9_Q98O>EKi-A6 zhq`d`xQ|mT9}oQ%V33~VZE#I*uNZIsYHwan-d;^#jyme)xt09%uIcBH@sn8X$4|%) zEi2TABgMPnHS|%{i2;tS#L-Dp-ZO6I8iEa&eSR_VqUq{sdoQ;Z>46noP8bfiDWDSXYpA{)!%#=oQCjbYTF)N!65O4@M1RMem0f)ejM?jkw{W#X%Mf*_gKlPsv?Y#8Ajtsfp=I&zACRXnYJ6QB4 zU-kzq;RYWEWs;6_P#Xx( z>5X{p=3q&DA9eFAig6I9xgj6rmVAPmjm3=S)&bwd*ZNf+QCl-P&9?fplI&+V`YN}Y z@w1YR=5m1Xbq`q#n#GLj72d}8cw(dDj~SdK3R5&}4uc%;UK_jF_)WanMUj+~a@W1< z=>Lg;$JtNt3tpp--@7~;!|>!-wK7{N&E?Njs^j^A%Gky7#PpnbCJc{AN0k;cBp0l` R(2IMo{qiZ*j&?Kx{{ZhgE#LqE diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_2.doc b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_2.doc deleted file mode 100644 index 916c5799216c45de2eea4e52669a1424c573aa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10752 zcmeHN&u<$=6#jO-cI=dFw7to(R-Bl+IkkqQI_su7=}_)1&WSZ2!X$UsNong z0jDnayC$(dtpGJ1O9w`$MyHN0A6+)KRhLZAiD#bx@?U$VXe~UB!f?+cb2HgC_|OPv z8!pA8vW#oh_uKB|GmXBF<4hi(vz@qY*Y5*2SpTNc|G)Ay{qTc!T{g&j*zP{t-(&1s zM8Cv(f%PZlAVzllHous8-TdWO^kZY3)}Q5ZzqW3K zxXs7M@wTV^?(K2w zytWDgjqmwZN!R7Mr3iTTIsafw-8yG2fB>II{Q2(g{}!04ZA;PX!gGsDFXtDR-*|p8 z-PX=1AW><9#M*u&kLhY!f@hK#$=;+@b3InRIIK?PNmaSorb zt~LS6Lz&iZ9_Q98O>EKi-A6 zhq`d`xQ|mT9}oQ%V33~VZE#I*uNZIsYHwan-d;^#jyme)xt09%uIcBH@sn8X$4|%) zEi2TABgMPnHS|%{i2;tS#L-Dp-ZO6I8iEa&eSR_VqUq{sdoQ;Z>46noP8bfiDWDSXYpA{)!%#=oQCjbYTF)N!65O4@M1RMem0f)ejM?jkw{W#X%Mf*_gKlPsv?Y#8Ajtsfp=I&zACRXnYJ6QB4 zU-kzq;RYWEWs;6_P#Xx( z>5X{p=3q&DA9eFAig6I9xgj6rmVAPmjm3=S)&bwd*ZNf+QCl-P&9?fplI&+V`YN}Y z@w1YR=5m1Xbq`q#n#GLj72d}8cw(dDj~SdK3R5&}4uc%;UK_jF_)WanMUj+~a@W1< z=>Lg;$JtNt3tpp--@7~;!|>!-wK7{N&E?Njs^j^A%Gky7#PpnbCJc{AN0k;cBp0l` R(2IMo{qiZ*j&?Kx{{ZhgE#LqE diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_3.doc b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/Word 97-2003_3.doc deleted file mode 100644 index 916c5799216c45de2eea4e52669a1424c573aa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10752 zcmeHN&u<$=6#jO-cI=dFw7to(R-Bl+IkkqQI_su7=}_)1&WSZ2!X$UsNong z0jDnayC$(dtpGJ1O9w`$MyHN0A6+)KRhLZAiD#bx@?U$VXe~UB!f?+cb2HgC_|OPv z8!pA8vW#oh_uKB|GmXBF<4hi(vz@qY*Y5*2SpTNc|G)Ay{qTc!T{g&j*zP{t-(&1s zM8Cv(f%PZlAVzllHous8-TdWO^kZY3)}Q5ZzqW3K zxXs7M@wTV^?(K2w zytWDgjqmwZN!R7Mr3iTTIsafw-8yG2fB>II{Q2(g{}!04ZA;PX!gGsDFXtDR-*|p8 z-PX=1AW><9#M*u&kLhY!f@hK#$=;+@b3InRIIK?PNmaSorb zt~LS6Lz&iZ9_Q98O>EKi-A6 zhq`d`xQ|mT9}oQ%V33~VZE#I*uNZIsYHwan-d;^#jyme)xt09%uIcBH@sn8X$4|%) zEi2TABgMPnHS|%{i2;tS#L-Dp-ZO6I8iEa&eSR_VqUq{sdoQ;Z>46noP8bfiDWDSXYpA{)!%#=oQCjbYTF)N!65O4@M1RMem0f)ejM?jkw{W#X%Mf*_gKlPsv?Y#8Ajtsfp=I&zACRXnYJ6QB4 zU-kzq;RYWEWs;6_P#Xx( z>5X{p=3q&DA9eFAig6I9xgj6rmVAPmjm3=S)&bwd*ZNf+QCl-P&9?fplI&+V`YN}Y z@w1YR=5m1Xbq`q#n#GLj72d}8cw(dDj~SdK3R5&}4uc%;UK_jF_)WanMUj+~a@W1< z=>Lg;$JtNt3tpp--@7~;!|>!-wK7{N&E?Njs^j^A%Gky7#PpnbCJc{AN0k;cBp0l` R(2IMo{qiZ*j&?Kx{{ZhgE#LqE diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/top3.exe b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/ccc/top3.exe deleted file mode 100644 index 16ad51dd896e539ecaacf859d4840f484a0a45a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6656 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 I|H1?R0xIGCb^rhX diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/top.exe b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/top.exe deleted file mode 100644 index 16ad51dd896e539ecaacf859d4840f484a0a45a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6656 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 I|H1?R0xIGCb^rhX diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_1.xls b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_1.xls deleted file mode 100644 index ba8dfff1547171d850aa7438a1d17165efc64aff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13824 zcmeHOTW?fV6#mZ4nRW_o=>-e6VLVPnd(X5D+SouR3Z_FSRw_zDP3>in24rwL#G05m zSa`#z;Xz|aNE3YU649vepbu?KOne|3BM%xMTK|C2Xd($PerwH~xs(o8gG8IXPuAM| ze0%M^_W8~}m$m22H(ysT%zjkAh$U$oyttk!LrETPv3#eyUj^2uQnKsj8(Ah~(*KBo zGCxmbi4X7AT`K)5$)X2Xga;qm^VGmklwlmj9l*fkcsw>0JCJZ5j>V70;-iVl*b(Pn zN)PE6MlBh`94FpZs{|G?FV0X`avn-ejp|y}=hgOe)mvG!U1N@@!iwapKTbi%=pv`@YCnoM_Z5`L>a)tzz>N_`T#82Tb~K6JZnrvG9*0ed5S zs0D(_+$zD70A8 zi<&)v7IXn44!de`)cuIlo7v5bCkF)EgSrzQaRPP+nz^xQe!CVYzfp@*(4r4*c(BkJ z2a)SO)3g9%2Yr1xr}v{3oq0}O+pOOlu%u-@Hpmq*d{6oyn|p_wGUegsfPEMFuFtPk zvI}O{6P+feyEFZQITP^kCI{ulvz@-^bsFh`moK zrAU34B9F^{ioB6MPN|_JDCLw>lnTn56h@~wN0IlJb9_NyIH`Sr?_*M~qb$3?KwRqO z4Ki21V|qM#Sp6qcZwD`2`^*Zn9$UT~Ta3(EnfDJtOfn1@1`Gp+0mFb{z%XDKFbo(5 z3Fc4BRaK_gubo`AkPc)#*1F|F>QFK;nP-ZCrl+kobR)vW~KkvVk%|SxY%g zk$7F!0VM8!ks|T^35u)-$hv^64}40waXp}0e?NH3zef9_Nzpt&Clc$+dPMrStX#1x zSL{YP4aJcxB**|}UOm2lX7|h!)X!)SX2pQ4m}D3*3>XFs1BL;^fMLKeU>GnA7zPXj ztC#_a<0Ukf2v~m0_fh1dK8dO2e;pF*%V&EM*GtSU;j?@RC~?2kS2LI2{3XtJzrK`M zU)BSp{u)Jclm43w>_Lp1dG#~vXI2Xst=B=}u$j7ag+ME`OP i$@Q~R|N8ZE*8g^T7}qgG^$h&I@$~$I<5$-i|9=9Wl!#IQ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_2.xls b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_2.xls deleted file mode 100644 index ba8dfff1547171d850aa7438a1d17165efc64aff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13824 zcmeHOTW?fV6#mZ4nRW_o=>-e6VLVPnd(X5D+SouR3Z_FSRw_zDP3>in24rwL#G05m zSa`#z;Xz|aNE3YU649vepbu?KOne|3BM%xMTK|C2Xd($PerwH~xs(o8gG8IXPuAM| ze0%M^_W8~}m$m22H(ysT%zjkAh$U$oyttk!LrETPv3#eyUj^2uQnKsj8(Ah~(*KBo zGCxmbi4X7AT`K)5$)X2Xga;qm^VGmklwlmj9l*fkcsw>0JCJZ5j>V70;-iVl*b(Pn zN)PE6MlBh`94FpZs{|G?FV0X`avn-ejp|y}=hgOe)mvG!U1N@@!iwapKTbi%=pv`@YCnoM_Z5`L>a)tzz>N_`T#82Tb~K6JZnrvG9*0ed5S zs0D(_+$zD70A8 zi<&)v7IXn44!de`)cuIlo7v5bCkF)EgSrzQaRPP+nz^xQe!CVYzfp@*(4r4*c(BkJ z2a)SO)3g9%2Yr1xr}v{3oq0}O+pOOlu%u-@Hpmq*d{6oyn|p_wGUegsfPEMFuFtPk zvI}O{6P+feyEFZQITP^kCI{ulvz@-^bsFh`moK zrAU34B9F^{ioB6MPN|_JDCLw>lnTn56h@~wN0IlJb9_NyIH`Sr?_*M~qb$3?KwRqO z4Ki21V|qM#Sp6qcZwD`2`^*Zn9$UT~Ta3(EnfDJtOfn1@1`Gp+0mFb{z%XDKFbo(5 z3Fc4BRaK_gubo`AkPc)#*1F|F>QFK;nP-ZCrl+kobR)vW~KkvVk%|SxY%g zk$7F!0VM8!ks|T^35u)-$hv^64}40waXp}0e?NH3zef9_Nzpt&Clc$+dPMrStX#1x zSL{YP4aJcxB**|}UOm2lX7|h!)X!)SX2pQ4m}D3*3>XFs1BL;^fMLKeU>GnA7zPXj ztC#_a<0Ukf2v~m0_fh1dK8dO2e;pF*%V&EM*GtSU;j?@RC~?2kS2LI2{3XtJzrK`M zU)BSp{u)Jclm43w>_Lp1dG#~vXI2Xst=B=}u$j7ag+ME`OP i$@Q~R|N8ZE*8g^T7}qgG^$h&I@$~$I<5$-i|9=9Wl!#IQ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_3.xls b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Excel 97-2003_3.xls deleted file mode 100644 index ba8dfff1547171d850aa7438a1d17165efc64aff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13824 zcmeHOTW?fV6#mZ4nRW_o=>-e6VLVPnd(X5D+SouR3Z_FSRw_zDP3>in24rwL#G05m zSa`#z;Xz|aNE3YU649vepbu?KOne|3BM%xMTK|C2Xd($PerwH~xs(o8gG8IXPuAM| ze0%M^_W8~}m$m22H(ysT%zjkAh$U$oyttk!LrETPv3#eyUj^2uQnKsj8(Ah~(*KBo zGCxmbi4X7AT`K)5$)X2Xga;qm^VGmklwlmj9l*fkcsw>0JCJZ5j>V70;-iVl*b(Pn zN)PE6MlBh`94FpZs{|G?FV0X`avn-ejp|y}=hgOe)mvG!U1N@@!iwapKTbi%=pv`@YCnoM_Z5`L>a)tzz>N_`T#82Tb~K6JZnrvG9*0ed5S zs0D(_+$zD70A8 zi<&)v7IXn44!de`)cuIlo7v5bCkF)EgSrzQaRPP+nz^xQe!CVYzfp@*(4r4*c(BkJ z2a)SO)3g9%2Yr1xr}v{3oq0}O+pOOlu%u-@Hpmq*d{6oyn|p_wGUegsfPEMFuFtPk zvI}O{6P+feyEFZQITP^kCI{ulvz@-^bsFh`moK zrAU34B9F^{ioB6MPN|_JDCLw>lnTn56h@~wN0IlJb9_NyIH`Sr?_*M~qb$3?KwRqO z4Ki21V|qM#Sp6qcZwD`2`^*Zn9$UT~Ta3(EnfDJtOfn1@1`Gp+0mFb{z%XDKFbo(5 z3Fc4BRaK_gubo`AkPc)#*1F|F>QFK;nP-ZCrl+kobR)vW~KkvVk%|SxY%g zk$7F!0VM8!ks|T^35u)-$hv^64}40waXp}0e?NH3zef9_Nzpt&Clc$+dPMrStX#1x zSL{YP4aJcxB**|}UOm2lX7|h!)X!)SX2pQ4m}D3*3>XFs1BL;^fMLKeU>GnA7zPXj ztC#_a<0Ukf2v~m0_fh1dK8dO2e;pF*%V&EM*GtSU;j?@RC~?2kS2LI2{3XtJzrK`M zU)BSp{u)Jclm43w>_Lp1dG#~vXI2Xst=B=}u$j7ag+ME`OP i$@Q~R|N8ZE*8g^T7}qgG^$h&I@$~$I<5$-i|9=9Wl!#IQ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_1.ppt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_1.ppt deleted file mode 100644 index 726b1ba6a09add0437deb63ae60ea98d10924d61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12800 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_2.ppt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_2.ppt deleted file mode 100644 index 726b1ba6a09add0437deb63ae60ea98d10924d61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12800 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_3.ppt b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/PPT 97-2003_3.ppt deleted file mode 100644 index 726b1ba6a09add0437deb63ae60ea98d10924d61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12800 zcmeHN3vg7`8UF9xO?LBuyJW)~;er(rc|@YtS21WnQIM3NRg01(dqZyBN8H`;P@FEc zwGLv71+i2IMQn#^tvGesvD(Vmhm1`}q}tILi*&H#bH?>i-?II_bM}T15=b0E$_!`c zyXV|<{_~&z|Ia!9dF;=@h1mPxj?Yq_{)Afppk=4~YyxntA*3`8=~L z0VI!yW5@zuLe`2xANmm&0qpYt5ClqqQlJbd2L=EG0SmwokU;?ZpEw?lJqyg2Bz_sO zWu_z$r(^|swC7<6MvSL5eL?8nXGyLCY@E2~FDNlkIcfcsA&gs8eP&-WPHbAru{?YwzSa3+;Pt_f-El+8srsA+XOp z`+e2d;^#coDb9hGk^<#3xQf- zCNK-Q2)G!S4O{|T3d{lK0+#{vfI8rtz#dqw3W#3EZTGi zBy^!EBU>z53qI;g_V_qkTUk&)igz7qRAtu6=igOX+F~5nN+B4* zHf*gr(lw^8LE|*|8hoHqhRXW06cqZG`EOORxW1AZ!B!bm#X@|u zl;x_BUPaFmyqRRdTV~)XPZ=Ssy4ww81^=RQ@&#_0hFJ5-1)hQM4peAuJ7&3)o1b6ID(&n^o}>d-h6o^+u768)ah~ zr{95e8#ZiEbf3RkFZqp4(pC*p%*D=h9>0xkd1(WxtJ~y}CHZ!`-5MIeWAi7xM$!Ayr*iV;LJo2(| zjL56I)+zb_xS~PT`N#dk+vS5+nqM_^1dnRUwT{i~M-eRB3xmWX-1gpyd{eF5Eb1QX4&()RRzCeB8Wl zu~s6fU4zldHE`&^1n7x=uxqeU#sQdx3kcgU7&g)-7C63-vv(>7VPXN)=bY#nyD7ojeNK$a6=uk75flQ!2pSqpy%` z7hHyQ;8NLvOGO7Rp$=R^@IdAMatLCHne!tKNiaw6L5Ez7<}C5$?oqK{Ic!5pa@r#m zL@7k3l&X4UPQ5Jg=XN2kDCC>S=c>65j{Hm{zY9r=BrET%Us?P^C3Q#F{uF%bpn_A+ zBVAH(=a5ge@-TY0Vem~pO9mCB`BRza^9)&8Y{`J!0<uUdjtQnp$)5*NnY#_Q}% z(srV5#-1BVXPlIsaWgT;PG?rc9FhAiYCl$2k_XiS$~WCZ)NBZno@Ty+X5JFzY4-iQ zRu=b0r<{*Eg{{syu~oC6(nK2>$JwmNeHP0n0-G)RFK=FXDN`NXKj|<=v_7QM_N6}0 z;?2{is2hDoZRxE(+X6cW9;^>%dx@#_p-1XoAM8XueK7QmLRxF|SuZr=Ea%MZJbp93 z=&eR}sA2HI8j*eQD`;dMpwUZ*(dc5d;`Na_eZuK_8m(eiV$%q}6kKQg=-%68y|Mcb z&Dc6tpiUm8LGku1f;%9dZCgquE1KN)J#vY(l(rAuh}$yoMi z$(oX}l4Ah^`A`Z?uk-lS^kyN}?xbs&Q~ahF z!&GcS9!gk3y-bdQX{Bl3rK(qMTZ0LNoGEBQw;3v&;+|Aiz*%fu{R%9!aS$P}*Oym^ zRb7q*2HmD##W}-Q;L{hf({WPvdNp#Rk&H7nOTv?KEbbOe^-hk*M3^rW@VF65EM^Vgjx#%78Eyz)|RF3-M^&W{pN{ zA!iJJqwqFL<%jS#8nl+mFUNBLZZt>1XOWJjWk|E;(eDS|k4-DR3O1mpOgm9K>PF&P z1L`yYn0gqwp6j#mvDsLyJl}>jBl|&ylay^X8;`2H>C2Ld)_8n{op2X7+fJ*Sjwhoh zq96G?1;3%#Adf^(@|~%X@R`GL3(eG_`}LoFX20FW4rRYP*Bowa^@R+>mHl=budCI0 zftzS_qpjGwv}Q)YHbY@mKKU!hZwPQ`JN>KA>{MX}ux5*FSQG9C8MqIaR$5_>H?X~w zIT5&PIG|_}{>Z6>->ASW*j`iC+cgA?*~vlW!;VL$B%;ZfU>TivK4~D_sg(osQJZzIf?%$+RvrPr;Pj$ z-Lq6r;u}MyN+wk8HXaRODF=1cCpSt`>oi4LV;Q^FNxMrDQVt>#P#`KfE1Afo?aQ(E zQS#7^ETZ1JhP}Xvx5RMxIiQ^S*T>wbV=v&1Xu4e))&o49Y^2GPGmx^KS9oWdeQ<@7 zO7jfw*^l)|-?Q+MH6DbOz@qJU?7ay#9Vj2-f3=mx^PR;`V`Idg<1BR(4qKX!|A!X? zjrc{x#y`@IEX9AT3H84*2znhZ#6QL<{PcGgHqQ2Gq*FcSGXh%kl&C*=1h9=x*S@&Bg<`pf^Hfw6L=LPyIU zDW1LIb1b*deG2z2+_QX@`OlpRxu2I2Vke@FlOKlzK1X)(0cA{Y&X3&w|9@$=$Ta`} diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_1.doc b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_1.doc deleted file mode 100644 index 916c5799216c45de2eea4e52669a1424c573aa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10752 zcmeHN&u<$=6#jO-cI=dFw7to(R-Bl+IkkqQI_su7=}_)1&WSZ2!X$UsNong z0jDnayC$(dtpGJ1O9w`$MyHN0A6+)KRhLZAiD#bx@?U$VXe~UB!f?+cb2HgC_|OPv z8!pA8vW#oh_uKB|GmXBF<4hi(vz@qY*Y5*2SpTNc|G)Ay{qTc!T{g&j*zP{t-(&1s zM8Cv(f%PZlAVzllHous8-TdWO^kZY3)}Q5ZzqW3K zxXs7M@wTV^?(K2w zytWDgjqmwZN!R7Mr3iTTIsafw-8yG2fB>II{Q2(g{}!04ZA;PX!gGsDFXtDR-*|p8 z-PX=1AW><9#M*u&kLhY!f@hK#$=;+@b3InRIIK?PNmaSorb zt~LS6Lz&iZ9_Q98O>EKi-A6 zhq`d`xQ|mT9}oQ%V33~VZE#I*uNZIsYHwan-d;^#jyme)xt09%uIcBH@sn8X$4|%) zEi2TABgMPnHS|%{i2;tS#L-Dp-ZO6I8iEa&eSR_VqUq{sdoQ;Z>46noP8bfiDWDSXYpA{)!%#=oQCjbYTF)N!65O4@M1RMem0f)ejM?jkw{W#X%Mf*_gKlPsv?Y#8Ajtsfp=I&zACRXnYJ6QB4 zU-kzq;RYWEWs;6_P#Xx( z>5X{p=3q&DA9eFAig6I9xgj6rmVAPmjm3=S)&bwd*ZNf+QCl-P&9?fplI&+V`YN}Y z@w1YR=5m1Xbq`q#n#GLj72d}8cw(dDj~SdK3R5&}4uc%;UK_jF_)WanMUj+~a@W1< z=>Lg;$JtNt3tpp--@7~;!|>!-wK7{N&E?Njs^j^A%Gky7#PpnbCJc{AN0k;cBp0l` R(2IMo{qiZ*j&?Kx{{ZhgE#LqE diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_2.doc b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_2.doc deleted file mode 100644 index 916c5799216c45de2eea4e52669a1424c573aa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10752 zcmeHN&u<$=6#jO-cI=dFw7to(R-Bl+IkkqQI_su7=}_)1&WSZ2!X$UsNong z0jDnayC$(dtpGJ1O9w`$MyHN0A6+)KRhLZAiD#bx@?U$VXe~UB!f?+cb2HgC_|OPv z8!pA8vW#oh_uKB|GmXBF<4hi(vz@qY*Y5*2SpTNc|G)Ay{qTc!T{g&j*zP{t-(&1s zM8Cv(f%PZlAVzllHous8-TdWO^kZY3)}Q5ZzqW3K zxXs7M@wTV^?(K2w zytWDgjqmwZN!R7Mr3iTTIsafw-8yG2fB>II{Q2(g{}!04ZA;PX!gGsDFXtDR-*|p8 z-PX=1AW><9#M*u&kLhY!f@hK#$=;+@b3InRIIK?PNmaSorb zt~LS6Lz&iZ9_Q98O>EKi-A6 zhq`d`xQ|mT9}oQ%V33~VZE#I*uNZIsYHwan-d;^#jyme)xt09%uIcBH@sn8X$4|%) zEi2TABgMPnHS|%{i2;tS#L-Dp-ZO6I8iEa&eSR_VqUq{sdoQ;Z>46noP8bfiDWDSXYpA{)!%#=oQCjbYTF)N!65O4@M1RMem0f)ejM?jkw{W#X%Mf*_gKlPsv?Y#8Ajtsfp=I&zACRXnYJ6QB4 zU-kzq;RYWEWs;6_P#Xx( z>5X{p=3q&DA9eFAig6I9xgj6rmVAPmjm3=S)&bwd*ZNf+QCl-P&9?fplI&+V`YN}Y z@w1YR=5m1Xbq`q#n#GLj72d}8cw(dDj~SdK3R5&}4uc%;UK_jF_)WanMUj+~a@W1< z=>Lg;$JtNt3tpp--@7~;!|>!-wK7{N&E?Njs^j^A%Gky7#PpnbCJc{AN0k;cBp0l` R(2IMo{qiZ*j&?Kx{{ZhgE#LqE diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_3.doc b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRoot/xxx/Word 97-2003_3.doc deleted file mode 100644 index 916c5799216c45de2eea4e52669a1424c573aa26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10752 zcmeHN&u<$=6#jO-cI=dFw7to(R-Bl+IkkqQI_su7=}_)1&WSZ2!X$UsNong z0jDnayC$(dtpGJ1O9w`$MyHN0A6+)KRhLZAiD#bx@?U$VXe~UB!f?+cb2HgC_|OPv z8!pA8vW#oh_uKB|GmXBF<4hi(vz@qY*Y5*2SpTNc|G)Ay{qTc!T{g&j*zP{t-(&1s zM8Cv(f%PZlAVzllHous8-TdWO^kZY3)}Q5ZzqW3K zxXs7M@wTV^?(K2w zytWDgjqmwZN!R7Mr3iTTIsafw-8yG2fB>II{Q2(g{}!04ZA;PX!gGsDFXtDR-*|p8 z-PX=1AW><9#M*u&kLhY!f@hK#$=;+@b3InRIIK?PNmaSorb zt~LS6Lz&iZ9_Q98O>EKi-A6 zhq`d`xQ|mT9}oQ%V33~VZE#I*uNZIsYHwan-d;^#jyme)xt09%uIcBH@sn8X$4|%) zEi2TABgMPnHS|%{i2;tS#L-Dp-ZO6I8iEa&eSR_VqUq{sdoQ;Z>46noP8bfiDWDSXYpA{)!%#=oQCjbYTF)N!65O4@M1RMem0f)ejM?jkw{W#X%Mf*_gKlPsv?Y#8Ajtsfp=I&zACRXnYJ6QB4 zU-kzq;RYWEWs;6_P#Xx( z>5X{p=3q&DA9eFAig6I9xgj6rmVAPmjm3=S)&bwd*ZNf+QCl-P&9?fplI&+V`YN}Y z@w1YR=5m1Xbq`q#n#GLj72d}8cw(dDj~SdK3R5&}4uc%;UK_jF_)WanMUj+~a@W1< z=>Lg;$JtNt3tpp--@7~;!|>!-wK7{N&E?Njs^j^A%Gky7#PpnbCJc{AN0k;cBp0l` R(2IMo{qiZ*j&?Kx{{ZhgE#LqE diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/FormAppRoot.mft b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/FormAppRoot.mft deleted file mode 100644 index 933aff4ec..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/FormAppRoot.mft +++ /dev/null @@ -1,12 +0,0 @@ -ins c:\FormAppRoot\ -exe top.exe, top1.exe, top2.exe, top3.exe -zip aaa.zip -md5 7VTMhx4QGwZh9mMSczbV6w== -zip bbb.zip -md5 O9hRvHhNewTtq/uhfVBoXA== -zip ccc.zip -md5 u8v6sA3FWxMtpnQufwBawA== -zip root.zip -md5 8ubimYmKT8xDcW4spPrz0w== -zip xxx.zip -md5 waOi04cwrDuo97c9Wd9NdQ== diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/aaa.zip b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/aaa.zip deleted file mode 100644 index a76de7f31a901575faa50718be2dcfe145f73602..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 49013 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/bbb.zip b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/bbb.zip deleted file mode 100644 index ef66392c051dff29c3eb61231a3b4154fa9bdbf6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 45929 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 diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/ccc.zip b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/ccc.zip deleted file mode 100644 index 4f4fe40f9c11fa0298e554c2c16bd0f34b3c6490..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 39791 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 O%Z_Qiws(#6(DE<8y1*y^ diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/xxx.zip b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/Sample/FormAppRootWeb/xxx.zip deleted file mode 100644 index d463e4f5486298c1afbb11b1237913a90b1bad6e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 114087 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 JI2?z|{{wE{1ULWy diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config deleted file mode 100644 index 2524d1712..000000000 --- a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.config +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.ico b/root/programs/CS/Frameworks/Tools/DeployZipPackWithHTTP/app.ico deleted file mode 100644 index c96147f2ddd01d357c2b2f5fad09bdf7b377d7ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3262 zcmeH~&uCcE9PhUJstaHuE>-jJvK0ncPIk|d!l<#HL5YPH&IHV1>jXf!f} z(3S=9z-9i(98As8U6-T1LziJmg<0l`J6+!ZW@@aiBV@k8^!+R=eN-KK3Ur zBU~8>VcDU=Y0uA3JbmyRAATT2K~!;2NbmaQt7L60hm!{fra!*EdRwx^RRTCp&i}%% z*Xz6# - - - \ No newline at end of file diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln index ce5af50d8..0bfe2d274 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2CSClientWPF_sample", "2CSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject diff --git a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln index 3d0d196d7..b26057ca9 100644 --- a/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2CSClientWin_sample", "2CSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln index d3712f43a..8f3d73b15 100644 --- a/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication", "WindowsFormsApplication\WindowsFormsApplication.csproj", "{17284ADF-2F82-412E-8D83-02E5C1606F53}" EndProject diff --git a/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln b/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln index 3b6daeb12..5d9e6e370 100644 --- a/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustCtrl_sample", "CustCtrl_sample.csproj", "{BA15CF85-A95B-4EA9-977B-0BE5EB739E72}" EndProject diff --git a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln index 877bdc218..4f2fbcfa3 100644 --- a/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenDaoAndBatUpd_sample", "GenDaoAndBatUpd_sample.csproj", "{D40BC756-8E12-4020-8486-99F482E35DCD}" EndProject diff --git a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln index eb5761e1f..8496aaee3 100644 --- a/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln +++ b/root/programs/CS/Samples/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TimeStamp_sample", "TimeStamp_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln index a2ccd78f2..b5138bfa8 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample", "RerunnableBatch_sample.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln index 2b6012eb1..b2db153c2 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject diff --git a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln index 5a997d542..d4b81a487 100644 --- a/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln +++ b/root/programs/CS/Samples/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject diff --git a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln index 00a9e2658..42d809b8d 100644 --- a/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln +++ b/root/programs/CS/Samples/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBatch_sample", "SimpleBatch_sample.csproj", "{D4941E87-FCE4-4102-B569-C17208AE13CF}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln index 98db71b7b..6016055c0 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample_all.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample_all.sln index f9976dea6..67b49676c 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample_all.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample_all.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject @@ -25,14 +25,6 @@ Global {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|Any CPU.Build.0 = Release|Any CPU {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|x86.ActiveCfg = Release|Any CPU {F9737483-DC6C-45D1-8CB7-27138FD76D36}.Release|x86.Build.0 = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.Build.0 = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.ActiveCfg = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.Build.0 = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.ActiveCfg = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.Build.0 = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.ActiveCfg = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.Build.0 = Release|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Debug|Any CPU.Build.0 = Debug|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Debug|x86.ActiveCfg = Debug|Any CPU @@ -41,6 +33,14 @@ Global {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Release|Any CPU.Build.0 = Release|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Release|x86.ActiveCfg = Release|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Release|x86.Build.0 = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.Build.0 = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.ActiveCfg = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.Build.0 = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.ActiveCfg = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.Build.0 = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.ActiveCfg = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln index 6329ecb55..bfbc03bbf 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin2_sample", "WSClientWin2_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln index 981371e6c..f0335d347 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWinCone_sample", "WSClientWinCone_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample_all.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample_all.sln index 3afadb50e..4f10f02c0 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample_all.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWinCone_sample/WSClientWinCone_sample_all.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWinCone_sample", "WSClientWinCone_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject @@ -35,22 +35,6 @@ Global {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|Mixed Platforms.Build.0 = Release|Any CPU {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|x86.ActiveCfg = Release|Any CPU {386EA604-40DB-44A8-87AE-F29B209BA9CF}.Release|x86.Build.0 = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|.NET.ActiveCfg = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|.NET.Build.0 = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.Build.0 = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.ActiveCfg = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.Build.0 = Debug|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|.NET.ActiveCfg = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|.NET.Build.0 = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.ActiveCfg = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.Build.0 = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.ActiveCfg = Release|Any CPU - {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.Build.0 = Release|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Debug|.NET.ActiveCfg = Debug|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Debug|.NET.Build.0 = Debug|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -67,6 +51,22 @@ Global {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Release|Mixed Platforms.Build.0 = Release|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Release|x86.ActiveCfg = Release|Any CPU {31B8CFB3-33AA-4528-AA5F-A1888A73977B}.Release|x86.Build.0 = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|.NET.ActiveCfg = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|.NET.Build.0 = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Any CPU.Build.0 = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.ActiveCfg = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Debug|x86.Build.0 = Debug|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|.NET.ActiveCfg = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|.NET.Build.0 = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.ActiveCfg = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Any CPU.Build.0 = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.ActiveCfg = Release|Any CPU + {096A202A-72E4-41D8-8B61-970E48E38135}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln index fa08f33a5..77b1d7ab4 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin_sample", "WSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample_all.sln b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample_all.sln index 984dbf4c0..acc768fcc 100644 --- a/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample_all.sln +++ b/root/programs/CS/Samples/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample_all.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSClientWin_sample", "WSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln b/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln index 542e4066e..b3e0c8e56 100644 --- a/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln +++ b/root/programs/CS/Samples/WS_sample/WSServer_sample/WSServer_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSServer_sample", "WSServer_sample.csproj", "{720D48EF-B277-4C46-90B4-FBD8DA81D5CA}" EndProject diff --git a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln index 2febf2086..d4a81a8aa 100644 --- a/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln +++ b/root/programs/CS/Samples/WebApp_sample/MVC_Sample/MVC_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVC_Sample", "MVC_Sample\MVC_Sample.csproj", "{FA470444-65E2-43A4-9C91-8F3FEDF64118}" EndProject diff --git a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln index b8aafafb0..a8e700d27 100644 --- a/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln +++ b/root/programs/CS/Samples/WebApp_sample/WebForms_Sample/WebForms_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebForms_Sample", "WebForms_Sample\WebForms_Sample.csproj", "{A0BAF1C3-0D90-471F-B949-7EB00C1C8991}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln index 38f4f6048..3b876cfb8 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.13.35931.197 d17.13 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVC_Sample", "MVC_Sample\MVC_Sample.csproj", "{613804BC-ED13-4366-A9DB-D86412DB14F3}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj index fdf27b4bf..93a6ce2a8 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/MVC_Sample.csproj @@ -1,7 +1,7 @@ - + - net8.0 + net10.0 disable enable @@ -11,37 +11,32 @@ - - - - - - - - + + + - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Program.cs b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Program.cs index 08125f4ea..35536d732 100644 --- a/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Program.cs +++ b/root/programs/CS/Samples4NetCore/Backend/MVC_Sample/MVC_Sample/Program.cs @@ -44,14 +44,22 @@ public static void Main(string[] args) /// BuildWebHost /// コマンドライン引数 - /// IWebHost - public static IWebHost BuildWebHost(string[] args) + /// IHost + public static IHost BuildWebHost(string[] args) { // WebHost経由で、IWebHost, IWebHostBuilderにアクセスする。 + // Host経由で、IHost, IHostBuilderにアクセスする。 - return WebHost.CreateDefaultBuilder(args) // IWebHostBuilderを取得する。 - .UseStartup() // IWebHostBuilder.UseStartup メソッドにStartupクラスを指定。 - .Build(); // IWebHostBuilder.Build メソッドでIWebHostクラスインスタンスを返す。 + //return WebHost.CreateDefaultBuilder(args) // IWebHostBuilderを取得する。 + // .UseStartup() // IWebHostBuilder.UseStartup メソッドにStartupクラスを指定。 + // .Build(); // IWebHostBuilder.Build メソッドでIWebHostクラスインスタンスを返す。 + + return Host.CreateDefaultBuilder(args) // IHostBuilderを取得する。 + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); // Startupクラスを指定 + }) + .Build(); // IHostを返す } } } diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj index 5a7a50c38..5b07b1de6 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 True _2CSClientWPF_sample 2CSClientWPF_sample @@ -28,24 +28,23 @@ - - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln index 4b38596b5..4af2154fc 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWPF_sample/2CSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "2CSClientWPF_sample", "2CSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj index 273a7d07c..d8337f210 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -30,24 +30,23 @@ - - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln index 8f757b3d8..290cc11e8 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/2CSClientWin_sample/2CSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "2CSClientWin_sample", "2CSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln deleted file mode 100644 index fb8a485ed..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/AsyncEvent_sample.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WindowsFormsApplication", "WindowsFormsApplication\WindowsFormsApplication.csproj", "{17284ADF-2F82-412E-8D83-02E5C1606F53}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfApplication", "WpfApplication\WpfApplication.csproj", "{14296AF4-CB38-44B9-A42D-C104FE16CE33}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {17284ADF-2F82-412E-8D83-02E5C1606F53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {17284ADF-2F82-412E-8D83-02E5C1606F53}.Debug|Any CPU.Build.0 = Debug|Any CPU - {17284ADF-2F82-412E-8D83-02E5C1606F53}.Release|Any CPU.ActiveCfg = Release|Any CPU - {17284ADF-2F82-412E-8D83-02E5C1606F53}.Release|Any CPU.Build.0 = Release|Any CPU - {14296AF4-CB38-44B9-A42D-C104FE16CE33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {14296AF4-CB38-44B9-A42D-C104FE16CE33}.Debug|Any CPU.Build.0 = Debug|Any CPU - {14296AF4-CB38-44B9-A42D-C104FE16CE33}.Release|Any CPU.ActiveCfg = Release|Any CPU - {14296AF4-CB38-44B9-A42D-C104FE16CE33}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {44DB2E7E-C22D-4FC4-A784-8964A2A059E5} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/Readme.txt b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/Readme.txt deleted file mode 100644 index e5158dbb7..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/Readme.txt +++ /dev/null @@ -1,8 +0,0 @@ -非同期イベント処理の利用サンプル - -slnをビルドして、 -「test-win×2&wpf×2.bat」 -バッチから実行できる。 - -BinarySerialize完全廃止で、Core版サンプルを一時的にビルドから外した。 -(サポートしない訳ではなく、サンプルの実装上の問題のため) \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.Designer.cs b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.Designer.cs deleted file mode 100644 index 1e0cc39f1..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.Designer.cs +++ /dev/null @@ -1,164 +0,0 @@ -namespace WindowsFormsApplication -{ - partial class Form1 - { - /// - /// 必要なデザイナ変数です。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 使用中のリソースをすべてクリーンアップします。 - /// - /// マネージ リソースが破棄される場合 true、破棄されない場合は false です。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows フォーム デザイナで生成されたコード - - /// - /// デザイナ サポートに必要なメソッドです。このメソッドの内容を - /// コード エディタで変更しないでください。 - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.txtMSG = new System.Windows.Forms.TextBox(); - this.button2 = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); - this.lblMSG = new System.Windows.Forms.Label(); - this.button5 = new System.Windows.Forms.Button(); - this.button6 = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Location = new System.Drawing.Point(12, 31); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(150, 23); - this.button1.TabIndex = 0; - this.button1.Text = "スレッド(Win)"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // txtMSG - // - this.txtMSG.Location = new System.Drawing.Point(66, 6); - this.txtMSG.Name = "txtMSG"; - this.txtMSG.Size = new System.Drawing.Size(251, 19); - this.txtMSG.TabIndex = 1; - // - // button2 - // - this.button2.Location = new System.Drawing.Point(168, 31); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(150, 23); - this.button2.TabIndex = 2; - this.button2.Text = "スレッドプール(Win)"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // button3 - // - this.button3.Location = new System.Drawing.Point(12, 60); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(150, 23); - this.button3.TabIndex = 3; - this.button3.Text = "WinForm-UIInvoke"; - this.button3.UseVisualStyleBackColor = true; - this.button3.Click += new System.EventHandler(this.button3_Click); - // - // button4 - // - this.button4.Location = new System.Drawing.Point(168, 60); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(150, 23); - this.button4.TabIndex = 4; - this.button4.Text = "WPF-UIInvoke"; - this.button4.UseVisualStyleBackColor = true; - this.button4.Click += new System.EventHandler(this.button4_Click); - // - // lblMSG - // - this.lblMSG.AutoSize = true; - this.lblMSG.Location = new System.Drawing.Point(10, 9); - this.lblMSG.Name = "lblMSG"; - this.lblMSG.Size = new System.Drawing.Size(50, 12); - this.lblMSG.TabIndex = 5; - this.lblMSG.Text = "メッセージ"; - // - // button5 - // - this.button5.Location = new System.Drawing.Point(12, 89); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(305, 23); - this.button5.TabIndex = 6; - this.button5.Text = "へんなところにつなぐ"; - this.button5.UseVisualStyleBackColor = true; - this.button5.Click += new System.EventHandler(this.button5_Click); - // - // button6 - // - this.button6.Location = new System.Drawing.Point(13, 118); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(305, 23); - this.button6.TabIndex = 7; - this.button6.Text = "エントリ登録"; - this.button6.UseVisualStyleBackColor = true; - this.button6.Click += new System.EventHandler(this.button6_Click); - // - // button7 - // - this.button7.Location = new System.Drawing.Point(13, 147); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(305, 23); - this.button7.TabIndex = 8; - this.button7.Text = "エントリ削除"; - this.button7.UseVisualStyleBackColor = true; - this.button7.Click += new System.EventHandler(this.button7_Click); - // - // Form1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(329, 177); - this.Controls.Add(this.button7); - this.Controls.Add(this.button6); - this.Controls.Add(this.button5); - this.Controls.Add(this.lblMSG); - this.Controls.Add(this.button4); - this.Controls.Add(this.button3); - this.Controls.Add(this.button2); - this.Controls.Add(this.txtMSG); - this.Controls.Add(this.button1); - this.Name = "Form1"; - this.Text = "Form1"; - this.Load += new System.EventHandler(this.Form1_Load); - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private System.Windows.Forms.TextBox txtMSG; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Button button3; - private System.Windows.Forms.Button button4; - private System.Windows.Forms.Label lblMSG; - private System.Windows.Forms.Button button5; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button button7; - } -} - diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.cs b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.cs deleted file mode 100644 index 3bff70c73..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.cs +++ /dev/null @@ -1,290 +0,0 @@ -//********************************************************************************** -//* 非同期イベント・サンプル アプリ画面 -//********************************************************************************** - -// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 - -//********************************************************************************** -//* クラス名 :Form1 -//* クラス日本語名 :Form1 -//* -//* 作成日時 :- -//* 作成者 :生技 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 20xx/xx/xx XX XX XXXX -//********************************************************************************** - -using System; -using System.IO; -using System.Threading; -using System.Windows.Forms; - -using Touryo.Infrastructure.Framework.RichClient.Asynchronous; -using Touryo.Infrastructure.Public.IO; - -namespace WindowsFormsApplication -{ - public partial class Form1 : Form - { - #region メンバ変数 - - /// 名前付きパイプ・サーバ名 - private string NPS = null; - /// 名前付きパイプ・クライアント - private string[] NPCS = null; - - /// 登録エントリ(Thread) - private AsyncEventEntry AeeTh = null; - /// 登録エントリ(ThreadPool) - private AsyncEventEntry AeePl = null; - /// 登録エントリ(WinForm) - private AsyncEventEntry AeeWin = null; - /// 登録エントリ(WPF) - private AsyncEventEntry AeeWPF = null; - - #endregion - - #region 開始・終了処理 - - #region 開始処理 - - /// コンストラクタ - public Form1() - { - InitializeComponent(); - - // サーバを起動 - string[] args = Environment.CommandLine.Split('/'); - args = args[1].Trim().Split(','); - - // this.NPS - this.NPS = args[0].Trim(); - this.Text = this.NPS; - - // this.NPCS - this.NPCS = new string[args.Length - 1]; - for (int i = 1; i < args.Length; i++) - { - this.NPCS[i-1] = args[i].Trim(); - } - - // 初期化 - - // 初めが自分の名称、 - - //// 2つ目からが相手の名称 - //MessageBox.Show( - // "this.NPS:" + this.NPS - // + "\r\nthis.NPCS:" + string.Join(",", this.NPCS), - // "コマンドラインのチェック"); - - AsyncEventFx.Init(this.NPS, this.NPCS, 3000); - } - - /// 初期処理 - private void Form1_Load(object sender, EventArgs e) - { - // 登録エントリ - - // スレッド - this.AeeTh = new AsyncEventEntry( - AsyncEventEnum.EventClass.Thread, "Thread", null, - new ParameterizedThreadStart(this.ParameterizedThreadStartDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeeTh); - - // --- - - // スレッド プール - this.AeePl = new AsyncEventEntry( - AsyncEventEnum.EventClass.ThreadPool, "ThreadPool", null, - new WaitCallback(this.WaitCallbackDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeePl); - - // --- - - // WinForm - this.AeeWin = new AsyncEventEntry( - AsyncEventEnum.EventClass.WinForm, "WinForm", this, - new AsyncEventFx.SetResultDelegate(this.SetResultDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeeWin); - - // --- - - // WPF - this.AeeWPF = new AsyncEventEntry( - AsyncEventEnum.EventClass.WPF, "WPF", this, - new AsyncEventFx.SetResultDelegate(this.SetResultDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeeWPF); - } - - #endregion - - #region 終了処理 - - /// 終了処理 - private void Form1_FormClosed(object sender, FormClosedEventArgs e) - { - // 終了 - AsyncEventFx.Final(); - } - - #endregion - - #endregion - - #region 各種デリゲード - - /// デリゲード - private void ParameterizedThreadStartDgt(object obj) - { - object[] param = (object[])obj; - AsyncEventHeader aeh = (AsyncEventHeader)param[0]; - string msg = (string)BinarySerialize.BytesToObject((byte[])param[1]); - - // ファイルにテキストを書き出し。 - using (StreamWriter sw = new StreamWriter(this.NPS + @"_test_pts.txt", true)) - { - sw.WriteLine("\r\n" + this.NPS + " - " - + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") - + "WindowsFormsApplication.Form1.ParameterizedThreadStartDgtメソッドが呼ばれた。" - + "\r\nDstEventClass:" + aeh.DstEventClass.ToString() - + "\r\nDstFuncID:" + (new string(aeh.DstFuncID)).Trim() - + "\r\nSrcEventClass:" + aeh.SrcEventClass.ToString() - + "\r\nSrcFuncID:" + (new string(aeh.SrcFuncID)).Trim() - + "\r\nSrcPipeName:" + (new string(aeh.SrcPipeName)).Trim() - + "\r\nメッセージ:" + msg, this.NPS); - } - } - - /// デリゲード - private void WaitCallbackDgt(object state) - { - object[] param = (object[])state; - AsyncEventHeader aeh = (AsyncEventHeader)param[0]; - string msg = (string)BinarySerialize.BytesToObject((byte[])param[1]); - - // ファイルにテキストを書き出し。 - using (StreamWriter sw = new StreamWriter(this.NPS + @"_test_tpl.txt", true)) - { - sw.WriteLine("\r\n" + this.NPS + " - " - + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") - + "WindowsFormsApplication.Form1.WaitCallbackDgtメソッドが呼ばれた。" - + "\r\nDstEventClass:" + aeh.DstEventClass.ToString() - + "\r\nDstFuncID:" + (new string(aeh.DstFuncID)).Trim() - + "\r\nSrcEventClass:" + aeh.SrcEventClass.ToString() - + "\r\nSrcFuncID:" + (new string(aeh.SrcFuncID)).Trim() - + "\r\nSrcPipeName:" + (new string(aeh.SrcPipeName)).Trim() - + "\r\nメッセージ:" + msg, this.NPS); - } - } - - /// デリゲード - private void SetResultDgt(object result) - { - object[] param = (object[])result; - AsyncEventHeader aeh = (AsyncEventHeader)param[0]; - string msg = (string)BinarySerialize.BytesToObject((byte[])param[1]); - - MessageBox.Show(this.NPS + " - " - + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") - + "WindowsFormsApplication.Form1.SetResultDgtメソッドが呼ばれた。" - + "\r\nDstEventClass:" + aeh.DstEventClass.ToString() - + "\r\nDstFuncID:" + (new string(aeh.DstFuncID)).Trim() - + "\r\nSrcEventClass:" + aeh.SrcEventClass.ToString() - + "\r\nSrcFuncID:" + (new string(aeh.SrcFuncID)).Trim() - + "\r\nSrcPipeName:" + (new string(aeh.SrcPipeName)).Trim() - + "\r\nメッセージ:" + msg, this.NPS); - } - - #endregion - - #region 各種ボタン(イベント送信) - - /// WinFormのThread - private void button1_Click(object sender, EventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.Thread, "Thread", - AsyncEventEnum.EventClass.Thread, "Thread", - this.NPCS[0], this.NPS, (uint)bytes.Length, bytes); - } - - /// WinFormのThreadPool - private void button2_Click(object sender, EventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.ThreadPool, "ThreadPool", - AsyncEventEnum.EventClass.ThreadPool, "ThreadPool", - this.NPCS[0], this.NPS, (uint)bytes.Length, bytes); - } - - /// WinFormのUIInvoke - private void button3_Click(object sender, EventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.WinForm, "WinForm", - AsyncEventEnum.EventClass.WinForm, "WinForm", - this.NPCS[0], this.NPS, (uint)bytes.Length, bytes); - } - - /// WPFのUIInvoke - private void button4_Click(object sender, EventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.WPF, "WPF", - AsyncEventEnum.EventClass.WPF, "WPF", - this.NPCS[1], this.NPS, (uint)bytes.Length, bytes); - } - - /// へんなところ - private void button5_Click(object sender, EventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.WPF, "いいい", - AsyncEventEnum.EventClass.WPF, "いいい", - this.NPCS[1], "あああ", (uint)bytes.Length, bytes); - //this.NPCS[1], this.NPS, (uint)bytes.Length, bytes); - } - - #endregion - - #region 各種ボタン(エントリ) - - /// エントリを登録 - private void button6_Click(object sender, EventArgs e) - { - AsyncEventFx.RegisterAsyncEvent(this.AeeTh); - AsyncEventFx.RegisterAsyncEvent(this.AeePl); - AsyncEventFx.RegisterAsyncEvent(this.AeeWin); - AsyncEventFx.RegisterAsyncEvent(this.AeeWPF); - } - - /// エントリを削除 - private void button7_Click(object sender, EventArgs e) - { - AsyncEventFx.UnRegisterAsyncEvent(this.AeeTh); - AsyncEventFx.UnRegisterAsyncEvent(this.AeePl); - AsyncEventFx.UnRegisterAsyncEvent(this.AeeWin); - AsyncEventFx.UnRegisterAsyncEvent(this.AeeWPF); - } - - #endregion - } -} diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.resx b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.resx deleted file mode 100644 index 19dc0dd8b..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Form1.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Program.cs b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Program.cs deleted file mode 100644 index 528d40d63..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/Program.cs +++ /dev/null @@ -1,38 +0,0 @@ -//********************************************************************************** -//* 非同期イベント・サンプル アプリ -//********************************************************************************** - -// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 - -//********************************************************************************** -//* クラス名 :Program -//* クラス日本語名 :Program -//* -//* 作成日時 :- -//* 作成者 :生技 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 20xx/xx/xx XX XX XXXX -//********************************************************************************** - -using System; -using System.Windows.Forms; - -namespace WindowsFormsApplication -{ - static class Program - { - /// - /// アプリケーションのメイン エントリ ポイントです。 - /// - [STAThread] - static void Main() - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); - } - } -} diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj deleted file mode 100644 index f55435989..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WindowsFormsApplication/WindowsFormsApplication.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - WinExe - net8.0-windows7.0 - true - - - WindowsFormsApplication - WindowsFormsApplication - True - - - - - - - - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll - - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll - - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml deleted file mode 100644 index 630f74bae..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml.cs b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml.cs deleted file mode 100644 index 9ceba249a..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/App.xaml.cs +++ /dev/null @@ -1,30 +0,0 @@ -//********************************************************************************** -//* 非同期イベント・サンプル アプリ -//********************************************************************************** - -// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 - -//********************************************************************************** -//* クラス名 :App -//* クラス日本語名 :App -//* -//* 作成日時 :- -//* 作成者 :生技 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 20xx/xx/xx XX XX XXXX -//********************************************************************************** - -using System.Windows; - -namespace WpfApplication -{ - /// - /// App.xaml の相互作用ロジック - /// - public partial class App : Application - { - } -} diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml deleted file mode 100644 index ad74ceccb..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml.cs b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml.cs deleted file mode 100644 index 65f6db816..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/Window1.xaml.cs +++ /dev/null @@ -1,302 +0,0 @@ -//********************************************************************************** -//* 非同期イベント・サンプル アプリ画面 -//********************************************************************************** - -// テスト用サンプルなので、必要に応じて流用 or 削除して下さい。 - -//********************************************************************************** -//* クラス名 :Form1 -//* クラス日本語名 :Form1 -//* -//* 作成日時 :- -//* 作成者 :生技 -//* 更新履歴 : -//* -//* 日時 更新者 内容 -//* ---------- ---------------- ------------------------------------------------- -//* 20xx/xx/xx XX XX XXXX -//********************************************************************************** - -using System; -using System.IO; -using System.Threading; -using System.Windows; - -using Touryo.Infrastructure.Framework.RichClient.Asynchronous; -using Touryo.Infrastructure.Public.IO; - -namespace WpfApplication -{ - /// - /// Window1.xaml の相互作用ロジック - /// - public partial class Window1 : Window - { - #region メンバ変数 - - /// 名前付きパイプ・サーバ名 - private string NPS = null; - /// 名前付きパイプ・クライアント - private string[] NPCS = null; - - /// 登録エントリ(Thread) - private AsyncEventEntry AeeTh = null; - /// 登録エントリ(ThreadPool) - private AsyncEventEntry AeePl = null; - /// 登録エントリ(WinForm) - private AsyncEventEntry AeeWin = null; - /// 登録エントリ(WPF) - private AsyncEventEntry AeeWPF = null; - - #endregion - - #region 開始・終了処理 - - #region 開始処理 - - /// コンストラクタ - public Window1() - { - InitializeComponent(); - - // サーバを起動 - string[] args = Environment.CommandLine.Split('/'); - args = args[1].Trim().Split(','); - - // this.NPS - this.NPS = args[0].Trim(); - this.Title = this.NPS; - - // this.NPCS - this.NPCS = new string[args.Length - 1]; - for (int i = 1; i < args.Length; i++) - { - this.NPCS[i - 1] = args[i].Trim(); - } - - // 初期化 - - // 初めが自分の名称、 - - //// 2つ目からが相手の名称 - //MessageBox.Show( - // "this.NPS:" + this.NPS - // + "\r\nthis.NPCS:" + string.Join(",", this.NPCS), - // "コマンドラインのチェック"); - - AsyncEventFx.Init(this.NPS, this.NPCS, 3000); - } - - /// ロード - private void Window_Loaded(object sender, RoutedEventArgs e) - { - // 登録エントリ - - // スレッド - this.AeeTh = new AsyncEventEntry( - AsyncEventEnum.EventClass.Thread, "Thread", null, - new ParameterizedThreadStart(this.ParameterizedThreadStartDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeeTh); - - // --- - - // スレッド プール - this.AeePl = new AsyncEventEntry( - AsyncEventEnum.EventClass.ThreadPool, "ThreadPool", null, - new WaitCallback(this.WaitCallbackDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeePl); - - // --- - - // WinForm - this.AeeWin = new AsyncEventEntry( - AsyncEventEnum.EventClass.WinForm, "WinForm", this, - new AsyncEventFx.SetResultDelegate(this.SetResultDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeeWin); - - // --- - - // WPF - this.AeeWPF = new AsyncEventEntry( - AsyncEventEnum.EventClass.WPF, "WPF", this, - new AsyncEventFx.SetResultDelegate(this.SetResultDgt)); - - AsyncEventFx.RegisterAsyncEvent(this.AeeWPF); - } - - #endregion - - #region 終了処理 - - /// アンロード - private void Window_Unloaded(object sender, RoutedEventArgs e) - { - // 終了 - AsyncEventFx.Final(); - } - - // ↑↓どっち?? - - /// クローズ - private void Window_Closed(object sender, EventArgs e) - { - // 終了 - AsyncEventFx.Final(); - } - - #endregion - - #endregion - - #region 各種デリゲード - - /// デリゲード - private void ParameterizedThreadStartDgt(object obj) - { - object[] param = (object[])obj; - AsyncEventHeader aeh = (AsyncEventHeader)param[0]; - string msg = (string)BinarySerialize.BytesToObject((byte[])param[1]); - - // ファイルにテキストを書き出し。 - using (StreamWriter sw = new StreamWriter(this.NPS + @"_test_pts.txt", true)) - { - sw.WriteLine("\r\n" + this.NPS + " - " - + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") - + "WpfApplication.Window1.ParameterizedThreadStartDgtメソッドが呼ばれた。" - + "\r\nDstEventClass:" + aeh.DstEventClass.ToString() - + "\r\nDstFuncID:" + (new string(aeh.DstFuncID)).Trim() - + "\r\nSrcEventClass:" + aeh.SrcEventClass.ToString() - + "\r\nSrcFuncID:" + (new string(aeh.SrcFuncID)).Trim() - + "\r\nSrcPipeName:" + (new string(aeh.SrcPipeName)).Trim() - + "\r\nメッセージ:" + msg, this.NPS); - } - } - - /// デリゲード - private void WaitCallbackDgt(object state) - { - object[] param = (object[])state; - AsyncEventHeader aeh = (AsyncEventHeader)param[0]; - string msg = (string)BinarySerialize.BytesToObject((byte[])param[1]); - - // ファイルにテキストを書き出し。 - using (StreamWriter sw = new StreamWriter(this.NPS + @"_test_tpl.txt", true)) - { - sw.WriteLine("\r\n" + this.NPS + " - " - + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") - + "WpfApplication.Window1.WaitCallbackDgtメソッドが呼ばれた。" - + "\r\nDstEventClass:" + aeh.DstEventClass.ToString() - + "\r\nDstFuncID:" + (new string(aeh.DstFuncID)).Trim() - + "\r\nSrcEventClass:" + aeh.SrcEventClass.ToString() - + "\r\nSrcFuncID:" + (new string(aeh.SrcFuncID)).Trim() - + "\r\nSrcPipeName:" + (new string(aeh.SrcPipeName)).Trim() - + "\r\nメッセージ:" + msg, this.NPS); - } - } - - /// デリゲード - private void SetResultDgt(object result) - { - object[] param = (object[])result; - AsyncEventHeader aeh = (AsyncEventHeader)param[0]; - string msg = (string)BinarySerialize.BytesToObject((byte[])param[1]); - - MessageBox.Show(this,this.NPS + " - " - + DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss") - + "WpfApplication.Window1.SetResultDgtメソッドが呼ばれた。" - + "\r\nDstEventClass:" + aeh.DstEventClass.ToString() - + "\r\nDstFuncID:" + (new string(aeh.DstFuncID)).Trim() - + "\r\nSrcEventClass:" + aeh.SrcEventClass.ToString() - + "\r\nSrcFuncID:" + (new string(aeh.SrcFuncID)).Trim() - + "\r\nSrcPipeName:" + (new string(aeh.SrcPipeName)).Trim() - + "\r\nメッセージ:" + msg, this.NPS); - } - - #endregion - - #region 各種ボタン - - /// WPFのThread - private void button1_Click(object sender, RoutedEventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.Thread, "Thread", - AsyncEventEnum.EventClass.Thread, "Thread", - this.NPCS[0], this.NPS, (uint)bytes.Length, bytes); - } - - /// WPFのThreadPool - private void button2_Click(object sender, RoutedEventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.ThreadPool, "ThreadPool", - AsyncEventEnum.EventClass.ThreadPool, "ThreadPool", - this.NPCS[0], this.NPS, (uint)bytes.Length, bytes); - } - - /// WPFのUIInvoke - private void button3_Click(object sender, RoutedEventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.WPF, "WPF", - AsyncEventEnum.EventClass.WPF, "WPF", - this.NPCS[0], this.NPS, (uint)bytes.Length, bytes); - } - - /// WinFormのUIInvoke - private void button4_Click(object sender, RoutedEventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.WinForm, "WinForm", - AsyncEventEnum.EventClass.WinForm, "WinForm", - this.NPCS[1], this.NPS, (uint)bytes.Length, bytes); - } - - /// へんなところ - private void button5_Click(object sender, RoutedEventArgs e) - { - byte[] bytes = BinarySerialize.ObjectToBytes(this.txtMSG.Text); - - AsyncEventFx.SendAsyncEvent( - AsyncEventEnum.EventClass.WinForm, "いいい", - AsyncEventEnum.EventClass.WinForm, "いいい", - this.NPCS[1], "あああ", (uint)bytes.Length, bytes); - //this.NPCS[1], this.NPS, (uint)bytes.Length, bytes); - } - - #endregion - - #region 各種ボタン(エントリ) - - /// エントリを登録 - private void button6_Click(object sender, RoutedEventArgs e) - { - AsyncEventFx.RegisterAsyncEvent(this.AeeTh); - AsyncEventFx.RegisterAsyncEvent(this.AeePl); - AsyncEventFx.RegisterAsyncEvent(this.AeeWin); - AsyncEventFx.RegisterAsyncEvent(this.AeeWPF); - } - - /// エントリを削除 - private void button7_Click(object sender, RoutedEventArgs e) - { - AsyncEventFx.UnRegisterAsyncEvent(this.AeeTh); - AsyncEventFx.UnRegisterAsyncEvent(this.AeePl); - AsyncEventFx.UnRegisterAsyncEvent(this.AeeWin); - AsyncEventFx.UnRegisterAsyncEvent(this.AeeWPF); - } - - #endregion - } -} diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj deleted file mode 100644 index 1653a83f1..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/WpfApplication/WpfApplication.csproj +++ /dev/null @@ -1,25 +0,0 @@ - - - - WinExe - net6.0-windows - true - WpfApplication - WpfApplication - True - - - - - - - - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll - - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll - - - - \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/test-winx2&wpfx2.bat b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/test-winx2&wpfx2.bat deleted file mode 100644 index 6df1e63f5..000000000 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/AsyncEvent_sample/test-winx2&wpfx2.bat +++ /dev/null @@ -1,5 +0,0 @@ -start WindowsFormsApplication\bin\Debug\net5.0\WindowsFormsApplication.exe /WinForm1,WinForm2,WPF1 -start WindowsFormsApplication\bin\Debug\net5.0\WindowsFormsApplication.exe /WinForm2,WinForm1,WPF2 - -start WpfApplication\bin\Debug\net5.0\WpfApplication.exe /WPF1,WPF2,WinForm1 -start WpfApplication\bin\Debug\net5.0\WpfApplication.exe /WPF2,WPF1,WinForm2 diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj index aff41c6e7..6ea183d51 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -16,13 +16,12 @@ - - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.CustomControl.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.CustomControl.RichClient.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln index d2acd42bf..648029210 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/CustCtrl_sample/CustCtrl_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CustCtrl_sample", "CustCtrl_sample.csproj", "{BA15CF85-A95B-4EA9-977B-0BE5EB739E72}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj index 7e98d17f2..f964bfc59 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -141,7 +141,6 @@ - @@ -150,19 +149,19 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln index a7b4fad6e..38035b090 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/GenDaoAndBatUpd_sample/GenDaoAndBatUpd_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GenDaoAndBatUpd_sample", "GenDaoAndBatUpd_sample.csproj", "{D40BC756-8E12-4020-8486-99F482E35DCD}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj index 46990c023..8043b9b0b 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -244,18 +244,17 @@ - - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln index ea10f0268..87b954079 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/2CS_sample/TimeStamp_sample/TimeStamp_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeStamp_sample", "TimeStamp_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj index 66ae2411c..9de4b1dc1 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 @@ -31,22 +31,22 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln index 2b00681ee..0be9b3cc5 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample/RerunnableBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample", "RerunnableBatch_sample.csproj", "{A2CCC02E-8C1E-40E9-BCD5-5CEABCF583A4}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj index 66ae2411c..9de4b1dc1 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 @@ -31,22 +31,22 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln index a5427471c..8b866fe85 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample2/RerunnableBatch_sample2.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample2", "RerunnableBatch_sample2.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj index 66ae2411c..9de4b1dc1 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 @@ -31,22 +31,22 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln index e87c96a4d..a818f0678 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/RerunnableBatch_sample3/RerunnableBatch_sample3.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RerunnableBatch_sample3", "RerunnableBatch_sample3.csproj", "{58DE3839-8B8E-413A-BCA7-B2103A1161F7}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj index a4feaf5c0..4bf9b12e9 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 @@ -30,22 +30,22 @@ - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamManagedOdp.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamManagedOdp.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamMySQL.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamMySQL.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.DamPstGrS.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.DamPstGrS.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln index 87bed367e..baf24c72d 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/Bat_sample/SimpleBatch_sample/SimpleBatch_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleBatch_sample", "SimpleBatch_sample.csproj", "{4E1E7400-A012-49E2-8D28-A361F0E1BEE2}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln index 3598a767f..1bb4f1562 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DAG_Login_CLI", "DAG_Login_CLI\DAG_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj index ce68c829e..30195c712 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/DAG_Login_CLI/DAG_Login_CLI/DAG_Login_CLI.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 @@ -12,18 +12,17 @@ - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln index b858c704f..cd14a06b9 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LIR_Login_CLI", "LIR_Login_CLI\LIR_Login_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj index 2c2c3b2db..ce653d485 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/LIR_Login_CLI/LIR_Login_CLI/LIR_Login_CLI.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 @@ -13,18 +13,17 @@ - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.Security.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.Security.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln index 49bad92fe..784114ec1 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11018.127 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Simple_CLI", "Simple_CLI\Simple_CLI.csproj", "{1139D8A8-1DC3-4DF0-AAF1-C5DEECD511CA}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj index 38aaba680..019f7135a 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/CLI_sample/Simple_CLI/Simple_CLI/Simple_CLI.csproj @@ -2,14 +2,13 @@ Exe - net8.0 + net10.0 - diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj index 47088593f..0356f1634 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true WSClientWPF_sample WSClientWPF_sample @@ -52,7 +52,6 @@ - @@ -63,19 +62,19 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll ..\..\Build\net8.0\WSIFType_sample.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln index c2c02a93d..60a6f8c7b 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWPF_sample", "WSClientWPF_sample.csproj", "{F9737483-DC6C-45D1-8CB7-27138FD76D36}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj index bae0f9d35..e8e1e15b6 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -27,24 +27,23 @@ - - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln index d8f01fa77..72ba4b6ec 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin2_sample/WSClientWin2_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWin2_sample", "WSClientWin2_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj index e82a4f562..04e470183 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj @@ -2,7 +2,7 @@ WinExe - net8.0-windows7.0 + net10.0-windows7.0 true @@ -54,7 +54,6 @@ - @@ -65,19 +64,19 @@ - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Business.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Business.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Framework.RichClient.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Framework.RichClient.dll - ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0-windows7.0\OpenTouryo.Public.dll + ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll ..\..\Build\net8.0\WSIFType_sample.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln index 1d7341975..debb2dcea 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSClientWin_sample", "WSClientWin_sample.csproj", "{386EA604-40DB-44A8-87AE-F29B209BA9CF}" EndProject diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj index 834da6850..1208b95be 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSIFType_sample/WSIFType_sample.csproj @@ -1,23 +1,18 @@ - net8.0 + net10.0 - - - - - - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj index 33e9e6212..8b598cff8 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 @@ -10,24 +10,19 @@ - - - - - - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Business.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Business.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Framework.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Framework.dll - ..\..\..\..\Frameworks\Infrastructure\Build_netcore80\net8.0\OpenTouryo.Public.dll + ..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0\OpenTouryo.Public.dll diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln index 2bb926b19..7aa3af00f 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSServer_sample/WSServer_sample.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.32126.317 +# Visual Studio Version 18 +VisualStudioVersion = 18.0.11205.157 d18.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WSServer_sample", "WSServer_sample.csproj", "{E11525D4-EB70-4F4E-B758-42861377705E}" EndProject diff --git a/root/programs/CS/y_Build_TestCode_Batch.bat b/root/programs/CS/y_Build_TestCode_Batch.bat index 41af2783f..96982fffb 100644 --- a/root/programs/CS/y_Build_TestCode_Batch.bat +++ b/root/programs/CS/y_Build_TestCode_Batch.bat @@ -33,11 +33,11 @@ SimpleBatch.exe /Dap SQL /Mode1 individual /Mode2 static /EXROLLBACK - > ..\..\. cd %CURRENTDIR% @echo -------------------------------------------------- -@echo Test the SimpleBatchCore(80). +@echo Test the SimpleBatchCore(100). @echo -------------------------------------------------- set CURRENTDIR=%cd% -cd "Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net8.0" -dotnet "SimpleBatchCore.dll" -- /Dap SQL /Mode1 individual /Mode2 static /EXROLLBACK - > ..\..\..\..\ResultSimpleBatchCore80.txt +cd "Frameworks\Tests\TestBatch\SimpleBatchCore\bin\Debug\net10.0" +dotnet "SimpleBatchCore.dll" -- /Dap SQL /Mode1 individual /Mode2 static /EXROLLBACK - > ..\..\..\..\ResultSimpleBatchCore100.txt cd %CURRENTDIR% pause diff --git a/root/programs/CS/y_Build_TestCode_Public.bat b/root/programs/CS/y_Build_TestCode_Public.bat index da5b3e92e..de5e2cbda 100644 --- a/root/programs/CS/y_Build_TestCode_Public.bat +++ b/root/programs/CS/y_Build_TestCode_Public.bat @@ -33,11 +33,11 @@ cd "Frameworks\Tests\TestCode\net48\bin\Debug" cd %CURRENTDIR% @echo -------------------------------------------------- -@echo Test the TestCodeCore(80). +@echo Test the TestCodeCore(100). @echo -------------------------------------------------- set CURRENTDIR=%cd% -cd "Frameworks\Tests\TestCode\core80\bin\Debug\net8.0" -dotnet "TestCodeCore.dll" > ..\..\..\..\ResultCore80.txt +cd "Frameworks\Tests\TestCode\core100\bin\Debug\net10.0" +dotnet "TestCodeCore.dll" > ..\..\..\..\ResultCore100.txt cd %CURRENTDIR% pause diff --git a/root/programs/CS/y_Build_TestCode_SecCUI.bat b/root/programs/CS/y_Build_TestCode_SecCUI.bat index f476602c9..a3ddb87b5 100644 --- a/root/programs/CS/y_Build_TestCode_SecCUI.bat +++ b/root/programs/CS/y_Build_TestCode_SecCUI.bat @@ -26,8 +26,8 @@ cd %CURRENTDIR% ..\nuget.exe restore "Frameworks\Tests\EncAndDecUtilCUI\EncAndDecUtilCUIFx48.sln" %BUILDFILEPATH% %COMMANDLINE% "Frameworks\Tests\EncAndDecUtilCUI\EncAndDecUtilCUIFx48.sln" -dotnet restore "Frameworks\Tests\EncAndDecUtilCUI\EncAndDecUtilCUICore80.sln" -dotnet msbuild %COMMANDLINE% "Frameworks\Tests\EncAndDecUtilCUI\EncAndDecUtilCUICore80.sln" +dotnet restore "Frameworks\Tests\EncAndDecUtilCUI\EncAndDecUtilCUICore100.sln" +dotnet msbuild %COMMANDLINE% "Frameworks\Tests\EncAndDecUtilCUI\EncAndDecUtilCUICore100.sln" @echo -------------------------------------------------- @echo Test the EncAndDecUtilCUIFx(48). @@ -38,11 +38,11 @@ cd "Frameworks\Tests\EncAndDecUtilCUI\net48\bin\Debug" cd %CURRENTDIR% @echo -------------------------------------------------- -@echo Test the EncAndDecUtilCUICore(80). +@echo Test the EncAndDecUtilCUICore(100). @echo -------------------------------------------------- set CURRENTDIR=%cd% -cd "Frameworks\Tests\EncAndDecUtilCUI\core80\bin\Debug\net8.0" -dotnet "EncAndDecUtilCUICore.dll" > ..\..\..\..\ResultCore80.txt +cd "Frameworks\Tests\EncAndDecUtilCUI\core100\bin\Debug\net10.0" +dotnet "EncAndDecUtilCUICore.dll" > ..\..\..\..\ResultCore100.txt cd %CURRENTDIR% pause diff --git a/root/programs/CS/z_Common.bat b/root/programs/CS/z_Common.bat index 0859036d7..7646fdcb0 100644 --- a/root/programs/CS/z_Common.bat +++ b/root/programs/CS/z_Common.bat @@ -41,8 +41,8 @@ if exist "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Curre set BUILDFILEPATH17="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe" ) -if exist "C:\Program Files\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\MSBuild.exe" ( - set BUILDFILEPATH18="C:\Program Files\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\MSBuild.exe" +if exist "C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\MSBuild.exe" ( + set BUILDFILEPATH18="C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\MSBuild.exe" ) echo BUILDFILEPATH2.0 %BUILDFILEPATH2.0% diff --git a/root/programs/CS/z_Common2.bat b/root/programs/CS/z_Common2.bat index 8718b9510..4aa58775c 100644 --- a/root/programs/CS/z_Common2.bat +++ b/root/programs/CS/z_Common2.bat @@ -10,15 +10,21 @@ reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" @rem -------------------------------------------------- @rem Specifying Build tool. @rem -------------------------------------------------- -set BUILDFILEPATH2.0="%PROGRAM_FILES%\Microsoft Visual Studio 8\Common7\IDE\devenv.com" -set BUILDFILEPATH3.5="%PROGRAM_FILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com" -set BUILDFILEPATH4.0="%PROGRAM_FILES%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" -set BUILDFILEPATH4.5="%PROGRAM_FILES%\Microsoft Visual Studio 11.0\Common7\IDE\devenv.com" +@rem 8=VS2005/.NET2.0, 9=VS2008/.NET3.5, 10= 2010/.NET4.0, +@rem 11=VS2012/.NET4.5, 12=VS2013/.NET4.5.1, 14=VS2015/.NET4.6, +@rem 15=VS2017/.NET4.6.2, 16=VS2019/.NET4.7.2/.NETCore3.x, +@rem 17=VS2022/.NET4.8/.NET6, 18=VS2026/.NET4.8/.NET10 + +set BUILDFILEPATH2.0 ="%PROGRAM_FILES%\Microsoft Visual Studio 8\Common7\IDE\devenv.com" +set BUILDFILEPATH3.5 ="%PROGRAM_FILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com" +set BUILDFILEPATH4.0 ="%PROGRAM_FILES%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" +set BUILDFILEPATH4.5 ="%PROGRAM_FILES%\Microsoft Visual Studio 11.0\Common7\IDE\devenv.com" set BUILDFILEPATH4.5.1="%PROGRAM_FILES%\Microsoft Visual Studio 12.0\Common7\IDE\IDE\devenv.com" -set BUILDFILEPATH4.6="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" -set BUILDFILEPATH4.7="%PROGRAM_FILES%\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" -set BUILDFILEPATH4.8="%PROGRAM_FILES%\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" -set BUILDFILEPATH6.0="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" +set BUILDFILEPATH4.6 ="%PROGRAM_FILES%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" +set BUILDFILEPATH4.7 ="%PROGRAM_FILES%\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe" +set BUILDFILEPATH4.8 ="%PROGRAM_FILES%\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" +set BUILDFILEPATH6.0 ="%PROGRAM_FILES%\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe" +set BUILDFILEPATH10.0 ="%PROGRAM_FILES%\Microsoft Visual Studio\18\Community\Common7\IDE\devenv.exe" echo BUILDFILEPATH2.0 %BUILDFILEPATH2.0% echo BUILDFILEPATH3.5 %BUILDFILEPATH3.5% @@ -29,8 +35,9 @@ echo BUILDFILEPATH4.6 %BUILDFILEPATH4.6% echo BUILDFILEPATH4.7 %BUILDFILEPATH4.7% echo BUILDFILEPATH4.8 %BUILDFILEPATH4.8% echo BUILDFILEPATH6.0 %BUILDFILEPATH6.0% +echo BUILDFILEPATH10.0 %BUILDFILEPATH10.0% -set BUILDFILEPATH=BUILDFILEPATH6.0 +set BUILDFILEPATH=BUILDFILEPATH10.0 echo BUILDFILEPATH %BUILDFILEPATH% @echo -------------------------------------------------- From a62453f7676d1aac7aca88d126b499859a0c81d2 Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Thu, 4 Dec 2025 16:08:25 +0900 Subject: [PATCH 11/12] =?UTF-8?q?=E6=BC=8F=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WSClientWPF_sample/WSClientWPF_sample.csproj | 4 ++-- .../WSClientWin_sample/WSClientWin_sample.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj index 0356f1634..3f12d6375 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWPF_sample/WSClientWPF_sample.csproj @@ -77,10 +77,10 @@ ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll - ..\..\Build\net8.0\WSIFType_sample.dll + ..\..\Build\net10.0\WSIFType_sample.dll - ..\..\Build\net8.0\WSServer_sample.dll + ..\..\Build\net10.0\WSServer_sample.dll \ No newline at end of file diff --git a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj index 04e470183..0331f35b4 100644 --- a/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj +++ b/root/programs/CS/Samples4NetCore/Legacy/WS_sample/WSClient_sample/WSClientWin_sample/WSClientWin_sample.csproj @@ -79,10 +79,10 @@ ..\..\..\..\..\Frameworks\Infrastructure\Build_netcore100\net10.0-windows7.0\OpenTouryo.Public.dll - ..\..\Build\net8.0\WSIFType_sample.dll + ..\..\Build\net10.0\WSIFType_sample.dll - ..\..\Build\net8.0\WSServer_sample.dll + ..\..\Build\net10.0\WSServer_sample.dll \ No newline at end of file From 590aaef06b691803c288dad7ad04be59861d980c Mon Sep 17 00:00:00 2001 From: nishi_74322014 Date: Wed, 10 Dec 2025 23:56:11 +0900 Subject: [PATCH 12/12] The 11th commit was fun to test on Linux. --- .../Tests/EncAndDecUtilCUI/Program.cs | 316 ++++++------- .../EncAndDecUtilCUI/ResultCore100OnLinux.txt | 211 +++++++++ .../Tests/ExecOnLinux/.dockerignore | 9 - .../Tests/ExecOnLinux/ExecOnLinux.sln | 25 - .../ExecOnLinux/Controllers/HomeController.cs | 20 - .../Tests/ExecOnLinux/ExecOnLinux/Dockerfile | 19 - .../ExecOnLinux/ExecOnLinux.csproj | 53 --- .../ExecOnLinux/ExecOnLinux/Models/Program.cs | 433 ------------------ .../Tests/ExecOnLinux/ExecOnLinux/Program.cs | 25 - .../Tests/ExecOnLinux/ExecOnLinux/Startup.cs | 50 -- .../ExecOnLinux/Views/Home/Index.cshtml | 6 - .../ExecOnLinux/Views/Shared/_Layout.cshtml | 12 - .../ExecOnLinux/Views/_ViewStart.cshtml | 3 - .../ExecOnLinux/appsettings.Development.json | 10 - .../ExecOnLinux/ExecOnLinux/appsettings.json | 8 - .../ExecOnLinux/ExecOnLinux/copy_cert.bat | 6 - root/programs/CS/y_Build_TestCode_SecCUI.sh | 8 +- 17 files changed, 374 insertions(+), 840 deletions(-) create mode 100644 root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100OnLinux.txt delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/.dockerignore delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux.sln delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Controllers/HomeController.cs delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Dockerfile delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/ExecOnLinux.csproj delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Models/Program.cs delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Program.cs delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Startup.cs delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Home/Index.cshtml delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Shared/_Layout.cshtml delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/_ViewStart.cshtml delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.Development.json delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.json delete mode 100644 root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/copy_cert.bat diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs index d2cdbbd09..d49516802 100644 --- a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/Program.cs @@ -623,220 +623,221 @@ private static void MyJwt() #endregion #region Jws - if (os.Platform == PlatformID.Win32NT) - { - #region HMACSHA(HS) - key = CustomEncode.StringToByte("てすとてすとてすとてすと", CustomEncode.UTF_8); + //if (os.Platform == PlatformID.Win32NT) + //{ + #region HMACSHA(HS) + key = CustomEncode.StringToByte("てすとてすとてすとてすと", CustomEncode.UTF_8); - // HS256 署名・検証 - JWS_HS256 jWS_HS256 = new JWS_HS256(key); - token = jWS_HS256.Create(payloadString); + // HS256 署名・検証 + JWS_HS256 jWS_HS256 = new JWS_HS256(key); + token = jWS_HS256.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("JWS_HS256.Create", token); - TIPD.MyDebug.OutputDebugAndConsole("JWS_HS256.Verify", jWS_HS256.Verify(token).ToString()); + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("JWS_HS256.Create", token); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS256.Verify", jWS_HS256.Verify(token).ToString()); - // HS384 署名・検証 - JWS_HS384 jWS_HS384 = new JWS_HS384(key); - token = jWS_HS384.Create(payloadString); + // HS384 署名・検証 + JWS_HS384 jWS_HS384 = new JWS_HS384(key); + token = jWS_HS384.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("JWS_HS384.Create", token); - TIPD.MyDebug.OutputDebugAndConsole("JWS_HS384.Verify", jWS_HS384.Verify(token).ToString()); + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("JWS_HS384.Create", token); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS384.Verify", jWS_HS384.Verify(token).ToString()); - // HS512 署名・検証 - JWS_HS512 jWS_HS512 = new JWS_HS512(key); - token = jWS_HS512.Create(payloadString); + // HS512 署名・検証 + JWS_HS512 jWS_HS512 = new JWS_HS512(key); + token = jWS_HS512.Create(payloadString); - Touryo.Infrastructure.Public.Security.MyDebug.InspectJwt("JWS_HS512.Create", token); - TIPD.MyDebug.OutputDebugAndConsole("JWS_HS512.Verify", jWS_HS512.Verify(token).ToString()); + Touryo.Infrastructure.Public.Security.MyDebug.InspectJwt("JWS_HS512.Create", token); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS512.Verify", jWS_HS512.Verify(token).ToString()); - // JWKを使用 - jWS_HS512 = new JWS_HS512(jWS_HS512.JWK); - token = jWS_HS512.Create(payloadString); + // JWKを使用 + jWS_HS512 = new JWS_HS512(jWS_HS512.JWK); + token = jWS_HS512.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("JWS_HS512.Create with JWK", token); - TIPD.MyDebug.OutputDebugAndConsole("JWS_HS512.Verify with JWK", jWS_HS512.Verify(token).ToString()); - #endregion + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("JWS_HS512.Create with JWK", token); + TIPD.MyDebug.OutputDebugAndConsole("JWS_HS512.Verify with JWK", jWS_HS512.Verify(token).ToString()); + #endregion - #region RSA(RS) + #region RSA(RS) - #region 256 - // 署名(X509) - jWS_RS256_X509 = new JWS_RS256_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); - token = jWS_RS256_X509.Create(payloadString); + #region 256 + // 署名(X509) + jWS_RS256_X509 = new JWS_RS256_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); + token = jWS_RS256_X509.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("JWS_RS256_X509.Create", token); + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("JWS_RS256_X509.Create", token); - // 鍵の相互変換 - rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._256); - jwk = rpkc.ParamToJwk(((RSA)jWS_RS256_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); + // 鍵の相互変換 + rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._256); + jwk = rpkc.ParamToJwk(((RSA)jWS_RS256_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); - TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); - // 検証(X509) - jWS_RS256_X509 = new JWS_RS256_X509(Program.PublicRsaX509Path, "", x509KSF); + // 検証(X509) + jWS_RS256_X509 = new JWS_RS256_X509(Program.PublicRsaX509Path, "", x509KSF); - TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_X509.Verify", jWS_RS256_X509.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_X509.Verify", jWS_RS256_X509.Verify(token).ToString()); - // 検証(Param) - jWS_RS256_Param = new JWS_RS256_Param(rpkc.JwkToParam(jwk)); + // 検証(Param) + jWS_RS256_Param = new JWS_RS256_Param(rpkc.JwkToParam(jwk)); - TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); - #endregion + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS256_Param.Verify", jWS_RS256_Param.Verify(token).ToString()); + #endregion - #region 384 - // 署名(XML) - jWS_RS384_XML = new JWS_RS384_XML(); - token = jWS_RS384_XML.Create(payloadString); + #region 384 + // 署名(XML) + jWS_RS384_XML = new JWS_RS384_XML(); + token = jWS_RS384_XML.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("jWS_RS384_XML.Create", token); + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("jWS_RS384_XML.Create", token); - // 鍵の相互変換 - rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._384); - jwk = rpkc.XmlToJwk(jWS_RS384_XML.XMLPrivateKey); + // 鍵の相互変換 + rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._384); + jwk = rpkc.XmlToJwk(jWS_RS384_XML.XMLPrivateKey); - TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); - // 検証(XML) - //jWS_RS384_XML = new JWS_RS384_XML(jWS_RS384_XML.XMLPrivateKey); - TIPD.MyDebug.OutputDebugAndConsole("JWS_RS384_XML.Verify", jWS_RS384_XML.Verify(token).ToString()); + // 検証(XML) + //jWS_RS384_XML = new JWS_RS384_XML(jWS_RS384_XML.XMLPrivateKey); + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS384_XML.Verify", jWS_RS384_XML.Verify(token).ToString()); - // 検証(Param) - jWS_RS384_Param = new JWS_RS384_Param(rpkc.JwkToParam(jwk)); - TIPD.MyDebug.OutputDebugAndConsole("JWS_RS384_Param.Verify", jWS_RS384_Param.Verify(token).ToString()); - #endregion + // 検証(Param) + jWS_RS384_Param = new JWS_RS384_Param(rpkc.JwkToParam(jwk)); + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS384_Param.Verify", jWS_RS384_Param.Verify(token).ToString()); + #endregion - #region 512 - // 署名(X509) - jWS_RS512_X509 = new JWS_RS512_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); - token = jWS_RS512_X509.Create(payloadString); + #region 512 + // 署名(X509) + jWS_RS512_X509 = new JWS_RS512_X509(Program.PrivateRsaX509Path, Program.PfxPassword, x509KSF); + token = jWS_RS512_X509.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("JWS_RS512_X509.Create", token); + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("JWS_RS512_X509.Create", token); - // 鍵の相互変換 - rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._512); - jwk = rpkc.ParamToJwk(((RSA)jWS_RS512_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); + // 鍵の相互変換 + rpkc = new RsaPublicKeyConverter(JWS_RSA.RS._512); + jwk = rpkc.ParamToJwk(((RSA)jWS_RS512_X509.DigitalSignX509.AsymmetricAlgorithm).ExportParameters(false)); - TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); + TIPD.MyDebug.OutputDebugAndConsole("RSA JWK", jwk); - // 検証(X509) - jWS_RS512_X509 = new JWS_RS512_X509(Program.PublicRsaX509Path, "", x509KSF); + // 検証(X509) + jWS_RS512_X509 = new JWS_RS512_X509(Program.PublicRsaX509Path, "", x509KSF); - TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_X509.Verify", jWS_RS512_X509.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_X509.Verify", jWS_RS512_X509.Verify(token).ToString()); - // 検証(Param) - jWS_RS512_Param = new JWS_RS512_Param(rpkc.JwkToParam(jwk)); + // 検証(Param) + jWS_RS512_Param = new JWS_RS512_Param(rpkc.JwkToParam(jwk)); - TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_Param.Verify", jWS_RS512_Param.Verify(token).ToString()); - #endregion + TIPD.MyDebug.OutputDebugAndConsole("JWS_RS512_Param.Verify", jWS_RS512_Param.Verify(token).ToString()); + #endregion - #endregion + #endregion - // DSA + // DSA - #region ECDsa(ES) + #region ECDsa(ES) - #region 256 - // 署名(X509) - jWS_ES256_X509 = new JWS_ES256_X509(Program.PrivateECDsaX509_256Path, Program.PfxPassword); - token = jWS_ES256_X509.Create(payloadString); + #region 256 + // 署名(X509) + jWS_ES256_X509 = new JWS_ES256_X509(Program.PrivateECDsaX509_256Path, Program.PfxPassword); + token = jWS_ES256_X509.Create(payloadString); - Touryo.Infrastructure.Public.Security. - MyDebug.InspectJwt("JWS_ES256_X509.Create", token); + Touryo.Infrastructure.Public.Security. + MyDebug.InspectJwt("JWS_ES256_X509.Create", token); - // 鍵の相互変換 - epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._256); - jwk = epkc.ParamToJwk( - ((ECDsa)jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); + // 鍵の相互変換 + epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._256); + jwk = epkc.ParamToJwk( + ((ECDsa)jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); - TIPD.MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); + TIPD.MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); - // 検証(X509) - jWS_ES256_X509 = new JWS_ES256_X509(Program.PublicECDsaX509_256Path, ""); + // 検証(X509) + jWS_ES256_X509 = new JWS_ES256_X509(Program.PublicECDsaX509_256Path, ""); - TIPD.MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); + TIPD.MyDebug.OutputDebugAndConsole("JWS_ES256_X509.Verify", jWS_ES256_X509.Verify(token).ToString()); - // 検証(Param) - //// Core2.0-2.2 on WinでVerifyがエラーになる。 - //// DigitalSignECDsaOpenSslを試してみるが生成できない、 - //// Core on Win に OpenSSLベースのプロバイダは無いため) - jWS_ES256_Param = new JWS_ES256_Param(epkc.JwkToParam(jwk), false); - MyDebug.OutputDebugAndConsole("JWS_ES256_Param.Verify", jWS_ES256_Param.Verify(token).ToString()); + // 検証(Param) + //// Core2.0-2.2 on WinでVerifyがエラーになる。 + //// DigitalSignECDsaOpenSslを試してみるが生成できない、 + //// Core on Win に OpenSSLベースのプロバイダは無いため) + jWS_ES256_Param = new JWS_ES256_Param(epkc.JwkToParam(jwk), false); + MyDebug.OutputDebugAndConsole("JWS_ES256_Param.Verify", jWS_ES256_Param.Verify(token).ToString()); - // ★ xLibTest - Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES256); - #endregion + // ★ xLibTest + Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES256); + #endregion - #region 384 - // 署名(X509) - jWS_ES384_X509 = new JWS_ES384_X509(Program.PrivateECDsaX509_384Path, Program.PfxPassword); - token = jWS_ES384_X509.Create(payloadString); - MyDebug.InspectJwt("JWS_ES384_X509.Create", token); + #region 384 + // 署名(X509) + jWS_ES384_X509 = new JWS_ES384_X509(Program.PrivateECDsaX509_384Path, Program.PfxPassword); + token = jWS_ES384_X509.Create(payloadString); + MyDebug.InspectJwt("JWS_ES384_X509.Create", token); - // 検証(X509) - jWS_ES384_X509 = new JWS_ES384_X509(Program.PublicECDsaX509_384Path, ""); - MyDebug.OutputDebugAndConsole("JWS_ES384_X509.Verify", jWS_ES384_X509.Verify(token).ToString()); + // 検証(X509) + jWS_ES384_X509 = new JWS_ES384_X509(Program.PublicECDsaX509_384Path, ""); + MyDebug.OutputDebugAndConsole("JWS_ES384_X509.Verify", jWS_ES384_X509.Verify(token).ToString()); - // 鍵の相互変換 - epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._384); - jwk = epkc.ParamToJwk( - ((ECDsa)jWS_ES384_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); + // 鍵の相互変換 + epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._384); + jwk = epkc.ParamToJwk( + ((ECDsa)jWS_ES384_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); + MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); - // 検証(X509) - jWS_ES384_X509 = new JWS_ES384_X509(Program.PublicECDsaX509_384Path, ""); - MyDebug.OutputDebugAndConsole("JWS_ES384_X509.Verify", jWS_ES384_X509.Verify(token).ToString()); + // 検証(X509) + jWS_ES384_X509 = new JWS_ES384_X509(Program.PublicECDsaX509_384Path, ""); + MyDebug.OutputDebugAndConsole("JWS_ES384_X509.Verify", jWS_ES384_X509.Verify(token).ToString()); - // 検証(Param) - //// Core2.0-2.2 on WinでVerifyがエラーになる。 - //// DigitalSignECDsaOpenSslを試してみるが生成できない、 - //// Core on Win に OpenSSLベースのプロバイダは無いため) - jWS_ES384_Param = new JWS_ES384_Param(epkc.JwkToParam(jwk), false); - MyDebug.OutputDebugAndConsole("JWS_ES384_Param.Verify", jWS_ES384_Param.Verify(token).ToString()); + // 検証(Param) + //// Core2.0-2.2 on WinでVerifyがエラーになる。 + //// DigitalSignECDsaOpenSslを試してみるが生成できない、 + //// Core on Win に OpenSSLベースのプロバイダは無いため) + jWS_ES384_Param = new JWS_ES384_Param(epkc.JwkToParam(jwk), false); + MyDebug.OutputDebugAndConsole("JWS_ES384_Param.Verify", jWS_ES384_Param.Verify(token).ToString()); - // ★ xLibTest - Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES384_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES384); - #endregion + // ★ xLibTest + Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES384_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES384); + #endregion - #region 512 - // 署名(X509) - jWS_ES512_X509 = new JWS_ES512_X509(Program.PrivateECDsaX509_512Path, Program.PfxPassword); - token = jWS_ES512_X509.Create(payloadString); - MyDebug.InspectJwt("JWS_ES512_X509.Create", token); + #region 512 + // 署名(X509) + jWS_ES512_X509 = new JWS_ES512_X509(Program.PrivateECDsaX509_512Path, Program.PfxPassword); + token = jWS_ES512_X509.Create(payloadString); + MyDebug.InspectJwt("JWS_ES512_X509.Create", token); - // 検証(X509) - jWS_ES512_X509 = new JWS_ES512_X509(Program.PublicECDsaX509_512Path, ""); - MyDebug.OutputDebugAndConsole("JWS_ES512_X509.Verify", jWS_ES512_X509.Verify(token).ToString()); + // 検証(X509) + jWS_ES512_X509 = new JWS_ES512_X509(Program.PublicECDsaX509_512Path, ""); + MyDebug.OutputDebugAndConsole("JWS_ES512_X509.Verify", jWS_ES512_X509.Verify(token).ToString()); - // 鍵の相互変換 - epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._512); - jwk = epkc.ParamToJwk( - ((ECDsa)jWS_ES512_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); + // 鍵の相互変換 + epkc = new EccPublicKeyConverter(JWS_ECDSA.ES._512); + jwk = epkc.ParamToJwk( + ((ECDsa)jWS_ES512_X509.DigitalSignECDsaX509.AsymmetricAlgorithm).ExportParameters(false)); - MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); + MyDebug.OutputDebugAndConsole("ECDSA JWK", jwk); - // 検証(X509) - jWS_ES512_X509 = new JWS_ES512_X509(Program.PublicECDsaX509_512Path, ""); - MyDebug.OutputDebugAndConsole("JWS_ES512_X509.Verify", jWS_ES512_X509.Verify(token).ToString()); + // 検証(X509) + jWS_ES512_X509 = new JWS_ES512_X509(Program.PublicECDsaX509_512Path, ""); + MyDebug.OutputDebugAndConsole("JWS_ES512_X509.Verify", jWS_ES512_X509.Verify(token).ToString()); - // 検証(Param) - //// Core2.0-2.2 on WinでVerifyがエラーになる。 - //// DigitalSignECDsaOpenSslを試してみるが生成できない、 - //// Core on Win に OpenSSLベースのプロバイダは無いため) - jWS_ES512_Param = new JWS_ES512_Param(epkc.JwkToParam(jwk), false); - MyDebug.OutputDebugAndConsole("JWS_ES512_Param.Verify", jWS_ES512_Param.Verify(token).ToString()); + // 検証(Param) + //// Core2.0-2.2 on WinでVerifyがエラーになる。 + //// DigitalSignECDsaOpenSslを試してみるが生成できない、 + //// Core on Win に OpenSSLベースのプロバイダは無いため) + jWS_ES512_Param = new JWS_ES512_Param(epkc.JwkToParam(jwk), false); + MyDebug.OutputDebugAndConsole("JWS_ES512_Param.Verify", jWS_ES512_Param.Verify(token).ToString()); - // ★ xLibTest - Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES512_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES512); - #endregion + // ★ xLibTest + Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES512_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES512); + #endregion - #endregion + #endregion + /* } else //if (os.Platform == PlatformID.Unix) { @@ -895,6 +896,7 @@ private static void MyJwt() Program.VerifyResultJwt("JwsAlgorithm.xLibTest", token, jWS_ES256_X509.DigitalSignECDsaX509.AsymmetricAlgorithm, JwsAlgorithm.ES256); #endregion } + */ #endregion #region Jwe diff --git a/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100OnLinux.txt b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100OnLinux.txt new file mode 100644 index 000000000..50c1fb1da --- /dev/null +++ b/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/ResultCore100OnLinux.txt @@ -0,0 +1,211 @@ +HashAlgorithm.Default > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.MD5 > FQ2+bMMhF8fDG0fkIOd9fA== +HashAlgorithm.RIPEMD160_M > +2KFDwtYWpBfxsGkJU4SR/6NA8E= +HashAlgorithm.SHA1 > wFTHz2IcQbeEekZ1o41FXOoYqHs= +HashAlgorithm.SHA256 > XptEn4IjdI/wfcYTje0ySPKxxLrf91ljtBvpJUiPH2I= +HashAlgorithm.SHA384 > KPANYikTelxukuuiMCaekdQoh5xIm6+Zx4sWY6u/OgAt/cQcWJ1KH89BnggsBm7V +HashAlgorithm.SHA512 > s4KE0QPxsjBiUmkgWFeU3A5w4dF5mvncmWqzYSDvB7CejMOiHBMLaw2220Rmz4NYAf/ReBlafi4jY9UeEkWyZA== +KeyedHashAlgorithm.Default > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACMD5 > WTofHEUdHAHKlRuNv8hM5Q== +KeyedHashAlgorithm.HMACRIPEMD160 > fw9Meric/I6VKV1kw4V3wm8rEUQ= +KeyedHashAlgorithm.HMACSHA1 > DArKUX/IUh3hLfSP6dRQtpDjO4A= +KeyedHashAlgorithm.HMACSHA256 > jVnqM8tz+EWQt+S7bminuPgaJgzQLiQ93RNAzoOb2p4= +KeyedHashAlgorithm.HMACSHA384 > H1vjmH2lEK0M3UiCaz/WSL/erNMW7HORXAMLZNwwWK7xjINYQpYYP+9tMYQrb3ms +KeyedHashAlgorithm.HMACSHA512 > VDs+QpNqiBwTS3Zl3HsU2iBWcD+r+voy7BcgF2qCEb5Fn2WolqhNUbz+dJuV8syNT/rC/E/hi9p9Kgz8EbynDg== +KeyedHashAlgorithm.MACTripleDES > yzgJeEuu4fs= +GetPasswordHashV1.EqualSaltedPassword (old) > True +GetPasswordHashV2.EqualSaltedPassword (old) > False +GetPasswordHashV2.EqualSaltedPassword (new) > True +GetPasswordHashV2.EqualSaltedPassword (new) > True +---------------------------------------------------------------------------------------------------- +RSA > X509Certificate2.PrivateKey: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PrivateKey.ToString(): is System.Security.Cryptography.RSAOpenSsl +RSA > publicX509Key: is not null +RSA > SignatureAlgorithm.FriendlyName: sha256RSA +RSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +RSA > PublicKey.Key.ToString(): is System.Security.Cryptography.RSAOpenSsl +DSA > X509Certificate2.PrivateKey: is not null +DSA > SignatureAlgorithm.FriendlyName: dsa_with_SHA256 +DSA > PrivateKey.ToString(): is System.Security.Cryptography.DSAOpenSsl +DSA > publicX509Key: is not null +DSA > SignatureAlgorithm.FriendlyName: dsa_with_SHA256 +DSA > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +DSA > PublicKey.Key.ToString(): is System.Security.Cryptography.DSAOpenSsl +privateDSA > is not null +ECDsa > X509Certificate2.PrivateKey: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PrivateKey.ToString(): is System.Security.Cryptography.ECDsaOpenSsl +ECDsa > publicX509Key: is not null +ECDsa > SignatureAlgorithm.FriendlyName: sha256ECDSA +ECDsa > PublicKey.ToString(): is System.Security.Cryptography.X509Certificates.PublicKey +ECDsa > PublicKey.Key.ToString(): is System.Security.Cryptography.ECDsaOpenSsl +privateECDsa > is not null +publicECDsa > is not null +ASymCrypt(X509).Enc&Dec > True +DigitalSignX509.Verify(RS256) > True +DigitalSignParam.Verify(RS256) > True +DigitalSignXML.Verify(RS256) > True +DigitalSignX509.Verify(DSA-SHA256) > True +DigitalSignParam.Verify(DSA-SHA256) > True +DigitalSignXML.Verify(DSA-SHA256) > True +DigitalSignECDsaX509.Verify(ECDSA) > True +DigitalSignParam.Verify(ECDSA-P256) > False +---------------------------------------------------------------------------------------------------- +JWS_HS256.Create > JWS Header: {"alg":"HS256","typ":"JWT"} +JWS_HS256.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS256.Create > JWS Signature: heeT4028uyTceiOoYHgLfdzvDgsqlwYPGhJQF2GIMbQ +JWS_HS256.Verify > True +JWS_HS384.Create > JWS Header: {"alg":"HS384","typ":"JWT"} +JWS_HS384.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS384.Create > JWS Signature: Low8PkHQfPEyrgT5v4NSaMpcASi-Q-Qvww3raRG8K3D8G-k1pIJA6IsqlQqCdXvb +JWS_HS384.Verify > True +JWS_HS512.Create > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify > True +JWS_HS512.Create with JWK > JWS Header: {"alg":"HS512","typ":"JWT"} +JWS_HS512.Create with JWK > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_HS512.Create with JWK > JWS Signature: h-v_jWkauB28oBdPa8NYcGx3g6zzlKLN6fDF7pWJWlZzjkwTAgfs6waQ8mgiFmrSoqDtdmUz4bZTD4hMY6rvTw +JWS_HS512.Verify with JWK > True +JWS_RS256_X509.Create > JWS Header: {"alg":"RS256","typ":"JWT"} +JWS_RS256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS256_X509.Create > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +RSA JWK > {"kty":"RSA","alg":"RS256","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"0YKHkdPGFmrVsYp3P52TO1FNiWcKMcgk8s1ddNFD8Ew"} +JWS_RS256_X509.Verify > True +JWS_RS256_Param.Verify > True +jWS_RS384_XML.Create > JWS Header: {"alg":"RS384","typ":"JWT"} +jWS_RS384_XML.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +jWS_RS384_XML.Create > JWS Signature: VMmHW1WonwebWPx5hL89oaWRzAsw6JHi-Jwtlc_kfBbkih9BFrUCUaeLHKKgD0M0GMMN_a_j3_HZAjAFW1hnxoD_RgkPhvzguSf5cFaJvjokZQc4hTMreikDbvG7GpVPnc5OT3o-sD2yHxpLYY6J2vQ5NFqWP_QJ-MwotZf9HkM +RSA JWK > {"kty":"RSA","alg":"RS384","n":"yIHAjPjCl86yogszrockaF6-93z6PLJmuPzmwkeqclAqNSglou1r5pQoW22NMkPDCiV-0P-Cc3DIn3deM__w0TbMeDWr13CdYU_cbNbWqwUG12MSDcBVh5BDsJG967_IoTtSpo_wOaZBa1STzFbcC1_qpMrDbwlypvhSYzUXBp8","e":"AQAB","kid":"BbT7hjkVaxAJnQ8D3dUHLkgOsxHTsDqtof6z-QrdFP4xwQvNKUEMUvllHlJpWN3G"} +JWS_RS384_XML.Verify > True +JWS_RS384_Param.Verify > True +JWS_RS512_X509.Create > JWS Header: {"alg":"RS512","typ":"JWT"} +JWS_RS512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_RS512_X509.Create > JWS Signature: Hu7kkEBidhzIDOT-GDElTyZutarV9q5K29say3_dNNTTkK1QV13r_0wfEg-g52mOXgBHtM0ITiUMz3KkB71RYk6_Ga7GXCxQQGJ-v_aI-49N4pnCZ9CLEehiaZ-76XDSS3VrOlhYEGxGznACMyAF6maxvkJF2kANTTKYk7Z-EZ6T90lD-6C5lOy3h_CEx_WzUoLD2u_4oa2apNFEtMtbRYI50gq4gUSFjFmh2lnm-_xvgLYbruM5Q7VJK5c_8uCu39SetNanCnAps816Ve2JqCRd6XfMQgfsl1Uc4iC26B51dUmR-SXCpOMmlJ3vKC5gFFmX7aY5iaqEKaiR2JAgLA +RSA JWK > {"kty":"RSA","alg":"RS512","n":"nOSgXEBwV-maKTcGlGAFL6KPyTQB7Z0G0Z4ewZi5rhFhEDsZRLV5p3_AqWQQlZFVrIJ_6wdrBY5sCAle6av654jqnI8AqxVV-OL-COmrhVMhrikRXxhxATAzo0Gf_hjW0yux8Ns2HT72PVscjBk9SKeedcorMjWWJPfr1zwsByLaSz8pQApBccRk_bUc-oBHRpDanPFz23v4ts3RXso05G8UZmcaqDqjMsVZfI3Cd3jqaWdb6NeeUw0DZDtMJObOJExJN43LO7rvtWmYXlEgLp-rCTI6CQ0Cmo4WuLU8Rv03fXQXGX0jDNeqfck8EEj7NwJWCvtf_AYaZ6hGcw2PMw","e":"AQAB","kid":"w8oMM75dlmuzJhKJmh8lS3VtmPxuWPxFk6SlZ0BGOdcE67qkeIDNhHwc1ZDO8_sfqNxBxBXSS6MU96wFO6J_Iw"} +JWS_RS512_X509.Verify > True +JWS_RS512_Param.Verify > True +JWS_ES256_X509.Create > JWS Header: {"alg":"ES256","typ":"JWT"} +JWS_ES256_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES256_X509.Create > JWS Signature: ia9_JlH2lqr3xE4Bws4X83AhVPhO9kfSdZKwp-k2dYCL5EznpyVmSBmP6Nmambrxv0tmjpFWnxRETs_p4ZsIeg +ECDSA JWK > {"kty":"EC","alg":"ES256","crv":"P-256","x":"qdS3bsts3UXi5p0G71GofUB9ls1fJz_z0dRQw9RZ99A","y":"hX6HISTIiDLt90VDEqGmsMj2kSlGLOcXgXSqz75EhV4","kid":"asm1SGqVczG7zj0saZPKiggv2xwRlb6c23CDCNBqBNA"} +JWS_ES256_X509.Verify > True +JWS_ES256_Param.Verify > True +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.ia9_JlH2lqr3xE4Bws4X83AhVPhO9kfSdZKwp-k2dYCL5EznpyVmSBmP6Nmambrxv0tmjpFWnxRETs_p4ZsIeg +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: ia9_JlH2lqr3xE4Bws4X83AhVPhO9kfSdZKwp-k2dYCL5EznpyVmSBmP6Nmambrxv0tmjpFWnxRETs_p4ZsIeg +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES384_X509.Create > JWS Header: {"alg":"ES384","typ":"JWT"} +JWS_ES384_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES384_X509.Create > JWS Signature: TSRZ8vPrSQwVxA4MRBAb-staeftxqw6wNHT4wylHYps0dRcpp7c62sgJd4XnAT2Ty7ym9-MfDuGCvan-5LNXPyWR7xPwWGwT0raziaFaFjpA6Z0cc7GhjMy92w6ESHxj +JWS_ES384_X509.Verify > True +ECDSA JWK > {"kty":"EC","alg":"ES384","crv":"P-384","x":"qeyd2iMw8DZT7Yy3KO0mOuok1JBBdMwEuJTa81Upg06fbVbotK8yuhDSVkzSFsw3","y":"thH6faasSDmEO4zeVNdc5LbZJprQmL7JN3NZzYUJmF1GhQEl6QaZh-6f1QhDH0St","kid":"e_kI1ZJ_x9ttzEU_DICgGhJeNK8ghcW3bSl7KFM6eVefpKJHA5ecCowzJw69r9Vr"} +JWS_ES384_X509.Verify > True +JWS_ES384_Param.Verify > True +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.TSRZ8vPrSQwVxA4MRBAb-staeftxqw6wNHT4wylHYps0dRcpp7c62sgJd4XnAT2Ty7ym9-MfDuGCvan-5LNXPyWR7xPwWGwT0raziaFaFjpA6Z0cc7GhjMy92w6ESHxj +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES384","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: TSRZ8vPrSQwVxA4MRBAb-staeftxqw6wNHT4wylHYps0dRcpp7c62sgJd4XnAT2Ty7ym9-MfDuGCvan-5LNXPyWR7xPwWGwT0raziaFaFjpA6Z0cc7GhjMy92w6ESHxj +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES512_X509.Create > JWS Header: {"alg":"ES512","typ":"JWT"} +JWS_ES512_X509.Create > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JWS_ES512_X509.Create > JWS Signature: Aezxr767ySFRRBJoKorHxQYLX9xorq_byHPz5dFMPE2GhmDF3RJGgfM499r4TczCD2kBepYqTnueY4OFOpolVGaUAV_fAGeCJEYUoa9NwQpRSM7PNj1UmsVRHAQ58RuTFj3Lzeqis4wzKtqJH5qrsCXszXMyWT95GzP-4JsmoqJwEjSY +JWS_ES512_X509.Verify > True +ECDSA JWK > {"kty":"EC","alg":"ES512","crv":"P-521","x":"AQoRdSDzXLfin6CFhLxDOL0_Cfn-QcwgdbMkMGgwTeA4gDIygCOEy4m0eyTmEnjYdBOMN5JtYUiprdZZriAGzrHC","y":"ATj5JBej9ztfsArJLUMCs4edyCgPuItefh7KFGfeefI7YjB-pakcKxzhHZ1h2UhR183bnQ4rrXc71N5WAl3d5BqZ","kid":"OaO51pUD4-aJ8skED2eag0nvd1kfqIwo9BhB86PEZ34PBLE4TiHv6v9LCK20r0c6x06bULLSi84PcldSN2n6DQ"} +JWS_ES512_X509.Verify > True +JWS_ES512_Param.Verify > True +JwsAlgorithm.xLibTest > Original:eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Aezxr767ySFRRBJoKorHxQYLX9xorq_byHPz5dFMPE2GhmDF3RJGgfM499r4TczCD2kBepYqTnueY4OFOpolVGaUAV_fAGeCJEYUoa9NwQpRSM7PNj1UmsVRHAQ58RuTFj3Lzeqis4wzKtqJH5qrsCXszXMyWT95GzP-4JsmoqJwEjSY +JwsAlgorithm.xLibTest > JWS Header: {"alg":"ES512","typ":"JWT"} +JwsAlgorithm.xLibTest > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.xLibTest > JWS Signature: Aezxr767ySFRRBJoKorHxQYLX9xorq_byHPz5dFMPE2GhmDF3RJGgfM499r4TczCD2kBepYqTnueY4OFOpolVGaUAV_fAGeCJEYUoa9NwQpRSM7PNj1UmsVRHAQ58RuTFj3Lzeqis4wzKtqJH5qrsCXszXMyWT95GzP-4JsmoqJwEjSY +JwsAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_RsaOaepAesGcm_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00iLCJ0eXAiOiJKV1QifQ.B1hqbavrwoZJ3FFS9RK8xgJhw4C61iOr-YhCsEHysoxIT7jh11OWQVyUnxMqpIPkmi4nFNAEhuQWIhv9oJx_ifmvvdyc3KBtFkjlWWfLBWIasDX7SXIFyZ5CJ1h0DrBmYowZCIYuCNVOADdf9eC7hWCGP4e-mdAYaiLpZ6eBbGVsO283TeluxdgNfySblHmh5p2LMlQHUTA02GdLwJX2Id8XmYXYV518gkh-X4RQWt04NmapHF_TPW0dYE7s6HGB7xch2JZUSWLGtbg4g1_Ey5RITcJqg7NhkWnohObHoT0OoM-Y433z7mdEmts54TCkbYTm0fM8xJw1rU4cdXIPjg.BTbfz3w4nuez51-c.sUGGybynCg7W61GlMyo_PUiZk7_BHWUH8OhD_-Y_osrB65f1W9PYI3KDcg.3bGmE8__LVOSQo4pyEMcxQ +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: B1hqbavrwoZJ3FFS9RK8xgJhw4C61iOr-YhCsEHysoxIT7jh11OWQVyUnxMqpIPkmi4nFNAEhuQWIhv9oJx_ifmvvdyc3KBtFkjlWWfLBWIasDX7SXIFyZ5CJ1h0DrBmYowZCIYuCNVOADdf9eC7hWCGP4e-mdAYaiLpZ6eBbGVsO283TeluxdgNfySblHmh5p2LMlQHUTA02GdLwJX2Id8XmYXYV518gkh-X4RQWt04NmapHF_TPW0dYE7s6HGB7xch2JZUSWLGtbg4g1_Ey5RITcJqg7NhkWnohObHoT0OoM-Y433z7mdEmts54TCkbYTm0fM8xJw1rU4cdXIPjg +JweAlgorithm.xLibTest > JWE Initialization Vector: BTbfz3w4nuez51-c +JweAlgorithm.xLibTest > JWE Ciphertext: sUGGybynCg7W61GlMyo_PUiZk7_BHWUH8OhD_-Y_osrB65f1W9PYI3KDcg +JweAlgorithm.xLibTest > JWE Authentication Tag: 3bGmE8__LVOSQo4pyEMcxQ +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JWE_Rsa15A128CbcHS256_X509.Decrypt > True : {"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.xLibTest > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwidHlwIjoiSldUIn0.a0TWSvWJ9-ZEW86nKMo-cnLoWE2SILy9lR6SpPEaUoY02B1e7QcsJ6rz0p8Eu9d8behl9HXwi4Rkns2H-_0fcu7aHZrxMQVnEl575jSeWIIMLR9JZI4hGXMfOiOpkAhDFxynfvoKZqXRuNs8dC5Ly-ERhCKYAOmTqXS2Ru_y8S8_CrcK0GVP2e9-RTuyXQqFgeLdPf1BLWFEUdSNNmTgP6pKG8p_eU6NxegCKbC5pg8IaO-n9ccZiQTuWB4oacziR2AmjHoxnFC7yVLjLsOEYatsh9NEHoid4OpJTGk5owVsLWmVmrleuKt5Ti2skOD85bVU8pBG_3GqSKXHVD0XMQ.SGVg6TF_VnDJKucHfgjVmQ.0zwshMvTmdYwy446Ow8LTz7y4Qs54hnhNgrs2nleUA4Q4LFa71qM8pz98ZmDoWiR.J3YoCzOW2NydWT_-NAZCBA +JweAlgorithm.xLibTest > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256","typ":"JWT"} +JweAlgorithm.xLibTest > JWE Encrypted Key: a0TWSvWJ9-ZEW86nKMo-cnLoWE2SILy9lR6SpPEaUoY02B1e7QcsJ6rz0p8Eu9d8behl9HXwi4Rkns2H-_0fcu7aHZrxMQVnEl575jSeWIIMLR9JZI4hGXMfOiOpkAhDFxynfvoKZqXRuNs8dC5Ly-ERhCKYAOmTqXS2Ru_y8S8_CrcK0GVP2e9-RTuyXQqFgeLdPf1BLWFEUdSNNmTgP6pKG8p_eU6NxegCKbC5pg8IaO-n9ccZiQTuWB4oacziR2AmjHoxnFC7yVLjLsOEYatsh9NEHoid4OpJTGk5owVsLWmVmrleuKt5Ti2skOD85bVU8pBG_3GqSKXHVD0XMQ +JweAlgorithm.xLibTest > JWE Initialization Vector: SGVg6TF_VnDJKucHfgjVmQ +JweAlgorithm.xLibTest > JWE Ciphertext: 0zwshMvTmdYwy446Ow8LTz7y4Qs54hnhNgrs2nleUA4Q4LFa71qM8pz98ZmDoWiR +JweAlgorithm.xLibTest > JWE Authentication Tag: J3YoCzOW2NydWT_-NAZCBA +JweAlgorithm.xLibTest > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.none > eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ. +JwsAlgorithm.HS256 > Original:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > JWS Header: {"alg":"HS256","typ":"JWT"} +JwsAlgorithm.HS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.HS256 > JWS Signature: dvd5Ak6zcBy0OB7gxVtehT3Ab5NO7XEggon6r_CTSfE +JwsAlgorithm.HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +JwsAlgorithm.RS256 > JWS Header: {"alg":"RS256","typ":"JWT"} +JwsAlgorithm.RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.RS256 > JWS Signature: jMJbrOaZ_p0xouAFfetm_orlTuwPbJK65-rEto5lIGgCR_oCG_ApQWeCXc5xikto_IcN2nNsHWMOMJMII6WlhVmn9pFTuuj-fZH_aB-aasDSguyXd59BA43a4glZbPCITOwZFfeNMpXGrKG_YNvexP5mtiJYYCDXMgq2zBHS9lQYcGXy4YyGPD_jNu6ziLRNDdKCkRqTppTE2SexZAwaSJRGGuY-fHA3jVPBV90Cty7yBC3ybKmiE4imVQs8CUw7ic61HSytgItIlreol4PMMP8fXB6O1e_K8QJFfRIf9oC07y9Mo5OWl4CCOxvKAo9nos0GTWUUNUH-sugJhUV14A +JwsAlgorithm.RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.K2Ry0FKS0QeUW7vvzKO3skWIKYGhhu1kGMrpYNevCkLvET99x8GC-b05GMdttWjsIglwGKRyF6IDVcdXVniiag +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: K2Ry0FKS0QeUW7vvzKO3skWIKYGhhu1kGMrpYNevCkLvET99x8GC-b05GMdttWjsIglwGKRyF6IDVcdXVniiag +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Inspect ECCurve > [Oid = null, IsPrime = True, IsCharacteristic2 = False, IsExplicit = True, IsNamed = False, A = [255, 255, 255, 255, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 252], B = [90, 198, 53, 216, 170, 58, 147, 231, 179, 235, 189, 85, 118, 152, 134, 188, 101, 29, 6, 176, 204, 83, 176, 246, 59, 206, 60, 62, 39, 210, 96, 75], G = [X = [107, 23, 209, 242, 225, 44, 66, 71, 248, 188, 230, 229, 99, 164, 64, 242, 119, 3, 125, 129, 45, 235, 51, 160, 244, 161, 57, 69, 216, 152, 194, 150], Y = [79, 227, 66, 226, 254, 26, 127, 155, 142, 231, 235, 74, 124, 15, 158, 22, 43, 206, 51, 87, 107, 49, 94, 206, 203, 182, 64, 104, 55, 191, 81, 245]], Order = [255, 255, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 188, 230, 250, 173, 167, 23, 158, 132, 243, 185, 202, 194, 252, 99, 37, 81], Cofactor = [1], Seed = [196, 157, 54, 8, 134, 231, 4, 147, 106, 102, 120, 225, 19, 157, 38, 183, 129, 159, 126, 144], CurveType = PrimeShortWeierstrass, Hash = null, Polynomial = null, Prime = [255, 255, 255, 255, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]] +JwsAlgorithm.ES256 > Original:eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.Tt9oSZ80toFUpnktoX_SgnAJiImixBciFYJYScHRp2tmDyBy2P1fkLC8xL8mDRkz70-rwG1ZGXcQ6tyAuSgDLA +JwsAlgorithm.ES256 > JWS Header: {"alg":"ES256","typ":"JWT"} +JwsAlgorithm.ES256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +JwsAlgorithm.ES256 > JWS Signature: Tt9oSZ80toFUpnktoX_SgnAJiImixBciFYJYScHRp2tmDyBy2P1fkLC8xL8mDRkz70-rwG1ZGXcQ6tyAuSgDLA +JwsAlgorithm.ES256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.ReMEdL0O4EaQ4g4OhMjC5vpRYJYk6ElpMCQrDJqtMZy-3hAnFIF3p-v_fntZZIRLXvP2162EUz2Ixk-XUjYbfHuO_lxh7tAtDvO-2L3pQlT6NgppYvI3yYXFXypVS6-J2GrLHLRl2sq6NVR6MVMwwLpS50IgMrZ5j0jt2NXiWPqoRX1TqKpLXdcYO65k1GS9lFkpZ81E3W_nB1nnbeie7gBIOXc6VxIWye4Fhate3gxy-CfX4P_lPMtf4DtNrY_RAWTeZK8PyHlto5l4ESJJzFyGV_WoX41GwymHf3ilZV5zni0JXlnXYit7GmBOdKdhuVuaRs8EQXsv0ZP3UVxJMw.VeRL6wqM1C4ndEe6tcTlpw.p_39KidK5wGU-zh0GKY8nPJq0vkts0K3MrE7qOrSrgG37u40qUcfQ7sMXFquxk2q.js234VPMSJtfEYVC3zm6-g +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"RSA1_5","enc":"A128CBC-HS256"} +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: ReMEdL0O4EaQ4g4OhMjC5vpRYJYk6ElpMCQrDJqtMZy-3hAnFIF3p-v_fntZZIRLXvP2162EUz2Ixk-XUjYbfHuO_lxh7tAtDvO-2L3pQlT6NgppYvI3yYXFXypVS6-J2GrLHLRl2sq6NVR6MVMwwLpS50IgMrZ5j0jt2NXiWPqoRX1TqKpLXdcYO65k1GS9lFkpZ81E3W_nB1nnbeie7gBIOXc6VxIWye4Fhate3gxy-CfX4P_lPMtf4DtNrY_RAWTeZK8PyHlto5l4ESJJzFyGV_WoX41GwymHf3ilZV5zni0JXlnXYit7GmBOdKdhuVuaRs8EQXsv0ZP3UVxJMw +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: VeRL6wqM1C4ndEe6tcTlpw +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Ciphertext: p_39KidK5wGU-zh0GKY8nPJq0vkts0K3MrE7qOrSrgG37u40qUcfQ7sMXFquxk2q +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: js234VPMSJtfEYVC3zm6-g +JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Original:eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkEyNTZHQ00ifQ.WCkWcaRHOm9ME3Ni7BTsj-SCjZnkqFDo9iFYIPiWWxuYHTbPxA2e0oXnJlULmZKXmy2waMUmfmaTGNokISN2ea1JvYQ96pofDCZ5CNZh5SgGvS04ck-5tsXPXwGNkw1Wy65o-zetWdl_1M2Q0TURhPZo_u5MOp_-BrTghoERJifRqJzo95bNSzDjjbo02US40sOg6uHW9Ba-pYkXUayGt9dNxXcJvALRdIy0ky0hzLZ6W0xrU9zCK5hVl9OBE68xQUzHCnjoks2voXx18VIzi9M_Q5dcGdzik7ISLPHVDad079rdD16GsXpt5yVbjSobhw5udvulFBRrKR54ziFEVg.uTPeO8IiV17MgKxi.PNqqq3qcJttAZNk02qAbgWEnh8fQRmt7xnJJEglx4EEOV1YvUSz84vbuzA.e3Llfgb2DzzLJ1qGaxZLZQ +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Header: {"alg":"RSA-OAEP","enc":"A256GCM"} +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Encrypted Key: WCkWcaRHOm9ME3Ni7BTsj-SCjZnkqFDo9iFYIPiWWxuYHTbPxA2e0oXnJlULmZKXmy2waMUmfmaTGNokISN2ea1JvYQ96pofDCZ5CNZh5SgGvS04ck-5tsXPXwGNkw1Wy65o-zetWdl_1M2Q0TURhPZo_u5MOp_-BrTghoERJifRqJzo95bNSzDjjbo02US40sOg6uHW9Ba-pYkXUayGt9dNxXcJvALRdIy0ky0hzLZ6W0xrU9zCK5hVl9OBE68xQUzHCnjoks2voXx18VIzi9M_Q5dcGdzik7ISLPHVDad079rdD16GsXpt5yVbjSobhw5udvulFBRrKR54ziFEVg +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Initialization Vector: uTPeO8IiV17MgKxi +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Ciphertext: PNqqq3qcJttAZNk02qAbgWEnh8fQRmt7xnJJEglx4EEOV1YvUSz84vbuzA +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > JWE Authentication Tag: e3Llfgb2DzzLJ1qGaxZLZQ +JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Original:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..h8YCBvh6pXC_h24j8PDeqQ.tLkp3PVzKThLsz3fx95Q872aGTyLR3V8oRqTuJGOJCFb7g0qGmJGWiFZhz5mcvBa.x0Nlnysj48WEqyo9xQ5GVw +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Header: {"alg":"dir","enc":"A128CBC-HS256"} +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Encrypted Key: +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Initialization Vector: h8YCBvh6pXC_h24j8PDeqQ +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Ciphertext: tLkp3PVzKThLsz3fx95Q872aGTyLR3V8oRqTuJGOJCFb7g0qGmJGWiFZhz5mcvBa +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > JWE Authentication Tag: x0Nlnysj48WEqyo9xQ5GVw +JweAlgorithm.DIR, JweEncryption.A128CBC_HS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.CVb9-EN-z-r9ZEvoQcsvblg2ZnCQfzR265MLPYR-Ndt2dwZyYArqtX_AXdqwCMxvcHfvbCGoQsftfZqU-dm-Hanx3Ao9CubU.tTTDrKQ2RG7IDo5MHZNwpw.--IPaBp3BfvSkACRAEK_srv6liKvZt_I8JWjgaONl3Gir8QW7rfkrpspou9RnxLt.rfpU0NQvnGuNrKc2kG1YtB1FjW4Y3n7-R2VCd0oc9mA +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256KW","enc":"A256CBC-HS512"} +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: CVb9-EN-z-r9ZEvoQcsvblg2ZnCQfzR265MLPYR-Ndt2dwZyYArqtX_AXdqwCMxvcHfvbCGoQsftfZqU-dm-Hanx3Ao9CubU +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: tTTDrKQ2RG7IDo5MHZNwpw +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: --IPaBp3BfvSkACRAEK_srv6liKvZt_I8JWjgaONl3Gir8QW7rfkrpspou9RnxLt +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: rfpU0NQvnGuNrKc2kG1YtB1FjW4Y3n7-R2VCd0oc9mA +JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJBMjU2R0NNS1ciLCJpdiI6IkppUmtPYXJIUUJDclFabDEiLCJ0YWciOiJROFFiUW9CcGowOTYwbG9kclhoRkJ3IiwiZW5jIjoiQTI1NkNCQy1IUzUxMiJ9.Dcf5ax9UCHgrfoqW2LIp5GplVZ7-KEXI8HOYHxd1AAjAp0aFKExByc94LhPNfWAklL1RqkkwpkJsqUYUXoHrcw.Aiot4j1FTX2S1IOpHLMirg.-PTdtL18t3wuaP_36Hy5NstG3Uhnwn8BvLGIIgbkKCeALRycwPlmSGo50aklfZkg.AgsSCsUXqoAVzWUCrg8orxVtVo8VsRGk7Dr06GA_H-o +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"A256GCMKW","iv":"JiRkOarHQBCrQZl1","tag":"Q8QbQoBpj0960lodrXhFBw","enc":"A256CBC-HS512"} +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: Dcf5ax9UCHgrfoqW2LIp5GplVZ7-KEXI8HOYHxd1AAjAp0aFKExByc94LhPNfWAklL1RqkkwpkJsqUYUXoHrcw +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: Aiot4j1FTX2S1IOpHLMirg +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: -PTdtL18t3wuaP_36Hy5NstG3Uhnwn8BvLGIIgbkKCeALRycwPlmSGo50aklfZkg +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: AgsSCsUXqoAVzWUCrg8orxVtVo8VsRGk7Dr06GA_H-o +JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +JweAlgorithm.ECDH_ES, JweEncryption.A256GCM > System.PlatformNotSupportedException, Windows Cryptography Next Generation (CNG) is not supported on this platform. +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Original:eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJwMmMiOjgxOTIsInAycyI6IlpjaWVFV0ppdXpvZ2hqaF8iLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIn0.UWswEW43hiIxNqhONdYQjusIAk7Rk1DIhMvHr-OmqmzX7q4CEbALWBdaCtMuzDEOpvLExDltVYCI7KsVH5k421SUczj3HdPp.LD8Yrh8vY71qy5zmpVEUVA.IevTKSlgch3o6uhgpZ8Iu-6v06qq-uLOOf87yv2KWHwB3bHq4LIjIgxcZav-N7he.A3JlF4jRIUbRWLGukeuwDVBnpBSxKXRFppHJRA5ToiY +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Header: {"alg":"PBES2-HS256+A128KW","p2c":8192,"p2s":"ZcieEWJiuzoghjh_","enc":"A256CBC-HS512"} +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Encrypted Key: UWswEW43hiIxNqhONdYQjusIAk7Rk1DIhMvHr-OmqmzX7q4CEbALWBdaCtMuzDEOpvLExDltVYCI7KsVH5k421SUczj3HdPp +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Initialization Vector: LD8Yrh8vY71qy5zmpVEUVA +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Ciphertext: IevTKSlgch3o6uhgpZ8Iu-6v06qq-uLOOf87yv2KWHwB3bHq4LIjIgxcZav-N7he +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > JWE Authentication Tag: A3JlF4jRIUbRWLGukeuwDVBnpBSxKXRFppHJRA5ToiY +JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > Original:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImN0eSI6IkpXVCIsImtleWlkIjoiMTExLTIyMi0zMzMifQ.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w +Adding extra headers to RS256 > JWS Header: {"alg":"RS256","typ":"JWT","cty":"JWT","keyid":"111-222-333"} +Adding extra headers to RS256 > JWS Payload: {"sub":"mr.x@contoso.com","exp":1300819380} +Adding extra headers to RS256 > JWS Signature: KwtpHrjNKBnyHo6QRaULxcWZDF9mDKHiQG1QBSmnrwHi7vJSiLH_3fFIcTkQvdu7FstmPOuuVD-T3EPKfv61aHz5o-0dRTylooln5tS_2_uZ4lPV4A2C_Pr_cYzRawUIuTwhCi3n0i-fQapYvKT41qjh0vKalEuDmd6-WDnpGcKdI3dv-kSB_42FfIdbEKDEtYvgyzwj5An9YJim29OsiM-GW6tyqei3nzHrQ0yPhgfKOd89M_azGynAVTTNKvPyZujnILu-XnVu54So-5W2fwg-WkKIpvP2ZZFAWRs-DEapBJWrNm10GGZdid-98SmGoifkaDNpCeIcQe3uetDB6w +Adding extra headers to RS256 > Decoded:{"sub":"mr.x@contoso.com","exp":1300819380} +Strict validation(RS256) > {"sub":"mr.x@contoso.com","exp":1300819380} +Verify nested signedXml > True : +sg4j+LFYSzu6ZSzp2Jrh7CxLATJlNH/KTEQlXcfmtM=O9w3gyb4wBR2J6S8FrxipfTJ9EW20HcOxhlX5WLfb8Bc06P3C0zrsh8dBZ6O50deHwjoy7/sKRKHW7l2nzwIOAOWmpq0i23QcgR2D21TdiUtFuym/7bBj0jAWW0hqE6tQEABdjHJ9P+pdeo8HXOK2fcLgzXuiATDlNjg96L6RfE=/Uu/NSxil0ve80n0TGfCJozGkhjeOBkCIdS9ppiTP/g=YtpKhJF2zNXilPLuHEIC15migcidRD4jFMlrIbzeIuK0zkpJiabwhMEDvb1+UT032vHg/Ja5OBAe37fDu8fMBJACQSYXRSx/+x+tB/wCuNMyG6GKzWWiWuiTPj1c7zAl7Wkf04Gy2W1T19JR2G3RbWuqb5ldaVuNeUkIN2WF/eE= diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/.dockerignore b/root/programs/CS/Frameworks/Tests/ExecOnLinux/.dockerignore deleted file mode 100644 index df2e0fe50..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/.dockerignore +++ /dev/null @@ -1,9 +0,0 @@ -.dockerignore -.env -.git -.gitignore -.vs -.vscode -*/bin -*/obj -**/.toolstarget \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux.sln b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux.sln deleted file mode 100644 index ca6a29145..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28010.2016 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExecOnLinux", "ExecOnLinux\ExecOnLinux.csproj", "{9E2D697C-420A-405E-8BD3-5F340AC1C00E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {9E2D697C-420A-405E-8BD3-5F340AC1C00E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9E2D697C-420A-405E-8BD3-5F340AC1C00E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9E2D697C-420A-405E-8BD3-5F340AC1C00E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9E2D697C-420A-405E-8BD3-5F340AC1C00E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {9DB5A7A8-6927-49D0-BDA9-BD0B5FDDB468} - EndGlobalSection -EndGlobal diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Controllers/HomeController.cs b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Controllers/HomeController.cs deleted file mode 100644 index 966511cf8..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Controllers/HomeController.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using Microsoft.AspNetCore.Mvc; - -namespace ExecOnLinux.Controllers -{ - public class HomeController : Controller - { - public IActionResult Index() - { - return View(); - } - - public IActionResult Test() - { - EncAndDecUtilCUI.Program.hogehoge(null); - return View("Index"); - } - } -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Dockerfile b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Dockerfile deleted file mode 100644 index a5ad87865..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM microsoft/aspnetcore:2.0 AS base -WORKDIR /app -EXPOSE 80 - -FROM microsoft/aspnetcore-build:2.0 AS build -WORKDIR /src -COPY ["ExecOnLinux/ExecOnLinux.csproj", "ExecOnLinux/"] -RUN dotnet restore "ExecOnLinux/ExecOnLinux.csproj" -COPY . . -WORKDIR "/src/ExecOnLinux" -RUN dotnet build "ExecOnLinux.csproj" -c Release -o /app - -FROM build AS publish -RUN dotnet publish "ExecOnLinux.csproj" -c Release -o /app - -FROM base AS final -WORKDIR /app -COPY --from=publish /app . -ENTRYPOINT ["dotnet", "ExecOnLinux.dll"] \ No newline at end of file diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/ExecOnLinux.csproj b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/ExecOnLinux.csproj deleted file mode 100644 index 1496e2f5e..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/ExecOnLinux.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - netcoreapp2.0 - Linux - - - - - - - - - - - - - - - - - - - - - - - ..\..\..\Infrastructure\Build_netstd20\netstandard2.0\OpenTouryo.Public.dll - - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - - diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Models/Program.cs b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Models/Program.cs deleted file mode 100644 index dbe67dee5..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Models/Program.cs +++ /dev/null @@ -1,433 +0,0 @@ -using System; -using System.Diagnostics; -using System.Collections.Generic; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; - -// https://www.nuget.org/packages/jose-jwt/ -using Jose; -// https://github.com/dvsekhvalnov/jose-jwt/tree/master/jose-jwt/Security/Cryptography -using Security.Cryptography; - -using Touryo.Infrastructure.Public.Dbg; -using Touryo.Infrastructure.Public.Str; -using Touryo.Infrastructure.Public.Security; - -namespace EncAndDecUtilCUI -{ - /// - /// - jose-jwt - マイクロソフト系技術情報 Wiki - /// https://techinfoofmicrosofttech.osscons.jp/index.php?jose-jwt - /// - Certificates - /// https://github.com/OpenTouryoProject/OpenTouryo/tree/develop/root/files/resource/X509 - /// - class Program - { - public static void hogehoge(string[] args) - { - try - { - #region Variables - - #region Env - - // https://github.com/dotnet/corefx/issues/29404#issuecomment-385287947 - // *.pfxから証明書を開く場合、X509KeyStorageFlags.Exportableの指定が必要な場合がある。 - // Linuxのキーは常にエクスポート可能だが、WindowsやMacOSでは必ずしもそうではない。 - X509KeyStorageFlags x509KSF = 0; - x509KSF = X509KeyStorageFlags.DefaultKeySet; - #endregion - - #region Token - string token = ""; - IDictionary headers = null; - IDictionary payload = null; - payload = new Dictionary() - { - { "sub", "mr.x@contoso.com" }, - { "exp", 1300819380 } - }; - #endregion - - #region Keys - string jwk = ""; - - byte[] secretKey = null; - byte[] x = null; - byte[] y = null; - byte[] d = null; - - string privateX509Path = ""; - string publicX509Path = ""; - X509Certificate2 publicX509Key = null; - X509Certificate2 privateX509Key = null; - - RSA rsa = null; - //DSA dsa = null; - - CngKey publicKeyOfCng = null; - //CngKey privateKeyOfCng = null; - ECParameters eCParameters = new ECParameters(); - #endregion - - #region DigitalSign - byte[] data = CustomEncode.StringToByte("hogehoge", CustomEncode.UTF_8); - byte[] sign = null; - #endregion - - #endregion - - #region Test of the X.509 Certificates - - #region RSA - privateX509Path = @"SHA256RSA.pfx"; - publicX509Path = @"SHA256RSA.cer"; - privateX509Key = new X509Certificate2(privateX509Path, "test", x509KSF); - publicX509Key = new X509Certificate2(publicX509Path, "", x509KSF); - WriteLine.InspectPrivateX509Key("RSA", privateX509Key); - WriteLine.InspectPublicX509Key("RSA", publicX509Key); - #endregion - - #region DSA - // https://github.com/dotnet/corefx/issues/18733#issuecomment-296723615 - privateX509Path = @"SHA256DSA.pfx"; - publicX509Path = @"SHA256DSA.cer"; - privateX509Key = new X509Certificate2(privateX509Path, "test"); - publicX509Key = new X509Certificate2(publicX509Path, ""); - WriteLine.InspectPrivateX509Key("DSA", privateX509Key); - WriteLine.InspectPublicX509Key("DSA", publicX509Key); - DSA privateDSA = privateX509Key.GetDSAPrivateKey(); - WriteLine.OutPutDebugAndConsole("privateDSA", - (privateDSA == null ? "is null" : "is not null")); - //DSA publicDSA = null; // publicX509Key.GetDSAPublicKey(); // Internal.Cryptography.CryptoThrowHelper.WindowsCryptographicException - #endregion - - #region ECDsa - // https://github.com/dotnet/corefx/issues/18733#issuecomment-296723615 - privateX509Path = @"SHA256ECDSA.pfx"; - publicX509Path = @"SHA256ECDSA.cer"; - privateX509Key = new X509Certificate2(privateX509Path, "test"); - publicX509Key = new X509Certificate2(publicX509Path, ""); - WriteLine.InspectPrivateX509Key("ECDsa", privateX509Key); - WriteLine.InspectPublicX509Key("ECDsa", publicX509Key); - - ECDsa privateECDsa = privateX509Key.GetECDsaPrivateKey(); - WriteLine.OutPutDebugAndConsole("privateECDsa", - (privateECDsa == null ? "is null" : "is not null")); - - ECDsa publicECDsa = publicX509Key.GetECDsaPublicKey(); - WriteLine.OutPutDebugAndConsole("publicECDsa", - (publicECDsa == null ? "is null" : "is not null")); - #endregion - - #endregion - - WriteLine.OutPutDebugAndConsole("----------------------------------------------------------------------------------------------------"); - - #region Test of the OpenTouryo.Public.Security. - - DigitalSignParam dsParam = null; - DigitalSignXML dsXML = null; - DigitalSignX509 dsX509 = null; - - #region RSA - dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256); - sign = dsParam.Sign(data); - WriteLine.OutPutDebugAndConsole("DigitalSignParam.Verify(RS256)", - dsParam.Verify(data, sign).ToString()); - - dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.RsaOpenSsl_SHA256); - sign = dsXML.Sign(data); - WriteLine.OutPutDebugAndConsole("DigitalSignXML.Verify(RS256)", - dsXML.Verify(data, sign).ToString()); - - dsX509 = new DigitalSignX509(@"SHA256RSA.pfx", "test", "SHA256"); - sign = dsX509.Sign(data); - WriteLine.OutPutDebugAndConsole("DigitalSignX509.Verify(RSA)", - dsX509.Verify(data, sign).ToString()); - - // 鍵の相互変換 - jwk = RsaPublicKeyConverter.ParamToJwk( - ((RSA)dsX509.AsymmetricAlgorithm).ExportParameters(false)); - - WriteLine.OutPutDebugAndConsole("RSA JWK", jwk); - - dsParam = new DigitalSignParam( - RsaPublicKeyConverter.JwkToParam(jwk), - EnumDigitalSignAlgorithm.RsaCSP_SHA256); - - WriteLine.OutPutDebugAndConsole("DigitalSignX509.Verify(RSA JWK)", - dsParam.Verify(data, sign).ToString()); - #endregion - - #region DSA - dsParam = new DigitalSignParam(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); - sign = dsParam.Sign(data); - WriteLine.OutPutDebugAndConsole( - "DigitalSignParam.Verify(DS1)", - dsParam.Verify(data, sign).ToString()); - - dsXML = new DigitalSignXML(EnumDigitalSignAlgorithm.DsaOpenSsl_SHA1); - sign = dsXML.Sign(data); - WriteLine.OutPutDebugAndConsole( - "DigitalSignXML.Verify(DS1)", - dsXML.Verify(data, sign).ToString()); - - dsX509 = new DigitalSignX509(@"SHA256DSA.pfx", "test", "SHA256"); - sign = dsX509.Sign(data); - WriteLine.OutPutDebugAndConsole( - "DigitalSignX509.Verify(DSA)", - dsX509.Verify(data, sign).ToString()); - #endregion - - #region ECDSA - // .NET Core on Linux - DigitalSignECDsaX509 ecDsX509 = new DigitalSignECDsaX509( - @"SHA256ECDSA.pfx", "test", HashAlgorithmName.SHA256); - - sign = ecDsX509.Sign(data); - WriteLine.OutPutDebugAndConsole( - "DigitalSignX509.Verify(ECDSA)", - ecDsX509.Verify(data, sign).ToString()); - - token = ""; - token = JWT.Encode(payload, ((ECDsa)ecDsX509.AsymmetricAlgorithm), JwsAlgorithm.ES256); - - // 鍵の相互変換 - jwk = EccPublicKeyConverter.ParamToJwk( - ((ECDsa)ecDsX509.AsymmetricAlgorithm).ExportParameters(false)); - - WriteLine.OutPutDebugAndConsole("ECDSA JWK", jwk); - - DigitalSignECDsaOpenSsl ecDsParam = - new DigitalSignECDsaOpenSsl( - EccPublicKeyConverter.JwkToParam(jwk), - HashAlgorithmCmnFunc.GetHashAlgorithmFromNameString(HashNameConst.SHA256)); - - WriteLine.OutPutDebugAndConsole( - "DigitalSignX509.Verify(ECDSA JWK)", - ecDsParam.Verify(data, sign).ToString()); - - Program.VerifyResult("JwsAlgorithm.ES256", token, ecDsParam.AsymmetricAlgorithm); - - #endregion - - #endregion - - WriteLine.OutPutDebugAndConsole("----------------------------------------------------------------------------------------------------"); - - #region Test of the jose-jwt - - #region JWT - - #region Unsecured JWT - // Creating Plaintext (unprotected) Tokens - // https://github.com/dvsekhvalnov/jose-jwt#creating-plaintext-unprotected-tokens - token = ""; - token = JWT.Encode(payload, null, JwsAlgorithm.none); - WriteLine.OutPutDebugAndConsole("JwsAlgorithm.none", token); - #endregion - - #region JWS (Creating signed Tokens) - // https://github.com/dvsekhvalnov/jose-jwt#creating-signed-tokens - - #region HS-* family - // HS256, HS384, HS512 - // https://github.com/dvsekhvalnov/jose-jwt#hs--family - secretKey = new byte[] { 164, 60, 194, 0, 161, 189, 41, 38, 130, 89, 141, 164, 45, 170, 159, 209, 69, 137, 243, 216, 191, 131, 47, 250, 32, 107, 231, 117, 37, 158, 225, 234 }; - token = ""; - token = JWT.Encode(payload, secretKey, JwsAlgorithm.HS256); - Program.VerifyResult("JwsAlgorithm.HS256", token, secretKey); - #endregion - - #region RS-* and PS-* family - // RS256, RS384, RS512 and PS256, PS384, PS512 - // https://github.com/dvsekhvalnov/jose-jwt#rs--and-ps--family - // X509Certificate2 x509Certificate2 = new X509Certificate2(); - - privateX509Path = @"SHA256RSA.pfx"; - publicX509Path = @"SHA256RSA.cer"; - privateX509Key = new X509Certificate2(privateX509Path, "test", x509KSF); - publicX509Key = new X509Certificate2(publicX509Path, "", x509KSF); - - token = ""; - - rsa = (RSA)privateX509Key.PrivateKey; - token = JWT.Encode(payload, rsa, JwsAlgorithm.RS256); - Program.VerifyResult("JwsAlgorithm.RS256", token, rsa); - - #endregion - - #region ES- * family - // ES256, ES384, ES512 ECDSA signatures - // https://github.com/dvsekhvalnov/jose-jwt#es---family - - x = new byte[] { 4, 114, 29, 223, 58, 3, 191, 170, 67, 128, 229, 33, 242, 178, 157, 150, 133, 25, 209, 139, 166, 69, 55, 26, 84, 48, 169, 165, 67, 232, 98, 9 }; - y = new byte[] { 131, 116, 8, 14, 22, 150, 18, 75, 24, 181, 159, 78, 90, 51, 71, 159, 214, 186, 250, 47, 207, 246, 142, 127, 54, 183, 72, 72, 253, 21, 88, 53 }; - d = new byte[] { 42, 148, 231, 48, 225, 196, 166, 201, 23, 190, 229, 199, 20, 39, 226, 70, 209, 148, 29, 70, 125, 14, 174, 66, 9, 198, 80, 251, 95, 107, 98, 206 }; - - eCParameters = new ECParameters(); - - // Curve - eCParameters.Curve = - EccPublicKeyConverter.GetECCurveFromCrvString( - EccPublicKeyConverter.GetCrvStringFromXCoordinate(x)); - - // x, y, d - eCParameters.Q.X = x; - eCParameters.Q.Y = y; - eCParameters.D = d; - ECDsaOpenSsl eCDsaOpenSsl = new ECDsaOpenSsl(eCParameters.Curve); - eCDsaOpenSsl.ImportParameters(eCParameters); - - token = ""; - token = JWT.Encode(payload, eCDsaOpenSsl, JwsAlgorithm.ES256); - Program.VerifyResult("JwsAlgorithm.ES256", token, eCDsaOpenSsl); - - try - { - privateX509Path = @"SHA256ECDSA.pfx"; - publicX509Path = @"SHA256ECDSA.cer"; - privateX509Key = new X509Certificate2(privateX509Path, "test"); - publicX509Key = new X509Certificate2(publicX509Path, ""); - - // ECCurveを分析してみる。 - ECCurve eCCurve = ((ECDsaOpenSsl)privateX509Key.GetECDsaPrivateKey()).ExportExplicitParameters(true).Curve; - WriteLine.OutPutDebugAndConsole("Inspect ECCurve", ObjectInspector.Inspect(eCCurve)); - - token = ""; - token = JWT.Encode(payload, privateX509Key.GetECDsaPrivateKey(), JwsAlgorithm.ES256); - Program.VerifyResult("JwsAlgorithm.ES256", token, publicX509Key.GetECDsaPublicKey()); - } - catch (Exception ex) - { - WriteLine.OutPutDebugAndConsole("JwsAlgorithm.ES256", ex.GetType().ToString() + ", " + ex.Message); - } - - #endregion - - #endregion - - #region JWE (Creating encrypted Tokens) - // https://github.com/dvsekhvalnov/jose-jwt#creating-encrypted-tokens - - #region RSA-* key management family of algorithms - // RSA-OAEP-256, RSA-OAEP and RSA1_5 key - // https://github.com/dvsekhvalnov/jose-jwt#rsa--key-management-family-of-algorithms - - privateX509Path = @"SHA256RSA.pfx"; - publicX509Path = @"SHA256RSA.cer"; - privateX509Key = new X509Certificate2(privateX509Path, "test", x509KSF); - publicX509Key = new X509Certificate2(publicX509Path, "", x509KSF); - - // RSAES-PKCS1-v1_5 and AES_128_CBC_HMAC_SHA_256 - token = ""; - token = JWT.Encode(payload, publicX509Key.PublicKey.Key, JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256); - Program.VerifyResult("JweAlgorithm.RSA1_5, JweEncryption.A128CBC_HS256", token, privateX509Key.PrivateKey); - - // RSAES-OAEP and AES GCM - try - { - token = ""; - token = JWT.Encode(payload, publicX509Key.PublicKey.Key, JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM); - Program.VerifyResult("JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM", token, privateX509Key.PrivateKey); - } - catch (Exception ex) - { - // Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'bcrypt.dll' at ubunntu - WriteLine.OutPutDebugAndConsole("JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM", ex.GetType().ToString() + ", " + ex.Message); - } - #endregion - - #region Other key management family of algorithms - - secretKey = new byte[] { 164, 60, 194, 0, 161, 189, 41, 38, 130, 89, 141, 164, 45, 170, 159, 209, 69, 137, 243, 216, 191, 131, 47, 250, 32, 107, 231, 117, 37, 158, 225, 234 }; - - #region DIR direct pre-shared symmetric key family of algorithms - // https://github.com/dvsekhvalnov/jose-jwt#dir-direct-pre-shared-symmetric-key-family-of-algorithms - token = ""; - token = JWT.Encode(payload, secretKey, JweAlgorithm.DIR, JweEncryption.A128CBC_HS256); - Program.VerifyResult("JweAlgorithm.DIR, JweEncryption.A128CBC_HS256", token, secretKey); - #endregion - - #region AES Key Wrap key management family of algorithms - // AES128KW, AES192KW and AES256KW key management - // https://github.com/dvsekhvalnov/jose-jwt#aes-key-wrap-key-management-family-of-algorithms - token = ""; - token = JWT.Encode(payload, secretKey, JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512); - Program.VerifyResult("JweAlgorithm.A256KW, JweEncryption.A256CBC_HS512", token, secretKey); - #endregion - - #region AES GCM Key Wrap key management family of algorithms - // AES128GCMKW, AES192GCMKW and AES256GCMKW key management - // https://github.com/dvsekhvalnov/jose-jwt#aes-gcm-key-wrap-key-management-family-of-algorithms - try - { - token = ""; - token = JWT.Encode(payload, secretKey, JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512); - Program.VerifyResult("JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512", token, secretKey); - } - catch (Exception ex) - { - // Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'bcrypt.dll' at ubunntu - WriteLine.OutPutDebugAndConsole("JweAlgorithm.A256GCMKW, JweEncryption.A256CBC_HS512", ex.GetType().ToString() + ", " + ex.Message); - } - #endregion - - #region ECDH-ES and ECDH-ES with AES Key Wrap key management family of algorithms - // ECDH-ES and ECDH-ES+A128KW, ECDH-ES+A192KW, ECDH-ES+A256KW key management - // https://github.com/dvsekhvalnov/jose-jwt#ecdh-es-and-ecdh-es-with-aes-key-wrap-key-management-family-of-algorithms - try - { - x = new byte[] { 4, 114, 29, 223, 58, 3, 191, 170, 67, 128, 229, 33, 242, 178, 157, 150, 133, 25, 209, 139, 166, 69, 55, 26, 84, 48, 169, 165, 67, 232, 98, 9 }; - y = new byte[] { 131, 116, 8, 14, 22, 150, 18, 75, 24, 181, 159, 78, 90, 51, 71, 159, 214, 186, 250, 47, 207, 246, 142, 127, 54, 183, 72, 72, 253, 21, 88, 53 }; - publicKeyOfCng = EccKey.New(x, y, usage: CngKeyUsages.KeyAgreement); - token = ""; - token = JWT.Encode(payload, publicKeyOfCng, JweAlgorithm.ECDH_ES, JweEncryption.A256GCM); - Program.VerifyResult("JweAlgorithm.ECDH_ES, JweEncryption.A256GCM", token, publicKeyOfCng); - } - catch (Exception ex) - { - // System.NotImplementedException: 'not yet' - WriteLine.OutPutDebugAndConsole("JweAlgorithm.ECDH_ES, JweEncryption.A256GCM", ex.GetType().ToString() + ", " + ex.Message); - } - #endregion - - #region PBES2 using HMAC SHA with AES Key Wrap key management family of algorithms - token = ""; - token = JWT.Encode(payload, "top secret", JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512); - Program.VerifyResult("JweAlgorithm.PBES2_HS256_A128KW, JweEncryption.A256CBC_HS512", token, "top secret"); - #endregion - - #endregion - - #endregion - - #endregion - - #endregion - } - catch (Exception ex) - { - WriteLine.OutPutDebugAndConsole(ex.ToString()); - } - } - - #region Inspector and Verifier - - /// VerifyResult - /// string - /// string - /// object - private static void VerifyResult(string testLabel, string jwt, object key) - { - WriteLine.OutPutDebugAndConsole(testLabel, "Original:" + jwt); - - WriteLine.JwtInspector(testLabel, jwt); - - WriteLine.OutPutDebugAndConsole(testLabel, "Decoded:" + JWT.Decode(jwt, key)); - } - - #endregion - } -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Program.cs b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Program.cs deleted file mode 100644 index 63b746bf5..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Logging; - -namespace ExecOnLinux -{ - public class Program - { - public static void Main(string[] args) - { - BuildWebHost(args).Run(); - } - - public static IWebHost BuildWebHost(string[] args) => - WebHost.CreateDefaultBuilder(args) - .UseStartup() - .Build(); - } -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Startup.cs b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Startup.cs deleted file mode 100644 index 492f9ff8f..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Startup.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; - -namespace ExecOnLinux -{ - public class Startup - { - public Startup(IConfiguration configuration) - { - Configuration = configuration; - } - - public IConfiguration Configuration { get; } - - // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) - { - services.AddMvc(); - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) - { - if (env.IsDevelopment()) - { - app.UseBrowserLink(); - app.UseDeveloperExceptionPage(); - } - else - { - app.UseExceptionHandler("/Home/Error"); - } - - app.UseStaticFiles(); - - app.UseMvc(routes => - { - routes.MapRoute( - name: "default", - template: "{controller=Home}/{action=Index}/{id?}"); - }); - } - } -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Home/Index.cshtml b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Home/Index.cshtml deleted file mode 100644 index 4c91e5c90..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Home/Index.cshtml +++ /dev/null @@ -1,6 +0,0 @@ -@{ - ViewData["Title"] = "Home Page"; -} -@ViewData["Title"];
-@System.Environment.OSVersion.Platform.ToString();
-Exec the test.
diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Shared/_Layout.cshtml b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Shared/_Layout.cshtml deleted file mode 100644 index f8a8aad9e..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/Shared/_Layout.cshtml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - @ViewData["Title"] - ExecOnLinux - - - @RenderBody() - @RenderSection("Scripts", required: false) - - diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/_ViewStart.cshtml b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/_ViewStart.cshtml deleted file mode 100644 index a5f10045d..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Views/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "_Layout"; -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.Development.json b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.Development.json deleted file mode 100644 index fa8ce71a9..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.Development.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - } -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.json b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.json deleted file mode 100644 index 5fff67bac..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/appsettings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Warning" - } - } -} diff --git a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/copy_cert.bat b/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/copy_cert.bat deleted file mode 100644 index 4b92a329f..000000000 --- a/root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/copy_cert.bat +++ /dev/null @@ -1,6 +0,0 @@ -copy "C:\root\files\resource\X509\SHA256DSA.cer" SHA256DSA.cer -copy "C:\root\files\resource\X509\SHA256DSA.pfx" SHA256DSA.pfx -copy "C:\root\files\resource\X509\SHA256ECDSA.cer" SHA256ECDSA.cer -copy "C:\root\files\resource\X509\SHA256ECDSA.pfx" SHA256ECDSA.pfx -copy "C:\root\files\resource\X509\SHA256RSA.cer" SHA256RSA.cer -copy "C:\root\files\resource\X509\SHA256RSA.pfx" SHA256RSA.pfx diff --git a/root/programs/CS/y_Build_TestCode_SecCUI.sh b/root/programs/CS/y_Build_TestCode_SecCUI.sh index c1b1161c8..55edd1cb3 100644 --- a/root/programs/CS/y_Build_TestCode_SecCUI.sh +++ b/root/programs/CS/y_Build_TestCode_SecCUI.sh @@ -2,7 +2,7 @@ #$ cd /mnt/c/OpenTouryo/root/programs/CS #$ ./y_Build_TestCode_SecCUI.sh -cd /mnt/c/OpenTouryo/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core80 -dotnet publish -c Debug -r ubuntu.16.04-x64 --self-contained -cd bin/Release/net8.0/ubuntu.16.04-x64 -dotnet EncAndDecUtilCUICore.dll > ../../../../../ResultCore80OnLinux.txt \ No newline at end of file +cd /mnt/c/OpenTouryo/root/programs/CS/Frameworks/Tests/EncAndDecUtilCUI/core100 +dotnet publish -c Debug -r linux-x64 --self-contained +cd bin/Debug/net10.0/linux-x64 +dotnet EncAndDecUtilCUICore.dll > ../../../../../ResultCore100OnLinux.txt \ No newline at end of file