Table of Contents

Class X509Extension

Namespace
Org.BouncyCastle.Asn1.X509
Assembly
BouncyCastle.Cryptography.dll
public class X509Extension
Inheritance
X509Extension
Inherited Members

Constructors

X509Extension(DerBoolean, Asn1OctetString)

public X509Extension(DerBoolean critical, Asn1OctetString value)

Parameters

critical DerBoolean
value Asn1OctetString

X509Extension(bool, Asn1OctetString)

public X509Extension(bool critical, Asn1OctetString value)

Parameters

critical bool
value Asn1OctetString

Properties

IsCritical

public bool IsCritical { get; }

Property Value

bool

Value

public Asn1OctetString Value { get; }

Property Value

Asn1OctetString

Methods

ConvertValueToObject(X509Extension)

public static Asn1Object ConvertValueToObject(X509Extension ext)

Parameters

ext X509Extension

The extension to parse.

Returns

Asn1Object

The object the value string contains.

Exceptions

ArgumentException

If conversion is not possible.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetParsedValue()

public Asn1Object GetParsedValue()

Returns

Asn1Object