Framework EDI Reference. Methods and Properties
ediSecurityCertificate. RemoveCSP

Removes the Cryptographic Service Provider (CSP) key container association from the certificate.

Syntax:

Returns:

Returns 1 if the operation is successful; otherwise the operation returns zero.

Remarks:

The CSP key container association provides the private key required for decrypting and signing operation.  Removing the association prevents the certificate from performing these operations since the certificate itself does not hold the private key.

To associate a certificate to a CSP key container user the methods UpdateCSP or DetermineCSP.