Guest Marcio Hübner Posted November 16, 2024 Posted November 16, 2024 //code for testing using System; using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography; using System.Text; public class Program { public static void Main() { string password = "F@dr4PaeE#2a"; byte[] certData; StringBuilder dn = new StringBuilder(); dn.Append("CN=64d9f3dd-23ba-0101-a802-a4893a4b9695,O=TESTE,OU=Gene,L=Realeza,S=PR,C=BR"); X500DistinguishedName d = new X500DistinguishedName(dn.ToString()); using (RSA a = RSA.Create(2048)) { CertificateRequest r3 = new CertificateRequest(d, a, HashAlgorithmName.SHA512, RSAS Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.