/*
* CertSystemStore.h
* Copyright (c) 2011 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
// SOL9
// 2009/03/07
#pragma once
#include <sol/crypt/CertStore.h>
#include <sol/crypt/CryptServiceProvider.h>
namespace SOL {
class CertSystemStore :public CertStore {
public:
/**
* Constructor
* @param subSystem "MY", "ADDRESSBOOK","CA", "Root", "Disallowed"
*/
//2009/03/16
CertSystemStore(const TCHAR* subSystem)
:CertStore() {
open(NULL, subSystem);
}
public:
/**
* Constructor
* @param csp A reference to a CSP
* @param subSystem "MY", "ADDRESSBOOK","CA", "Root", "Disallowed"
*/
CertSystemStore(CryptServiceProvider& csp, const TCHAR* subSystem)
:CertStore() {
open(csp.getProviderHandle(), subSystem);
}
public:
/**
* Destructor
*/
~CertSystemStore() {
}
};
}
|