<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.0" />

Org.BouncyCastle.Asn1.X509.GeneralName

namespace Org.BouncyCastle.Asn1.X509 { public class GeneralName : Asn1Encodable, IAsn1Choice { public const int OtherName = 0; public const int Rfc822Name = 1; public const int DnsName = 2; public const int X400Address = 3; public const int DirectoryName = 4; public const int EdiPartyName = 5; public const int UniformResourceIdentifier = 6; public const int IPAddress = 7; public const int RegisteredID = 8; public int TagNo { get; } public Asn1Encodable Name { get; } public static GeneralName GetInstance(object obj); public static GeneralName GetInstance(Asn1TaggedObject tagObj, bool explicitly); public static GeneralName GetOptional(Asn1Encodable element); public static GeneralName GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit); public GeneralName(X509Name directoryName); public GeneralName(Asn1Object name, int tag); public GeneralName(int tag, Asn1Encodable name); public GeneralName(int tag, string name); } }