Class X509CertPairStoreSelector
- Namespace
- Org.BouncyCastle.X509.Store
- Assembly
- BouncyCastle.Cryptography.dll
public class X509CertPairStoreSelector : ISelector<X509CertificatePair>, ICloneable
- Inheritance
-
X509CertPairStoreSelector
- Implements
- Inherited Members
Remarks
This class is an
IX509Selector implementation to select
certificate pairs, which are e.g. used for cross certificates. The set of
criteria is given from two X509CertStoreSelector objects,
each of which, if present, must match the respective component of a pair.
Constructors
X509CertPairStoreSelector()
public X509CertPairStoreSelector()
Properties
CertPair
The certificate pair which is used for testing on equality.
public X509CertificatePair CertPair { get; set; }
Property Value
ForwardSelector
The certificate selector for the forward part.
public X509CertStoreSelector ForwardSelector { get; set; }
Property Value
ReverseSelector
The certificate selector for the reverse part.
public X509CertStoreSelector ReverseSelector { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
A new object that is a copy of this instance.
Match(X509CertificatePair)
Decides if the given certificate pair should be selected. If
obj is not a
X509CertificatePair, this method
returns false.
public bool Match(X509CertificatePair pair)
Parameters
pairX509CertificatePairThe
to be tested.X509CertificatePair
Returns
- bool
if the object matches this selector.true