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

BACK

Chilkat::CertStore Class

Class representing a digital certificate store. The certificate store can be physically located in the registry, the filesystem, or in memory.

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


  
namespace Chilkat {
	
__gc public class Cert;

__gc public class CertStore
{
public:

	CertStore();
	~CertStore();

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

	Cert *FindCertBySerial(String *serialNumber);
	Cert *FindCertBySubjectE(String *emailAddress);
	Cert *FindCertBySubjectO(String *organization);
	Cert *FindCertBySubjectCN(String *commonName);
	Cert *FindCertBySubject(String *subject);
	Cert *FindCertForEmail(String *emailAddress);

	Cert *GetEmailCert(long index);
	Cert *GetCertificate(long index);

	bool RemoveCertificate(Cert *cert);
	bool AddCertificate(Cert *cert);

	__property long get_NumEmailCerts(void);
	__property long get_NumCertificates(void);
	__property String *get_Version(void);

};

	}

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