Namespace: Microsoft.Clm.Provision
Assembly: Microsoft.Clm.Provision (in microsoft.clm.provision.dll)
Usage
Visual Basic |
---|
Dim allCertificates As ICollection(Of X509ClmCertificate) Dim filter As CertificatesFilterFlags Dim returnValue As ReadOnlyCollection(Of X509ClmCertificate) returnValue = CertificatesFilter.FindAll(allCertificates, filter) |
Syntax
Visual Basic |
---|
Public Shared Function FindAll ( _ allCertificates As ICollection(Of X509ClmCertificate), _ filter As CertificatesFilterFlags _ ) As ReadOnlyCollection(Of X509ClmCertificate) |
C# |
---|
public static ReadOnlyCollection<X509ClmCertificate> FindAll ( ICollection<X509ClmCertificate> allCertificates, CertificatesFilterFlags filter ) |
C++ |
---|
public: static ReadOnlyCollection<X509ClmCertificate^>^ FindAll ( ICollection<X509ClmCertificate^>^ allCertificates, CertificatesFilterFlags filter ) |
J# |
---|
public static ReadOnlyCollection<X509ClmCertificate> FindAll ( ICollection<X509ClmCertificate> allCertificates, CertificatesFilterFlags filter ) |
JScript |
---|
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.