Framework EDI Reference. Methods and Properties
ediSecurityCertificate. CspPublicKeyType

Returns the key pair type of the Cryptographic Service Provider (CSP) key container whose public key is used as the certificate's public key.

Syntax:

Remarks:

The value of this property is valid only if the certificate has been successfully associated with the key container using the UpdateCSP method, or the certificate has been created from the key container.  When the certificate is associated with a key container, the certificate can be used to sign or decrypt because it can use the associated key container's private key.

The only valid key types returned are listed in Key Container Key Pair Type ID Constants.