Class GeneralNames
- Namespace
- Org.BouncyCastle.Asn1.X509
- Assembly
- BouncyCastle.Cryptography.dll
public class GeneralNames : Asn1Encodable, IAsn1Convertible
- Inheritance
-
GeneralNames
- Implements
- Inherited Members
Constructors
GeneralNames(GeneralName)
Construct a GeneralNames object containing one GeneralName.
public GeneralNames(GeneralName name)
Parameters
nameGeneralNameThe name to be contained.
GeneralNames(GeneralName[])
public GeneralNames(GeneralName[] names)
Parameters
namesGeneralName[]
Properties
Count
public int Count { get; }
Property Value
Methods
FromExtensions(X509Extensions, DerObjectIdentifier)
public static GeneralNames FromExtensions(X509Extensions extensions, DerObjectIdentifier extOid)
Parameters
extensionsX509ExtensionsextOidDerObjectIdentifier
Returns
GetInstance(Asn1TaggedObject, bool)
public static GeneralNames GetInstance(Asn1TaggedObject obj, bool explicitly)
Parameters
objAsn1TaggedObjectexplicitlybool
Returns
GetInstance(object)
public static GeneralNames GetInstance(object obj)
Parameters
objobject
Returns
GetNames()
public GeneralName[] GetNames()
Returns
GetOptional(Asn1Encodable)
public static GeneralNames GetOptional(Asn1Encodable element)
Parameters
elementAsn1Encodable
Returns
GetTagged(Asn1TaggedObject, bool)
public static GeneralNames GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObjectAsn1TaggedObjectdeclaredExplicitbool
Returns
ToAsn1Object()
public override Asn1Object ToAsn1Object()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.