Table of Contents

Class DerBoolean

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

Constructors

DerBoolean(byte[])

public DerBoolean(byte[] val)

Parameters

val byte[]

Fields

False

public static readonly DerBoolean False

Field Value

DerBoolean

True

public static readonly DerBoolean True

Field Value

DerBoolean

Properties

IsTrue

public bool IsTrue { get; }

Property Value

bool

Methods

Asn1Equals(Asn1Object)

protected override bool Asn1Equals(Asn1Object asn1Object)

Parameters

asn1Object Asn1Object

Returns

bool

Asn1GetHashCode()

protected override int Asn1GetHashCode()

Returns

int

GetInstance(Asn1TaggedObject, bool)

public static DerBoolean GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

DerBoolean

GetInstance(bool)

public static DerBoolean GetInstance(bool value)

Parameters

value bool

Returns

DerBoolean

GetInstance(int)

public static DerBoolean GetInstance(int value)

Parameters

value int

Returns

DerBoolean

GetInstance(object)

public static DerBoolean GetInstance(object obj)

Parameters

obj object

Returns

DerBoolean

GetOptional(Asn1Encodable)

public static DerBoolean GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

DerBoolean

GetTagged(Asn1TaggedObject, bool)

public static DerBoolean GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

DerBoolean

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.