CertificatesFilter.FindAll Method
Filters the supplied collection of certificates based on the supplied filter flags.
Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in Microsoft.Clm.Provision.dll)
Usage
'Usage
Dim allCertificates As ICollection(Of X509ClmCertificate)
Dim filter As CertificatesFilterFlags
Dim returnValue As ReadOnlyCollection(Of X509ClmCertificate)
returnValue = CertificatesFilter.FindAll(allCertificates, filter)
Syntax
'Declaration
Public Shared Function FindAll ( _
allCertificates As ICollection(Of X509ClmCertificate), _
filter As CertificatesFilterFlags _
) As ReadOnlyCollection(Of X509ClmCertificate)
public static ReadOnlyCollection<X509ClmCertificate> FindAll (
ICollection<X509ClmCertificate> allCertificates,
CertificatesFilterFlags filter
)
public:
static ReadOnlyCollection<X509ClmCertificate^>^ FindAll (
ICollection<X509ClmCertificate^>^ allCertificates,
CertificatesFilterFlags filter
)
public static ReadOnlyCollection<X509ClmCertificate> FindAll (
ICollection<X509ClmCertificate> allCertificates,
CertificatesFilterFlags filter
)
public static function FindAll (
allCertificates : ICollection<X509ClmCertificate>,
filter : CertificatesFilterFlags
) : ReadOnlyCollection<X509ClmCertificate>
Parameters
- allCertificates
A collection of X509ClmCertificate objects to which the filter will be applied.
- filter
A combination of CertificatesFilterFlags values joined with a bitwise OR operation.
Return Value
A collection of X509ClmCertificate objects that match the supplied filter flags.
Remarks
This method is a helper method that is used to help in deciding which certificates have to be generated for a given operation. The method also helps determine which certificates have to be retrieved from the server. Typically, the certificates supplied to this call would be obtained by calling the FindCertificates method.
Multiple CertificatesFilterFlags values can be combined with a bit-wise OR operator to indicate multiple filters. The resulting collection will include only the certificates that match all the specified filters.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 2008 x64 Edition
Target Platforms
Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008, Windows Server 2008 R2
See Also
Reference
CertificatesFilter Class
CertificatesFilter Members
Microsoft.Clm.Provision Namespace
X509ClmCertificate
CertificatesFilterFlags
FindCertificates