Table of Contents

Class X509Extensions

Namespace
Org.BouncyCastle.Asn1.X509
Assembly
BouncyCastle.Cryptography.dll
public class X509Extensions : Asn1Encodable, IAsn1Convertible
Inheritance
X509Extensions
Implements
Inherited Members

Constructors

X509Extensions(IDictionary<DerObjectIdentifier, X509Extension>)

public X509Extensions(IDictionary<DerObjectIdentifier, X509Extension> extensions)

Parameters

extensions IDictionary<DerObjectIdentifier, X509Extension>

X509Extensions(IList<DerObjectIdentifier>, IDictionary<DerObjectIdentifier, X509Extension>)

public X509Extensions(IList<DerObjectIdentifier> ordering, IDictionary<DerObjectIdentifier, X509Extension> extensions)

Parameters

ordering IList<DerObjectIdentifier>
extensions IDictionary<DerObjectIdentifier, X509Extension>

X509Extensions(IList<DerObjectIdentifier>, IList<X509Extension>)

public X509Extensions(IList<DerObjectIdentifier> oids, IList<X509Extension> values)

Parameters

oids IList<DerObjectIdentifier>
values IList<X509Extension>

Fields

AltSignatureAlgorithm

public static readonly DerObjectIdentifier AltSignatureAlgorithm

Field Value

DerObjectIdentifier

AltSignatureValue

public static readonly DerObjectIdentifier AltSignatureValue

Field Value

DerObjectIdentifier

AuditIdentity

public static readonly DerObjectIdentifier AuditIdentity

Field Value

DerObjectIdentifier

AuthorityInfoAccess

public static readonly DerObjectIdentifier AuthorityInfoAccess

Field Value

DerObjectIdentifier

AuthorityKeyIdentifier

public static readonly DerObjectIdentifier AuthorityKeyIdentifier

Field Value

DerObjectIdentifier

BasicConstraints

public static readonly DerObjectIdentifier BasicConstraints

Field Value

DerObjectIdentifier

BiometricInfo

public static readonly DerObjectIdentifier BiometricInfo

Field Value

DerObjectIdentifier

CertificateIssuer

public static readonly DerObjectIdentifier CertificateIssuer

Field Value

DerObjectIdentifier

CertificatePolicies

public static readonly DerObjectIdentifier CertificatePolicies

Field Value

DerObjectIdentifier

CrlDistributionPoints

public static readonly DerObjectIdentifier CrlDistributionPoints

Field Value

DerObjectIdentifier

CrlNumber

public static readonly DerObjectIdentifier CrlNumber

Field Value

DerObjectIdentifier

DRAFT_DeltaCertificateDescriptor

public static readonly DerObjectIdentifier DRAFT_DeltaCertificateDescriptor

Field Value

DerObjectIdentifier

DeltaCrlIndicator

public static readonly DerObjectIdentifier DeltaCrlIndicator

Field Value

DerObjectIdentifier

ExpiredCertsOnCrl

public static readonly DerObjectIdentifier ExpiredCertsOnCrl

Field Value

DerObjectIdentifier

ExtendedKeyUsage

public static readonly DerObjectIdentifier ExtendedKeyUsage

Field Value

DerObjectIdentifier

FreshestCrl

public static readonly DerObjectIdentifier FreshestCrl

Field Value

DerObjectIdentifier

InhibitAnyPolicy

public static readonly DerObjectIdentifier InhibitAnyPolicy

Field Value

DerObjectIdentifier

InstructionCode

public static readonly DerObjectIdentifier InstructionCode

Field Value

DerObjectIdentifier

InvalidityDate

public static readonly DerObjectIdentifier InvalidityDate

Field Value

DerObjectIdentifier

IssuerAlternativeName

public static readonly DerObjectIdentifier IssuerAlternativeName

Field Value

DerObjectIdentifier

IssuingDistributionPoint

public static readonly DerObjectIdentifier IssuingDistributionPoint

Field Value

DerObjectIdentifier

KeyUsage

public static readonly DerObjectIdentifier KeyUsage

Field Value

DerObjectIdentifier

LogoType

public static readonly DerObjectIdentifier LogoType

Field Value

DerObjectIdentifier

NameConstraints

public static readonly DerObjectIdentifier NameConstraints

Field Value

DerObjectIdentifier

