Framework EDI Reference. Methods and Properties | |
ediSecurityCertificateStore. RemoveCertificateAndKeyContainer |
Removes the certificate and its associated public/private key container from the certificate store.
Syntax:
- <lRetVal> = object.RemoveCertificateAndKeyContainer(<sSubjectName>, <sIssuerName>, <sHexSerialNumber>)
Parameters:
- sSubjectName – Subject name of certificate to export.
- sIssuerName – Issuer name of certificate.
- sHexSerialNumber – Serial number of the certificate in hexadecimal notation.
Returns:
Returns 1 if the operation is successful; otherwise returns 0 if the operation fails.
Remarks:
The sSubjectName, sIssuerName and sHexSerialNumber are used to search for the certificate in the certificate store. See Locating a Digital Certificate.
Note: The certificate is only removed from the certificate store but the certificate file is not physically deleted from the system