コード例 #1
0
 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;
 }
コード例 #2
0
		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;
		}
コード例 #3
0
 public SubjectAltNameExtension(string[] rfc822, string[] dnsNames, string[] ipAddresses, string[] uris)
 {
     _names    = new GeneralNames(rfc822, dnsNames, ipAddresses, uris);
     extnValue = new ASN1(4, _names.GetBytes());
     extnOid   = "2.5.29.17";
 }