function FindCertificate(const CertName: string): TScCertificate;

 

Description

Call FindCertificate to determine if a specified certificate appears in the Certificates list. CertName is the name of the certificate for which to search. If FindCertificate finds a certificate with a matching name, it returns the TScCertificate object for the specified certificate. Otherwise it returns nil.

 

Note:

FindCertificate differs from the CertificateByName method only when the named certificate is not in the list. When the certificate is not found, FindCertificate returns nil, while CertificateByName raises an exception.

 

See also

CertificateByName

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support