SOL9 2.0 Class: CertSystemStore

 SOL9 C++ Class Library  SOL9 Samples  SOL9 Tutorial  SOL9 FAQ  SOL9 ClassTree 

Source code

/*
 * 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() {
    }

};

}

Last modified: 1 Feb 2012

Copyright (c) 2009-2012 Antillia.com ALL RIGHTS RESERVED.