CertificateStore.FindCertificates Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 7.0.9083)
FindCertificates(CertificateFindType, Byte[], CertificateFindOptions)
Returns all certificates matching the specified criteria.
Declaration
public Certificate[] FindCertificates(CertificateFindType findType, byte[] data, CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
CertificateFindType | findType | Specifies the type of search being made. |
Byte[] | data | A byte array whose meaning is defined by 'findType'. |
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |
FindCertificates(DistinguishedName, CertificateFindOptions)
Returns all certificates issued by the specified issuer (or its subordinate issuer) and corresponding to the specified options.
Declaration
public Certificate[] FindCertificates(DistinguishedName issuer, CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
DistinguishedName | issuer | Issuer DN. |
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |
FindCertificates(DistinguishedName, Byte[], CertificateFindOptions)
Returns all certificates with the specified serial number issued by the specified issuer (or its subordinate issuer) and corresponding to the specified options.
Declaration
public Certificate[] FindCertificates(DistinguishedName issuer, byte[] serialNumber, CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
DistinguishedName | issuer | Issuer DN. |
Byte[] | serialNumber | Certificate serial number. |
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |
FindCertificates(DistinguishedName[], CertificateFindOptions)
Returns all certificates issued by one of specified issuers (or their subordinate issuer) and corresponding to the specified options.
Declaration
public Certificate[] FindCertificates(DistinguishedName[] issuers, CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
DistinguishedName[] | issuers | An array of issuers' DNs. |
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |
FindCertificates(DistinguishedName[], Byte[], CertificateFindOptions)
Returns all certificates issued by one of specified issuers (or their subordinate issuer) and corresponding to the specified options.
Declaration
public Certificate[] FindCertificates(DistinguishedName[] issuers, byte[] serialNumber, CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
DistinguishedName[] | issuers | An array of issuers' DNs. |
Byte[] | serialNumber | Certificate serial number. |
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |
FindCertificates(Certificate, CertificateFindOptions)
Returns all certificates matching the specified certificate and options.
Declaration
public Certificate[] FindCertificates(Certificate certificate, CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
Certificate | certificate | Certificate to find. |
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |
FindCertificates(CertificateFindOptions)
Returns all certificates corresponding to the specified options.
Declaration
public Certificate[] FindCertificates(CertificateFindOptions options)
Parameters
Type | Name | Description |
---|---|---|
CertificateFindOptions | options | Options. |
Returns
Type | Description |
---|---|
Certificate[] | An array of certificates. |