ResourceUtils.h
Go to the documentation of this file.00001
00010 #ifndef __ResourceUtils_H__
00011 #define __ResourceUtils_H__
00012
00013 #include "pkif.h"
00014 #include "wx/wxprec.h"
00015
00016
00017 #ifndef WX_PRECOMP
00018 #include "wx/wx.h"
00019 #endif
00020
00021 CPKIFCRLPtr GetCrl(wxString& filename);
00022 CPKIFCertificatePtr GetCert(wxString& filename);
00023 bool ValidateOID(const wxString& attrVal);
00024 bool ValidateOIDComponents(const wxString& attrVal);
00025
00026
00027 const wxString& GetBufferAsAscii(const CPKIFBufferPtr& in, wxString& out);
00028 CPKIFBufferPtr GetBufferFromAscii(wxString& in);
00029 CPKIFCredentialPtr GetCredential(IPKIFMediatorPtr& m, wxString& wxCredBuf);
00030
00031
00032 void StringSplit(const std::string & text, std::string & separators, std::vector<std::string> & words);
00033
00034 #endif