Table of Contents

Class Rdn

Namespace
Org.BouncyCastle.Asn1.X500
Assembly
BouncyCastle.Cryptography.dll

Holding class for a single Relative Distinguished Name (RDN).

public class Rdn : Asn1Encodable, IAsn1Convertible
Inheritance
Rdn
Implements
Inherited Members

Constructors

Rdn(DerObjectIdentifier, Asn1Encodable)

public Rdn(DerObjectIdentifier oid, Asn1Encodable value)

Parameters

oid DerObjectIdentifier
value Asn1Encodable

Rdn(AttributeTypeAndValue)

public Rdn(AttributeTypeAndValue attrTAndV)

Parameters

attrTAndV AttributeTypeAndValue

Rdn(AttributeTypeAndValue[])

public Rdn(AttributeTypeAndValue[] aAndVs)

Parameters

aAndVs AttributeTypeAndValue[]

Properties

Count

public virtual int Count { get; }

Property Value

int

IsMultiValued

public virtual bool IsMultiValued { get; }

Property Value

bool

Methods

GetFirst()

public virtual AttributeTypeAndValue GetFirst()

Returns

AttributeTypeAndValue

GetInstance(Asn1TaggedObject, bool)

public static Rdn GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Rdn

GetInstance(object)

public static Rdn GetInstance(object obj)

Parameters

obj object

Returns

Rdn

GetTagged(Asn1TaggedObject, bool)

public static Rdn GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Rdn

GetTypesAndValues()

public virtual AttributeTypeAndValue[] GetTypesAndValues()

Returns

AttributeTypeAndValue[]

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object