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
criticalDerBooleanvalueAsn1OctetString
X509Extension(bool, Asn1OctetString)
public X509Extension(bool critical, Asn1OctetString value)
Parameters
criticalboolvalueAsn1OctetString
Properties
IsCritical
public bool IsCritical { get; }
Property Value
Value
public Asn1OctetString Value { get; }
Property Value
Methods
ConvertValueToObject(X509Extension)
public static Asn1Object ConvertValueToObject(X509Extension ext)
Parameters
extX509ExtensionThe 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
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetParsedValue()
public Asn1Object GetParsedValue()