ComponentSpace SAML Class Library Reference

CertificateContext.FindCertificates Method 

Returns all certificate contexts in the certificate store that match the subject name.

[Visual Basic]
Public Shared Function FindCertificates( _
   ByVal certificateStore As CertificateStore, _
   ByVal subjectName As String _
) As CertificateContext()
[C#]
public static CertificateContext[] FindCertificates(
   CertificateStore certificateStore,
   string subjectName
);

Parameters

certificateStore
The certificate store.
subjectName
The subject name.

Return Value

Exceptions

Exception Type Condition
CertificateContextException Thrown when the certificate contexts cannot be retrieved.

See Also

CertificateContext Class | ComponentSpace.CryptoHelper Namespace