Finds a certificate with a subject that contains a specified string.
A Certificate with a matching subject string -or- a null reference (Nothing in Visual Basic) if no matching certificate could be found in the store.
The string matching algorithm used is case-insensitive.
Exception Type | Condition |
---|---|
ArgumentNullException | subject is a null reference (Nothing in Visual Basic). |
ArgumentException | subject is invalid. |
CertificateStore Class | Org.Mentalis.Security.Certificates Namespace | CertificateStore.FindCertificateBySubjectString Overload List