public SubjectAltNameExtension(string[] rfc822, string[] dnsNames, string[] ipAddresses, string[] uris) { _names = new GeneralNames(rfc822, dnsNames, ipAddresses, uris); // 0x04 for string decoding and then the General Names! extnValue = new ASN1(0x04, _names.GetBytes()); extnOid = "2.5.29.17"; // extnCritical = true; }