GeneralName
Inheritance: Goedel.ASN1.Root
コード例 #1
0
 /// <summary>
 /// Construct from a general name.
 /// </summary>
 /// <param name="GeneralName"></param>
 public SubjectAltName(GeneralName GeneralName) {
     this.Names = new List<GeneralName>();
     this.Names.Add(GeneralName);
     }
コード例 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="Name"></param>
 public void SetSubjectAltName(string Name) {
     GeneralName GeneralName = new GeneralName(Name);
     SubjectAltName SubjectAltName = new SubjectAltName(GeneralName);
     AddExtension(new Extension(SubjectAltName, false));
     }