Class GeneralName
- Namespace
- Enterprises.Org.BouncyCastle.Asn1.X509
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class GeneralName : Asn1Encodable, IAsn1Convertible, IAsn1Choice
- Inheritance
-
GeneralName
- Implements
-
- Inherited Members
-
Constructors
GeneralName(Asn1Object, int)
public GeneralName(Asn1Object name, int tag)
Parameters
name
Asn1Object
tag
int
GeneralName(X509Name)
public GeneralName(X509Name directoryName)
Parameters
directoryName
X509Name
GeneralName(int, Asn1Encodable)
public GeneralName(int tag, Asn1Encodable name)
Parameters
tag
int
name
Asn1Encodable
GeneralName(int, string)
public GeneralName(int tag, string name)
Parameters
tag
int
name
string
Fields
DirectoryName
public const int DirectoryName = 4
Field Value
- int
DnsName
public const int DnsName = 2
Field Value
- int
EdiPartyName
public const int EdiPartyName = 5
Field Value
- int
IPAddress
public const int IPAddress = 7
Field Value
- int
OtherName
public const int OtherName = 0
Field Value
- int
RegisteredID
public const int RegisteredID = 8
Field Value
- int
Rfc822Name
public const int Rfc822Name = 1
Field Value
- int
public const int UniformResourceIdentifier = 6
Field Value
- int
X400Address
public const int X400Address = 3
Field Value
- int
Properties
Name
public Asn1Encodable Name { get; }
Property Value
- Asn1Encodable
TagNo
public int TagNo { get; }
Property Value
- int
Methods
GetInstance(Asn1TaggedObject, bool)
public static GeneralName GetInstance(Asn1TaggedObject tagObj, bool explicitly)
Parameters
tagObj
Asn1TaggedObject
explicitly
bool
Returns
- GeneralName
GetInstance(object)
public static GeneralName GetInstance(object obj)
Parameters
obj
object
Returns
- GeneralName
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
- Asn1Object
ToString()
public override string ToString()
Returns
- string