NoRevAvail

public static readonly DerObjectIdentifier NoRevAvail

Field Value

DerObjectIdentifier

PolicyConstraints

public static readonly DerObjectIdentifier PolicyConstraints

Field Value

DerObjectIdentifier

PolicyMappings

public static readonly DerObjectIdentifier PolicyMappings

Field Value

DerObjectIdentifier

PrivateKeyUsagePeriod

public static readonly DerObjectIdentifier PrivateKeyUsagePeriod

Field Value

DerObjectIdentifier

QCStatements

public static readonly DerObjectIdentifier QCStatements

Field Value

DerObjectIdentifier

ReasonCode

public static readonly DerObjectIdentifier ReasonCode

Field Value

DerObjectIdentifier

SubjectAltPublicKeyInfo

public static readonly DerObjectIdentifier SubjectAltPublicKeyInfo

Field Value

DerObjectIdentifier

SubjectAlternativeName

public static readonly DerObjectIdentifier SubjectAlternativeName

Field Value

DerObjectIdentifier

SubjectDirectoryAttributes

public static readonly DerObjectIdentifier SubjectDirectoryAttributes

Field Value

DerObjectIdentifier

SubjectInfoAccess

public static readonly DerObjectIdentifier SubjectInfoAccess

Field Value

DerObjectIdentifier

SubjectKeyIdentifier

public static readonly DerObjectIdentifier SubjectKeyIdentifier

Field Value

DerObjectIdentifier

TargetInformation

public static readonly DerObjectIdentifier TargetInformation

Field Value

DerObjectIdentifier

Properties

Count

public int Count { get; }

Property Value

int

ExtensionOids

public IEnumerable<DerObjectIdentifier> ExtensionOids { get; }

Property Value

IEnumerable<DerObjectIdentifier>

Methods

Equivalent(X509Extensions)

public bool Equivalent(X509Extensions other)

Parameters

other X509Extensions

Returns

bool

GetCriticalExtensionOids()

public DerObjectIdentifier[] GetCriticalExtensionOids()

Returns

DerObjectIdentifier[]

GetExtension(DerObjectIdentifier)

public X509Extension GetExtension(DerObjectIdentifier oid)

Parameters

oid DerObjectIdentifier

Returns

X509Extension

GetExtension(X509Extensions, DerObjectIdentifier)

public static X509Extension GetExtension(X509Extensions extensions, DerObjectIdentifier oid)

Parameters

extensions X509Extensions
oid DerObjectIdentifier

Returns

X509Extension

GetExtensionOids()

public DerObjectIdentifier[] GetExtensionOids()

Returns

DerObjectIdentifier[]

GetExtensionParsedValue(DerObjectIdentifier)

public Asn1Object GetExtensionParsedValue(DerObjectIdentifier oid)

Parameters

oid DerObjectIdentifier

Returns

Asn1Object

GetExtensionParsedValue(X509Extensions, DerObjectIdentifier)

public static Asn1Object GetExtensionParsedValue(X509Extensions extensions, DerObjectIdentifier oid)

Parameters

extensions X509Extensions
oid DerObjectIdentifier

Returns

Asn1Object

GetExtensionValue(DerObjectIdentifier)

public Asn1OctetString GetExtensionValue(DerObjectIdentifier oid)

Parameters

oid DerObjectIdentifier

Returns

Asn1OctetString

GetExtensionValue(X509Extensions, DerObjectIdentifier)

public static Asn1OctetString GetExtensionValue(X509Extensions extensions, DerObjectIdentifier oid)

Parameters

extensions X509Extensions
oid DerObjectIdentifier

Returns

Asn1OctetString

GetInstance(Asn1TaggedObject, bool)

public static X509Extensions GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

X509Extensions

GetInstance(object)

public static X509Extensions GetInstance(object obj)

Parameters

obj object

Returns

X509Extensions

GetNonCriticalExtensionOids()

public DerObjectIdentifier[] GetNonCriticalExtensionOids()

Returns

DerObjectIdentifier[]

GetOptional(Asn1Encodable)

public static X509Extensions GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

X509Extensions

GetTagged(Asn1TaggedObject, bool)

public static X509Extensions GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

X509Extensions

HasAnyCriticalExtensions()

public bool HasAnyCriticalExtensions()

Returns

bool

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object