.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

BACK

Chilkat::Csp Class

Supporting class that represents a Cryptographic Service Provider.

This Visual C++ .NET class declaration is temporarily provided until the documentation for this class is complete.

namespace Chilkat {

__gc public class StringArray;

__gc public class Csp
{

public:
	Csp();
	~Csp();

	__property String *get_LastError(void);
	bool SaveLastError(String *filename);

	__property long get_ProviderType();
	__property long get_HashAlgorithmID();
	__property long get_EncryptAlgorithmID();
	__property long get_HashNumBits();
	__property long get_EncryptNumBits();
	__property String *get_HashAlgorithm(void);
	__property String *get_EncryptAlgorithm(void);
	__property long get_NumKeyContainers();
	__property String *get_KeyContainerName(void);
	__property void set_KeyContainerName(String *name);
	__property String *get_ProviderName(void);
	__property void set_ProviderName(String *name);
	__property long get_NumKeyExchangeAlgorithms();
	__property long get_NumSignatureAlgorithms();
	__property long get_NumEncryptAlgorithms();
	__property long get_NumHashAlgorithms();

	bool SetProviderMicrosoftBase();
	bool SetProviderMicrosoftStrong();
	bool SetProviderMicrosoftEnhanced();
	bool SetProviderMicrosoftRsaAes();

	StringArray *GetKeyContainerNames(void);
	long SetHashAlgorithm(String *name);
	bool HasHashAlgorithm(String *name, long numBits);
	long SetEncryptAlgorithm(String *name);
	bool HasEncryptAlgorithm(String *name, long numBits);
	String *GetKeyContainerName(long index);
	long GetSignatureNumBits(long index);
	String *GetSignatureAlgorithm(long index);
	long GetKeyExchangeNumBits(long index);
	String *GetKeyExchangeAlgorithm(long index);
	long GetHashNumBits(long index);
	String *GetHashAlgorithm(long index);
	long GetEncryptionNumBits(long index);
	String *GetEncryptionAlgorithm(long index);
	StringArray *GetServiceProviders();


};

	}

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.