Table of Contents

Class X509CertStoreSelector

Namespace
Org.BouncyCastle.X509.Store
Assembly
BouncyCastle.Cryptography.dll
public class X509CertStoreSelector : ISelector<X509Certificate>, ICloneable
Inheritance
X509CertStoreSelector
Implements
Derived
Inherited Members

Constructors

X509CertStoreSelector()

public X509CertStoreSelector()

X509CertStoreSelector(X509CertStoreSelector)

public X509CertStoreSelector(X509CertStoreSelector o)

Parameters

o X509CertStoreSelector

Properties

AuthorityKeyIdentifier

public byte[] AuthorityKeyIdentifier { get; set; }

Property Value

byte[]

Remarks

A DER encoding of an ASN.1 AuthorityKeyIdentifier value.

BasicConstraints

public int BasicConstraints { get; set; }

Property Value

int

Certificate

public X509Certificate Certificate { get; set; }

Property Value

X509Certificate

CertificateValid

public DateTime? CertificateValid { get; set; }

Property Value

DateTime?

ExtendedKeyUsage

public ISet<DerObjectIdentifier> ExtendedKeyUsage { get; set; }

Property Value

ISet<DerObjectIdentifier>

IgnoreX509NameOrdering

public bool IgnoreX509NameOrdering { get; set; }

Property Value

bool

Issuer

public X509Name Issuer { get; set; }

Property Value

X509Name

KeyUsage

public bool[] KeyUsage { get; set; }

Property Value

bool[]

MatchAllSubjectAltNames

public bool MatchAllSubjectAltNames { get; set; }

Property Value

bool

Policy

public ISet<DerObjectIdentifier> Policy { get; set; }

Property Value

ISet<DerObjectIdentifier>

PrivateKeyValid

public DateTime? PrivateKeyValid { get; set; }

Property Value

DateTime?

SerialNumber

public BigInteger SerialNumber { get; set; }

Property Value

BigInteger

Subject

public X509Name Subject { get; set; }

Property Value

X509Name

SubjectAlternativeNames

public ISet<GeneralName> SubjectAlternativeNames { get; set; }

Property Value

ISet<GeneralName>

SubjectKeyIdentifier

public byte[] SubjectKeyIdentifier { get; set; }

Property Value

byte[]

Remarks

A DER encoding of an ASN.1 SubjectKeyIdentifier (OCTET STRING) value.

SubjectPublicKey

public SubjectPublicKeyInfo SubjectPublicKey { get; set; }

Property Value

SubjectPublicKeyInfo

SubjectPublicKeyAlgID

public DerObjectIdentifier SubjectPublicKeyAlgID { get; set; }

Property Value

DerObjectIdentifier

Methods

Clone()

Creates a new object that is a copy of the current instance.

public virtual object Clone()

Returns

object

A new object that is a copy of this instance.

GetHashCodeOfSubjectKeyIdentifier()

protected int GetHashCodeOfSubjectKeyIdentifier()

Returns

int

Match(X509Certificate)

Match the passed in object, returning true if it would be selected by this selector, false otherwise.

public virtual bool Match(X509Certificate c)

Parameters

c X509Certificate

Returns

bool
true
if the objects is matched by this selector, false otherwise.

MatchesIssuer(X509CertStoreSelector)

protected bool MatchesIssuer(X509CertStoreSelector other)

Parameters

other X509CertStoreSelector

Returns

bool

MatchesSerialNumber(X509CertStoreSelector)

protected bool MatchesSerialNumber(X509CertStoreSelector other)

Parameters

other X509CertStoreSelector

Returns

bool

MatchesSubjectKeyIdentifier(X509CertStoreSelector)

protected bool MatchesSubjectKeyIdentifier(X509CertStoreSelector other)

Parameters

other X509CertStoreSelector

Returns

bool