Framework EDI Reference. Methods and Properties
ediSecurities. RemoveCertificate

Removes an X.509 certificate from the certificate store.

Syntax

<lRetval> = object. RemoveCertificate(<sSubjectName>, <sIssuerName>, <sHexSerialNumber>, [<sServiceProvider>], [<lProviderType>])

Parameters

Returns

Returns 1 if the task was successful. Otherwise it returns 0.

Remarks

The search used to locate the certificate depends upon one or more of the parameters specified.  The more parameters are specified, the more specific the certificate being removed.

Note: The certificate is only removed from the certificate store but the certificate itself is not physically deleted from the system.