ReadX509CertificateFromPem
ReadX509CertificateFromPem copied to clipboard
SHA256 problem
It's better to replace the line builder.SealWithMac("temp", HashAlgorithmName.SHA256, 1);
with builder.SealWithMac("temp", HashAlgorithmName.SHA1, 1);
SHA256 is only understood by Windows 10 builds above 1703, or Windows Server 2019, as well as newer operating systems.