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
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
Certificate
public X509Certificate Certificate { get; set; }
Property Value
CertificateValid
public DateTime? CertificateValid { get; set; }
Property Value
ExtendedKeyUsage
public ISet<DerObjectIdentifier> ExtendedKeyUsage { get; set; }
Property Value
IgnoreX509NameOrdering
public bool IgnoreX509NameOrdering { get; set; }
Property Value
Issuer
public X509Name Issuer { get; set; }
Property Value
KeyUsage
public bool[] KeyUsage { get; set; }
Property Value
- bool[]
MatchAllSubjectAltNames
public bool MatchAllSubjectAltNames { get; set; }
Property Value
Policy
public ISet<DerObjectIdentifier> Policy { get; set; }
Property Value
PrivateKeyValid
public DateTime? PrivateKeyValid { get; set; }
Property Value
SerialNumber
public BigInteger SerialNumber { get; set; }
Property Value
Subject
public X509Name Subject { get; set; }
Property Value
SubjectAlternativeNames
public ISet<GeneralName> SubjectAlternativeNames { get; set; }
Property Value
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
SubjectPublicKeyAlgID
public DerObjectIdentifier SubjectPublicKeyAlgID { get; set; }
Property Value
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
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
Returns
- bool
if the objects is matched by this selector, false otherwise.true
MatchesIssuer(X509CertStoreSelector)
protected bool MatchesIssuer(X509CertStoreSelector other)
Parameters
otherX509CertStoreSelector
Returns
MatchesSerialNumber(X509CertStoreSelector)
protected bool MatchesSerialNumber(X509CertStoreSelector other)
Parameters
otherX509CertStoreSelector
Returns
MatchesSubjectKeyIdentifier(X509CertStoreSelector)
protected bool MatchesSubjectKeyIdentifier(X509CertStoreSelector other)
Parameters
otherX509CertStoreSelector