Table of Contents

Class Asn1RelativeOid

Namespace
Org.BouncyCastle.Asn1
Assembly
BouncyCastle.Cryptography.dll
public class Asn1RelativeOid : Asn1Object, IAsn1Convertible
Inheritance
Asn1RelativeOid
Implements
Inherited Members

Constructors

Asn1RelativeOid(string)

public Asn1RelativeOid(string identifier)

Parameters

identifier string

Properties

Id

[Obsolete("Use 'GetID' instead")]
public string Id { get; }

Property Value

string

Methods

Asn1Equals(Asn1Object)

protected override bool Asn1Equals(Asn1Object asn1Object)

Parameters

asn1Object Asn1Object

Returns

bool

Asn1GetHashCode()

protected override int Asn1GetHashCode()

Returns

int

Branch(string)

public virtual Asn1RelativeOid Branch(string branchID)

Parameters

branchID string

Returns

Asn1RelativeOid

FromContents(byte[])

public static Asn1RelativeOid FromContents(byte[] contents)

Parameters

contents byte[]

Returns

Asn1RelativeOid

GetID()

public string GetID()

Returns

string

GetInstance(Asn1TaggedObject, bool)

public static Asn1RelativeOid GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Asn1RelativeOid

GetInstance(object)

public static Asn1RelativeOid GetInstance(object obj)

Parameters

obj object

Returns

Asn1RelativeOid

GetOptional(Asn1Encodable)

public static Asn1RelativeOid GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

Asn1RelativeOid

GetTagged(Asn1TaggedObject, bool)

public static Asn1RelativeOid GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

Asn1RelativeOid

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

TryFromID(string, out Asn1RelativeOid)

public static bool TryFromID(string identifier, out Asn1RelativeOid oid)

Parameters

identifier string
oid Asn1RelativeOid

Returns

bool