Table of Contents

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

name GeneralName

The name to be contained.

GeneralNames(GeneralName[])

public GeneralNames(GeneralName[] names)

Parameters

names GeneralName[]

Properties

Count

public int Count { get; }

Property Value

int

Methods

FromExtensions(X509Extensions, DerObjectIdentifier)

public static GeneralNames FromExtensions(X509Extensions extensions, DerObjectIdentifier extOid)

Parameters

extensions X509Extensions
extOid DerObjectIdentifier

Returns

GeneralNames

GetInstance(Asn1TaggedObject, bool)

public static GeneralNames GetInstance(Asn1TaggedObject obj, bool explicitly)

Parameters

obj Asn1TaggedObject
explicitly bool

Returns

GeneralNames

GetInstance(object)

public static GeneralNames GetInstance(object obj)

Parameters

obj object

Returns

GeneralNames

GetNames()

public GeneralName[] GetNames()

Returns

GeneralName[]

GetOptional(Asn1Encodable)

public static GeneralNames GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

GeneralNames

GetTagged(Asn1TaggedObject, bool)

public static GeneralNames GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

GeneralNames

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.