methodTsmX509TrustedCertificates.FindServerCert
function FindServerCert(const SignatureAlgorithms: array of ObjectIdentifier; const PKAlgorithms: array of ObjectIdentifier; const KeyUsage: TKeyUsage; const URI: string; const IPAddress: string; const DNSName: string; var StartIndex: Integer; var Cert: iCertificate): Boolean;
Finds the next valid, non-revoked server certificate (filters on the id_kp_serverAuth extended key usage via the FindCert overload) that also matches the requested identity - URI, IP address and/or DNS name checked against the cert's subjectAltName. Use to select a serverAuth cert for a requested host from a MyCertificates store.