Framework EDI Reference. Methods and Properties
ediSecurityCertificate. DetermineCSP

Attempts to associate the certificate to a Cryptographic Service Provider (CSP) key container.

Syntax:

Returns:

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

Remarks:

DetermineCSP attempts to associate the certificate to a key container by matching the certificate's public key to a key container.  When a match is found, the certificate is associated with a key container and subsequently to the private key, which can then be used to digitally sign or decrypt documents.

 NOTE: Because this routine requires traversing through key containers, the process may take long to accomplish.

 Requires Windows NT 4.0 SP3 or later.