Framework EDI Reference. Methods and Properties
ediSecurities. GetCertificate

Gets the certificate object of an X.509 certificate from the certificate store.

Syntax:

Set <oCertificate> = object. GetCertificate(<sSubjectName>, <sIssuerName>, <sHexSerialNumber>, [<sServiceProvider>], [<lProviderType>])

Parameters:

Returns

Returns an object of type FREDI.ediSecurityCertificate if the certificate is found; otherwise NULL or an empty object is returned.

Remarks

The search used to locate the certificate depends on whether one or more of the parameters are specified.  The search is undertaken using one of the following combinations: