Goedel.Cryptography.PKIX.GeneralName.GeneralName C# (CSharp) Method

GeneralName() public method

Construct from the specified string.
public GeneralName ( string Name ) : System
Name string The name to use. the type is inferred from the /// syntax.
return System
        public GeneralName(string Name) {
            if (Name.IndexOf('@') < 0) {
                this.DNSName = Name;
                }
            else {
                this.RFC822Name = Name;
                }
            }
        }